- From: Dare Obasanjo <dareo@microsoft.com>
- Date: Sun, 7 Jul 2002 17:11:18 -0700
- To: "Eddie Robertsson" <erobertsson@allette.com.au>
- Cc: <xmlschema-dev@w3c.org>
Yup, that's a typo. Nice catch. It should actually read "To create a wildcard that allows elements from any namespace in except the target namespace involves using an xs:choice, as in the following schema:" I've bcc-ed the XML.com editors so hopefully it should be fixed soon. -----Original Message----- From: Eddie Robertsson [mailto:erobertsson@allette.com.au] Sent: Sun 7/7/2002 5:08 PM To: Dare Obasanjo Cc: xmlschema-dev@w3c.org Subject: Re: XML Schema Design Pattern series on XML.com Hi Dare, Nice article! I have one comment. In the section where you explain how to use the wildcards you have the following paragraph: "To create a wildcard that allows elements from any namespace in addition to the target namespaces involves using an |xs:choice|, as in the following schema:" and then the following example: |... |<!-- allow any element except those from target namespace --> |<xs:choice minOccurs="0" maxOccurs="unbounded" > | | <xs:any namespace="##other" processContents="strict" /> | | <xs:any namespace="##local" processContents="strict" />| |</xs:choice>| |||... |Maybe this is because English isn't my native language but I read "...any namespace in addition to the target namespaces..." to mean "any namespace _including_ the target namespace" but the correct interpretation should be "any namespace except the target namespace" like the comment in the code says. Also, shouldn't "...target namespaces..." be "target namespace" (in singular)? Cheers, /Eddie Dare Obasanjo wrote: >The first of what should be a series of quarterly articles on XML Schema design patterns is available at > > http://www.xml.com/pub/a/2002/07/03/schema_design.html > >I welcome comments about the article and ideas for future articles in the same vein. > > >
Received on Sunday, 7 July 2002 20:11:50 UTC