[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Both extending and restricting with <redefine>

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>
Message-ID: <E1DHNiK-0003iF-7r@frink.w3.org>
RE: Both extending and restricting with <redefine>

>  > 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 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.