[Home] [By Thread] [By Date] [Recent Entries]

  • To: Bill de hÓra <bill.dehora@p...>,"Tim Bray" <tbray@t...>
  • Subject: RE: RelaxNG question
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Mon, 18 Aug 2003 14:26:54 -0700
  • Cc: "XML Dev" <xml-dev@l...>
  • Thread-index: AcNlzknBzx5S9cPUReWIetNoNaRtrQAAM6qg
  • Thread-topic: RelaxNG question

> -----Original Message-----
> From: Bill de hÓra [mailto:bill.dehora@p...] 
> Sent: Monday, August 18, 2003 2:18 PM
> To: Tim Bray
> Cc: XML Dev
> Subject: Re:  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. 

 

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member