[ expat-Bugs-920274 ] xml: namespace not closed after entity
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.text.xml.expat.bugs |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #920274, was opened at 2004-03-20 18:35 Message generated for change (Comment added) made by kwaclaw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=920274&group_id=10127 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: xml: namespace not closed after entity Initial Comment: When an external entity is parsed, StartNamespaceDecl is called for xml http://www.w3.org/1998/namespace (from setContext). On exit, EndNamespaceDecl is not called, and the calls become unbalanced. ---------------------------------------------------------------------- >Comment By: Karl Waclawek (kwaclaw) Date: 2004-03-20 21:52 Message: Logged In: YES user_id=290026 I looked at the code, and I am wondering why startNamespaceDecl() is called at all. Why should Expat call it when starting to parse an external entity? Am I overlooking something? At the moment it appears to me that this call-back is an undesirable side-effect of a child parser inheriting namespace scopes. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=920274&group_id=10127