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@[]>
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
   Effective XML (Addison-Wesley, 2003)
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