- From: Michael Kay <mike@saxonica.com>
 - Date: Fri, 1 Apr 2005 16:05:27 +0100
 - To: "'George Cristian Bina'" <george@oxygenxml.com>
 - Cc: "'Hirtle, David'" <David.Hirtle@nrc-cnrc.gc.ca>, <xmlschema-dev@w3.org>
 
>  > I can't see a rule in Schema that bans <xs:redefine> containing two
>  > redefinitions of the same component, but there's also no 
> statement saying
>  > what the effect should be.
> 
> Xerces complains pointing to
> http://www.w3.org/TR/xmlschema-1/#sch-props-correct
> 2 Each of the {type definitions}, {element declarations}, {attribute 
> group definitions}, {model group definitions} and {notation 
> declarations} must not contain two or more schema components with the 
> same {name} and {target namespace}.
I don't blame them making that decision, though since xs:redefine modifies
components rather than creating  new components, it's stretching a point.
Michael Kay
http://www.saxonica.com/
Received on Friday, 1 April 2005 15:05:36 UTC