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

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>
RE: [Updated] XML Schema 1.1 Tutorial
> 
> 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

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.