[ http://issues.apache.org/jira/browse/XALANJ-1815?page=all ]

Brian Minchau updated XALANJ-1815:
----------------------------------

    Fix Version: 2.7

> Xalan interpretive doesn't produce ContentHandler.startDocument before and 
> LexicalHandler.startComment when stylesheet is written to produce a comment 
> before root element
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: XALANJ-1815
>          URL: http://issues.apache.org/jira/browse/XALANJ-1815
>      Project: XalanJ2
>         Type: Bug
>   Components: Serialization
>     Versions: CurrentCVS
>  Environment: Operating System: Other
> Platform: All
>     Reporter: Ramesh Mandava
>     Assignee: Brian Minchau
>      Fix For: 2.7
>  Attachments: XSLT.tar, apache.bugzilla.27522.serializer.patch.txt
>
> 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

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to