DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5305>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5305

Incremental parsing hard-coded to 'on' in command-line tool

           Summary: Incremental parsing hard-coded to 'on' in command-line
                    tool
           Product: XalanJ2
           Version: CurrentCVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The default setting for incremental parsing in the Xalan core transformation
engine is 'off'. The current version of the org.apache.xalan.xslt.Process
command line tool forces this setting to 'on', and there is not way of turning
it off. Note that this is only the case when using sax-to-sax or
stream-to-stream transforms (dom-to-dom works). This is a problem when using
Xalan-2.2.D14 with the latest Xerces2 beta3, as there seems to be a problem
with incremental parsing (see bug 5272). A simple fix for this bug is to remove
the line that hard-codes the incremental parsing setting:


RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xslt/Process.java,v
retrieving revision 1.44
diff -r1.44 Process.java
631,633d630
<           tfactory.setAttribute(
<          
org.apache.xalan.processor.TransformerFactoryImpl.FEATURE_INCREMENTAL
<            , Boolean.TRUE);

Reply via email to