Re: Redefinition of group, who's correct

On Mar 25, 2013, at 2:49 AM, Pierre Attar wrote:

> 
> 
> When trying to write this schema, my assumption was a little bit DTD like interpretation : the first defininition is the right one.


That's true for entity and attribute declarations in DTDs, but not for 
element declarations (which lead to errors when duplicated) or 
attribute-list declarations (which accumulate).

An idea very similar to your operating assumption was in fact 
proposed (a sort of schema-component search path), but I am
ashamed to relate that it was not taken very seriously and 
was not adopted.  The XSD rules for include and import might 
have been much easier to understand (and thus easier to write 
without contradictions) has the WG adopted it.  But the 
majority of the WG thought that it would be too error-prone.

-- 
****************************************************************
* C. M. Sperberg-McQueen, Black Mesa Technologies LLC
* http://www.blackmesatech.com 
* http://cmsmcq.com/mib                 
* http://balisage.net
****************************************************************

Received on Sunday, 31 March 2013 22:28:24 UTC