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

Re: Permit (greedy) conflicting wildcards

From: <noah_mendelsohn@us.ibm.com>
Date: Wed, 21 Mar 2007 11:41:51 -0400
To: "Pete Cordell" <petexmldev@tech-know-ware.com>
Cc: xmlschema-dev@w3.org
Message-ID: <OF868BE1FE.94537631-ON852572A5.0055EB20-852572A5.00563B66@lotus.com>
Re: Permit (greedy) conflicting wildcards

Pete Cordell asks (regarding wildcards):

> What is the justification for the currently specified set of rules?

Imagine a container format like SOAP.  Is it not possible that somewhere 
in the descendents of the body element it should allow the appearance of 
another soap envelope?  The most basic wildcard is therefore one that 
accepts absolutely anything, including instances of elements that are 
declared in the schema. 

You can also make the case that it's not entirely unacceptable even in the 
cases we're discussing:  if the first "middle" name matches an element 
reference particle, and a 2nd matches the wildcard, many APIs will expose 
that to the application.  The application can then either ignore it, 
reject it, or give it some meaning as appropriate.  Nonetheless, it was 
because we realized that some users would want more help from the content 
model itself that we are likely to propose the notQName="##defined" 
construct (which, by the way, is known informally in the workgroup and in 
some blog postings I think as the "Not In Schema" or NIS wildcard.

Noah

--------------------------------------
Noah Mendelsohn 
IBM Corporation
One Rogers Street
Cambridge, MA 02142
1-617-693-4036
--------------------------------------
Received on Wednesday, 21 March 2007 15:42:53 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.