[ 
http://nagoya.apache.org/jira/browse/XALANJ-1815?page=comments#action_55405 ]
     
Henry Zongaro commented on XALANJ-1815:
---------------------------------------

I have reviewed Brian's patch, and it looks correct to me.

> 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://nagoya.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
>  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://nagoya.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