W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2009

RE: [Updated] XML Schema 1.1 Tutorial

From: Michael Kay <mike@saxonica.com>
Date: Wed, 29 Jul 2009 23:03:57 +0100
To: <noah_mendelsohn@us.ibm.com>, "'Costello, Roger L.'" <costello@mitre.org>
Cc: <xmlschema-dev@w3.org>
Message-ID: <6C317DE6E3E94EF882FBD2E4D0D573F6@Sealion>
> 
> I think it would be more accurate to say:]
> 
> "A  XSD 1.0 Schema Document with one targetNamespace could 
> not restrict a type using ^^ elements from another 
> targetNamespace.  In XML Schema 1.1, you can do this, by 
> adding a targetNamespace attribute to each such "foreign" 
> element and attribute in the restriction"
> 

To be even more precise, at ^^ add "locally-declared". It's no problem if
all the elements are declared globally.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 
Received on Wednesday, 29 July 2009 22:04:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 29 July 2009 22:04:40 GMT