[ http://issues.apache.org/jira/browse/XALANJ-1511?page=all ]
Brian Minchau updated XALANJ-1511:
----------------------------------
Version: 2.5Dx
(was: Latest Development Code)
> comments from external DTD are serialized while they should not be
> ------------------------------------------------------------------
>
> Key: XALANJ-1511
> URL: http://issues.apache.org/jira/browse/XALANJ-1511
> Project: XalanJ2
> Type: Bug
> Components: Serialization
> Versions: 2.5Dx
> Environment: Operating System: Other
> Platform: Other
> Reporter: Bruno Dumon
> Assignee: Xalan Developers Mailing List
> Attachments: tostreamfix.txt
>
> Comments occuring in an external DTD are serialized, while they should not.
> The javadoc for the comment() event says:
> This callback will be used for comments inside or outside the document
> element,
> including comments in the external DTD subset (if read).
> so it's normal for comments from the external DTD to be reported by the
> parser.
> It can be fixed by doing the same check as for DeclHandler events:
> if (m_inExternalDTD)
> return;
> I'll attach a patch for this.
--
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]