This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 171531 - Simple transformation takes forever to finish
Summary: Simple transformation takes forever to finish
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: XSL (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-04 22:12 UTC by Jun Qian
Modified: 2013-04-16 19:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
input xml file (people.xml) (670 bytes, text/plain)
2009-09-04 22:13 UTC, Jun Qian
Details
stylesheet (685 bytes, text/plain)
2009-09-04 22:14 UTC, Jun Qian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jun Qian 2009-09-04 22:12:49 UTC
1. Open the attached people.xml file via (File->Open File)
2. Click the "XSL Transformation..." button in the XML editor's toolbar
3. Select the stylesheet myexample.xsl. Set output to a local file name. set Process output to "do nothing".
4. Click OK.

The output window shows:

Starting file:/C:/TEMP/4343_wsxslt/wsxslt/samples/people.xml by file:/C:/TEMP/4343_wsxslt/wsxslt/samples/example0.xsl
transformation...
Using com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl - default JRE XSLT processor.
Transformation finished.

Note that the last line "Transformation finished" takes about two minutes to show up.
Comment 1 Jun Qian 2009-09-04 22:13:48 UTC
Created attachment 87146 [details]
input xml file (people.xml)
Comment 2 Jun Qian 2009-09-04 22:14:17 UTC
Created attachment 87147 [details]
stylesheet
Comment 3 Jun Qian 2009-09-04 22:24:48 UTC
Also, opening up the output file in NetBeans sometimes freezes NetBeans. It seems the output file is not closed properly
after the transformation.
Comment 4 Jun Qian 2009-09-04 23:24:04 UTC
It seems the transformation is slow only if the input xml file doesn't belong to any NetBeans project.

Downgrade to P3.
Comment 5 Sergey Lunegov 2009-09-07 08:52:21 UTC
Vitaly, please take a look.