[Expat-bugs] [ expat-Bugs-946506 ] PublicId for DOCTYPE not checked & normalized

SourceForge.net noreply at sourceforge.net
Sun May 2 13:33:23 EDT 2004


Bugs item #946506, was opened at 2004-05-02 13:28
Message generated for change (Comment added) made by kwaclaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=946506&group_id=10127

Category: None
>Group: Test Required
Status: Open
Resolution: None
Priority: 5
Submitted By: Karl Waclawek (kwaclaw)
>Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: PublicId for DOCTYPE not checked & normalized

Initial Comment:
The public id passed to the StartDocTypeDeclHandler()
is not checked for legal characters and not normalized.

However, the same public id passed to the 
ExternalEntityRefHandler() is normalized.

This is because the former uses the docTypePubId
member and the latter uses a hash table lookup for a
declared entity.



----------------------------------------------------------------------

>Comment By: Karl Waclawek (kwaclaw)
Date: 2004-05-02 13:33

Message:
Logged In: YES 
user_id=290026

Fixed with attached patch in xmlparse.c rev. 1.133.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=946506&group_id=10127



More information about the Expat-bugs mailing list