[Bug 6166] Schema Component Model for Wildcards

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6166





--- Comment #1 from Sandy Gao <sandygao@ca.ibm.com>  2008-10-17 18:59:26 ---
<xs:anyAttribute notNamespace=""/>

is currently not allowed, as it will not pass bullet 2 of "3.10.6.1 Wildcard
Properties Correct":

"2 If {variety} is not, {namespaces} has at least one member."

Agree that 2 variety values (or 2 properties) would work and certain things can
be simplified, but

- Mapping <xs:anyAttribute namespace="##all"/> to "not + {}" or
"disallowedNamespaces={}" could also be counter-intuitive to readers.
- API compatibility. Schema model APIs that support schema 1.0 probably already
defined a method like getVariety() on wildcards and people would expect ANY
returned.

The API concern is related to the implementation discussion in the bug report.
If the implementation doesn't intend to expose a schema model API, then it can
choose to have 2 variety values internally. If it does expose such an API, then
it probably already does so for schema 1.0 and would be concerned about
compatibility.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 17 October 2008 18:59:35 UTC