Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: Recursive XSD with targetNamespace

From: "Michael Kay" <mike@--------.--->
To: <noah_mendelsohn@--.---.--->
Date: 11/18/2008 4:34:00 PM
> 
> > Very little that's in XSD makes intuitive sense - get used to it.
> 
> I agree that there's all to much that doesn't but I'm not 
> sure I agree on this one.
>  

All I meant was, don't imagine you can guess what the rules are without
reading the spec.

It actually took me quite a while to grasp the simple rule that "name"
attributes are implicitly in the target namespace, while "ref" attributes
aren't. It's a very easy rule when you know it, but it's not one you could
guess a priori. 

And of course it depends where you are coming from; many people might assume
that it works the same way as XSLT, but it doesn't. In XSLT both the
defining name and references to other objects are QNames, and both handle
prefixes in the same way.

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




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