W3C home > Mailing lists > Public > public-xml-id@w3.org > April 2004

Missing "else" in section 4.3

From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Date: Sun, 11 Apr 2004 11:49:07 -0400
Message-Id: <p06010201bc9f18abca5f@[192.168.254.88]>
To: public-xml-id@w3.org

Section 4.3 states:

A processor that does neither DTD nor XML Schema validation must 
report xml:id attributes found in documents using [XML Information 
Set] properties, assuming the following condition:

     * The attribute value must be a valid NCName.
     * No other xml:id attribute with the same attribute value has 
been found earlier in the document.

If those conditions are not satisfied then the processor should 
report the error to the application.

This section then goes on to describe what happens when these 
conditions (unique NCName) are satisfied. However, it says nothing 
about what happens when the condition fail other than an error is 
reported. Suppose this is a non-fatal error (as indeed I think it 
should be). Then how does a processor that does neither DTD nor XML 
Schema validation report the xml:id attribute? Does it give it the ID 
type or not? The behavior on this branch needs to be spelled out.

-- 

   Elliotte Rusty Harold
   elharo@metalab.unc.edu
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml            
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA 
Received on Monday, 12 April 2004 06:22:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:53:49 UTC