problem with XML W3C Conformance Test Suite 20080205

  Hi all,

  While working on my 5th edition implementation testing I hit a problem
with the latest version of the test suite:

test rmt-ns10-035 : xmlconf/eduni/namespaces/1.0//035.xml failed to parse the XML
xmlconf/eduni/namespaces/1.0//035.xml:6: parser error : Attribute a:attr redefined
<bar a:attr="1" a:attr="2"/>
                          ^

the test is described as 
<TEST RECOMMENDATION="NS1.0" SECTIONS="5.3" URI="035.xml" ID="rmt-ns10-035" TYPE="not-wf">
Attribute uniqueness: repeated identical attribute
</TEST>

and defined as

<?xml version="1.0"?>
<!-- Attribute uniqueness: repeated identical attribute -->
<foo xmlns:a="http://example.org/~wilbur"
     xmlns:b="http://example.org/~wilbur">

<bar a:attr="1" a:attr="2"/>

</foo>

 Seems to me there is a typo here. This is an XML-1.0 base well-formedness
error because it has the same attribute used twice on the element. I guess
the intent was to have
  <bar a:attr="1" b:attr="2"/>
(or the way around) which then is a namespace redeclaration issue.

Not seeing anything on the archives since Sept last year I assume this
wasn't raised yet and best discussed in the Core WG list :-)

  http://lists.w3.org/Archives/Public/public-xml-testsuite/

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

Received on Wednesday, 30 July 2008 16:55:28 UTC