XML Schema 1.1 wildcard question
Posted: Sat Sep 26, 2009 8:22 pm
In Relax NG it's real easy to exclude elements in a list of namespaces that includes the no-namespace namespace:
<anyName>
<except>
<nsName ns="http://example.com/>
<nsName ns=""/>
</except>
</anyName>
This simple thing is (afaik) impossible in XML Schema 1.0, and for XML Schema 1.1 the spec is (so typical!) impossible to figure out how to do this simple thing. (Which is why I use RNG!)
Anyway, can anyone tell me how to do this is XMLS 1.1? Does this work:
<any notNamespace="http://example.com ''"/>
(in other words, a pair of single quotes in the list) Some other way?
John
<anyName>
<except>
<nsName ns="http://example.com/>
<nsName ns=""/>
</except>
</anyName>
This simple thing is (afaik) impossible in XML Schema 1.0, and for XML Schema 1.1 the spec is (so typical!) impossible to figure out how to do this simple thing. (Which is why I use RNG!)
Anyway, can anyone tell me how to do this is XMLS 1.1? Does this work:
<any notNamespace="http://example.com ''"/>
(in other words, a pair of single quotes in the list) Some other way?
John