[Expat-bugs] [ expat-Patches-673791 ] Error with xmlns:prefix=""

SourceForge.net noreply at sourceforge.net
Thu Jan 23 20:37:34 EST 2003


Patches item #673791, was opened at 2003-01-23 22:47
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=310127&aid=673791&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeremy Kloth (jkloth)
Assigned to: Nobody/Anonymous (nobody)
>Summary: Error with xmlns:prefix="" 

Initial Comment:
When processing a document in namespace mode, the 
following document should be in error (according to XML 
Namespaces 1.0 Section 2): 
 
<?xml version='1.0'?> 
<docelem xmlns:pre=""/> 
 
However, it is being processed just fine. 
 
With the attached patch, this error is properly reported (only 
when namespace processing is enabled). 
 
I hope this can get in before the 1.95.6 release. 
 
Thanks, 
Jeremy Kloth 

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

>Comment By: Karl Waclawek (kwaclaw)
Date: 2003-01-23 23:37

Message:
Logged In: YES 
user_id=290026

Yes, it seems the NS specs do not allow a prefix name with 
an empty URI. This patch looks OK to me - if Fred agrees, I 
can commit it. 

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

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



More information about the Expat-bugs mailing list