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

Re: XML Schema Design Pattern series on XML.com

From: Eddie Robertsson <erobertsson@allette.com.au>
Date: Mon, 08 Jul 2002 10:08:29 +1000
Message-ID: <3D28D7FD.50303@allette.com.au>
To: Dare Obasanjo <dareo@microsoft.com>
CC: xmlschema-dev@w3c.org

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" />|

|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 


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 19:54:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:04 UTC