The following comment has been added to this issue:

     Author: Brian Minchau
    Created: Tue, 7 Sep 2004 10:13 AM
       Body:
The patch for this issue is now applied to Apache CVS.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XALANJ-1815?page=comments#action_52930

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XALANJ-1815

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XALANJ-1815
    Summary: Xalan interpretive doesn't produce ContentHandler.startDocument before 
and LexicalHandler.startComment when stylesheet is written to produce a comment before 
root element
       Type: Bug

     Status: Resolved
 Resolution: FIXED

    Project: XalanJ2
 Components: 
             Serialization
   Versions:
             CurrentCVS

   Assignee: Brian Minchau
   Reporter: Ramesh Mandava

    Created: Mon, 8 Mar 2004 7:18 PM
    Updated: Tue, 7 Sep 2004 10:13 AM
Environment: Operating System: Other
Platform: All

Description:
Apparently, when the stylesheet is written to produce a comment before the root 
element, Xalan interpretive fires off a LexicalHandler.comment callback before
it calls the  ContentHandler.startDocument callback.

 This is in violation of the SAX contract. The bug is found by 
 Kohsuke ( [EMAIL PROTECTED] ) 

See the attachment for the test case.  Run it as:
"java XSLT test.xsl test.xsl"

 ( You have to extract the attached XSLT.tar and then put bin
   directory in CLASSPATH )

Regards
-Ramesh


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to