Lists Home |
Date Index |
> -----Original Message-----
> From: Bill de hÓra [mailto:email@example.com]
> Sent: Monday, August 18, 2003 2:18 PM
> To: Tim Bray
> Cc: XML Dev
> Subject: Re: [xml-dev] RelaxNG question
> it will allow child elements to be in no namespace, I'm not
> sure you can spec the rejection of non-namepaced elements
> with rng; anyway it seems a daft enough constraint.
Because your favorite schema language does not support the feature does not make it a daft constraint. The ability to negate wildcards is an oft requested feature of users of W3C XML Schema and makes sense if one could write something akin to
<xs:any namespace="not(##targetNamespace)" />
although in this case I assume Tim would want something akin to
<xs:any namespace="not(##targetNamespace ##local)" />
PITHY WORDS OF WISDOM
People can be divided into two types: those who still possess a fierce hunting instinct and those who pay to park.
This posting is provided "AS IS" with no warranties, and confers no rights.