Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: reference to element, elementFormDefault unqualified

From: "Michael Kay" <mike@--------.--->
To: "'Xan Gregg'" <xan.gregg@---.--->, "'XMLSchema-Dev'" <xmlschema-dev@--.--->
Date: 10/18/2006 4:50:00 PM
 
> I think there is a technical reason for using uqualified 
> locals: it makes allows derivation by restriction by types in 
> other namespaces.
> 
> The difficulty is that derivation by restriction (unlike 
> extension) requires one to repeat the original type 
> definition contents. If the derivation is in another 
> namespace, then the locals cannot be defined in the original 
> namespace.

Yes, but people design their documents first and write their schemas later.

The way around the limitation on derivation by restriction is not to use
unqualified local elements, it is to use global elements.

(The real problem comes, of course, when you try to restrict a content model
that wasn't written to make restriction possible - i.e. one that
unthinkingly uses qualified local elements).

Michael Kay
http://www.saxonica.com/


From noah_mendelsohn@u... Wed Oct 18 14:51:44 2006
Rec


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent