Re: XML Schema built-in data type namespace URI.
Jonathan Borden <jborden@m...> writes: > Biron,Paul V wrote: > > > > > Because the built-in datatypes are intended to be used both by the schema > > language and by other specifications, it was decided that there should be > > two namespaces. The XML Schema namespace > > (http://www.w3.org/2000/10/XMLSchema) is to be used to identify a built-in > > datatype whenever that type is being used IN THE CONTEXT of an XML > Schema; > > the XML Schema Datatypes namespace > > (http://www.w3.org/2000/10/XMLSchema-datatypes) is to be used to indentify > a > > schema datatype whenver that type is being used OUTSIDE THE CONTEXT of an > > XML Schema. > > > > I hope this helps. > > A big problem here is that QNames and URIs are not being used in a web > interoperable or meaningful way. Are you saying that the concept > "unsignedInt" as named by > > http://www.w3.org/2000/10/XMLSchema#unsignedInt > > is different than the concept "unsignedInt" as named by: > > http://www.w3.org/2000/10/XMLSchema-datatypes#unsignedInt You're crossing threads, Jonathan. Paul was answering a much simpler questions. In any case, yes, those two are different, because they are just URI references to elements in two distinct XML documents. Prose in the XML Schema Part 2: Datatypes public working draft makes clear that these refer to the same builtin simple type definition, but that's in the prose, not something which follows from the nature of namespaces. ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh W3C Fellow 1999--2001, part-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@c... URL: http://www.ltg.ed.ac.uk/~ht/
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format