test case 10 possible issue

xml:id test case 10 is:

<!DOCTYPE doc [
<!ATTLIST para
 id ID #IMPLIED
 ref IDREF #IMPLIED
 >
]>
<doc>
  <para id="id1" xml:id="id2"/>
  <para ref="is2"/>
</doc>


This document is invalid. Is it supposed to be or is "is2" a typo? 
Should that be "id2"?

Assuming that's the case, what exactly are we testing here? Do we expect 
a validating parser to accept this document? Or should we somehow test 
that the references infoset property is updated?

-- 
Elliotte Rusty Harold  elharo@metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim

Received on Saturday, 2 April 2005 15:32:19 UTC