[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XML Schema Question: default namespace misses attributes
> -----Original Message----- > From: owner-xml-dev@x... [mailto:owner-xml-dev@x...]On Behalf Of > Roger L. Costello > Sent: 08 February 2000 13:02 <snip! - example left for illustration> > <schema xmlns="http://www.w3.org/1999/XMLSchema" ...> > <element name="BookCatalogue"> > ... > </element> > ... > </schema> > So, the "name" attribute above is not > part of the XML Schema namespace. Matter of fact, "name" is in no > namespace. I believe that it is an error for "name" to not be part of > the XML Schema namespace. Right? We want an XML Schema parser to > recognize "name" as being part of the XML Schema namespace. Right? I believe the following 3 postings should summarise most of the arguments on this topic (the first is an answer from myself, the other two clarifications from Davids Megginson and Brownell). http://www.lists.ic.ac.uk/hypermail/xml-dev/xml-dev-Jan-2000/0227.html http://www.lists.ic.ac.uk/hypermail/xml-dev/xml-dev-Jan-2000/0230.html http://www.lists.ic.ac.uk/hypermail/xml-dev/xml-dev-Jan-2000/0235.html > Wouldn't it be better if, as is done in the XSLT spec, we don't use a > default namespace and, instead, explicitly qualify all elements and > attributes? I'd certainly like that. In fact I think it'd be useful if attributes were required to be qualified full-stop. It'd stop the continuing confusion. Cheers, L.
|
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
|