Re: [xml-dev] UPA and schema handling

From
Elliotte Harold <>
To
Joe English <>
Date
2004-10-23T01:48:00Z
ID
<>
Thread
Re: [xml-dev] UPA and schema handling
Joe English wrote:


>>From=203.2.1 of XML 1.0 3e, it seems pretty clear to me:
>>
>>   For compatibility, it is an error if the content model allows an
>>   element to match more than one occurrence of an element type in the
>>   content model.


But it's not a fatal error. According to the spec an error that is not a 
fatal error denotes a "violation of the rules of this specification; 
results are undefined. Unless otherwise specified, failure to observe a 
prescription of this specification indicated by one of the keywords 
MUST, REQUIRED, MUST NOT, SHALL and SHALL NOT is an error. Conforming 
software MAY detect and report an error and MAY recover from it."

-- 
Elliotte Rusty Harold  
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