[Expat-bugs] [ expat-Bugs-1156398 ] XML_UseForeignDTD forces
incorrect WF checking
SourceForge.net
noreply at sourceforge.net
Fri Mar 4 03:19:53 CET 2005
Bugs item #1156398, was opened at 2005-03-03 21:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1156398&group_id=10127
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Karl Waclawek (kwaclaw)
Assigned to: Karl Waclawek (kwaclaw)
Summary: XML_UseForeignDTD forces incorrect WF checking
Initial Comment:
When Expat calls the externalEntityRefHandler within
the prolog,
then it concludes that there must be an external
subset, as there
was an external identifier encountered.
This information influences how the WFC: Entity Declared
is checked.
However, when Expat calls the externalEntityRefHandler
in order
to allow the application to supply an external subset
when there
was none, then Expat should not make this assumption unless
an actual subset has been processed, as indicated by the
dtd->paramEntityRead flag.
The attached patch fixes this.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1156398&group_id=10127
More information about the Expat-bugs
mailing list