[Expat-bugs] [ expat-Bugs-704264 ] Undeclared prefixes and duplicate prefixed attrs

SourceForge.net noreply at sourceforge.net
Mon Mar 24 06:20:25 EST 2003


Bugs item #704264, was opened at 2003-03-15 16:13
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=704264&group_id=10127

Category: None
Group: None
>Status: Closed
Resolution: Duplicate
Priority: 5
Submitted By: Jeremy Kloth (jkloth)
Assigned to: Karl Waclawek (kwaclaw)
Summary: Undeclared prefixes and duplicate prefixed attrs

Initial Comment:
Per the XML Namespaces 1.0 spec the following documents 
should not be well-formed. 
 
<?xml version='1.0'?> 
<!-- undefined element prefix --> 
<undefined:elem/> 
 
<?xml version='1.0'?> 
<!-- undefined attribute prefix --> 
<elem undefined:attr='foo'/> 
 
<?xml version='1.0'?> 
<!-- duplicate prefixed attributes --> 
<elem 
   xmlns:ns1="http://example.org" 
   xmlns:ns2="http://example.org" 
   ns1:attr="spam" ns2:attr="eggs" 
/> 
 
The attached patch against version 1.95.6 fixes these three 
issues. 
 

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

Comment By: Karl Waclawek (kwaclaw)
Date: 2003-03-15 18:27

Message:
Logged In: YES 
user_id=290026

This is a duplicate of bugs #692964 and #695401.
A patch has already been applied to CVS.
I will review your patch to check if anything is missing
in the already applied patch.

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

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



More information about the Expat-bugs mailing list