[Expat-bugs] [ expat-Bugs-616863 ] Default xmlns=... in external
subset
noreply@sourceforge.net
noreply@sourceforge.net
Thu Nov 7 23:02:44 2002
Bugs item #616863, was opened at 2002-09-30 23:37
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=616863&group_id=10127
Category: None
Group: Test Required
>Status: Closed
Resolution: Accepted
Priority: 5
Submitted By: Karl Waclawek (kwaclaw)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Default xmlns=... in external subset
Initial Comment:
This bug was reported by Jeremy Kloth. It applies to
Expat 1.95.2, 1.95.4 and 1.95.5.
If an xmlns attribute is defaulted in the external subset,
one gets a NULL pointer error when parsing an
external general entity.
This can be reproduced with the attached files
i18n.xml, l10n.xml and en.xml.
The fix for that requires switching to a separately
allocated DTD structure and is therefore quite
extensive. Check the attached files patch.diff and
overview.txt. The patch also contains some source
code comments.
----------------------------------------------------------------------
>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-11-07 18:02
Message:
Logged In: YES
user_id=3066
What's missing in the rest of this report is that the
StartElementHandler must be set to tickle this bug. ;-)
I've checked in a test case in tests/runtests.c revision 1.37.
----------------------------------------------------------------------
Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-10-07 16:05
Message:
Logged In: YES
user_id=3066
For the record: The patch was checked in as lib/xmlparse.c
1.90.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=616863&group_id=10127
More information about the Expat-bugs
mailing list