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

RE: Permit (greedy) conflicting wildcards (NIS wildcards)

From: David Ezell <David_E3@VERIFONE.com>
Date: Wed, 21 Mar 2007 14:15:45 -0400
Message-ID: <2554CD143BF133449AB61786FA333CDE01A1DD19@TPANTMAIL.verifone.com>
To: <xmlschema-dev@w3.org>
RE: Permit (greedy) conflicting wildcards (NIS wildcards)

Michael Kay wrote:
> Noah Mendelsohn wrote:
>> 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.
>
>The thing I'm having trouble understanding is that this seems to assume
a rather finite 
>and predictable schema. It seems to make the outcome of a validation
episode rather 
>dependent on the set of element declarations that happen to be lying
around in your schema 
>cache. Validation of a document containing @xml:space will succeed
until you install a new
>version of your schema processor that has a built-in attribute
declaration for @xml:space, 
>and then it will suddenly start failing because @xml:space is now in
"the schema".

When NIS wildcards were first proposed, I argued this exact point:  that
validation outcomes could vary widely through seeming side-effects
difficult to track in the validation environment.  However, after
understanding the utility of the feature to groups involved in WS
languages (and the extension of those languages), and also understanding
how >I< might use the feature in the languages we try to create at NACS,
I became a convert.

Note that one important caveat that helped change my mind was
understanding that most of the time the feature would be used as "in
this namespace but not in this schema," (e.g. the WS namespace)
effectively limiting the area where the dreaded side-effects might
occur.

Best regards,
David
Received on Wednesday, 21 March 2007 18:14:49 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.