OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: XML Schema Question: default namespace misses attributes

[ Lists Home | Date Index | Thread Index ]
  • From: Leigh Dodds <ldodds@ingenta.com>
  • To: "Roger L. Costello" <costello@mitre.org>, xml-dev@xml.org
  • Date: Tue, 8 Feb 2000 16:33:40 -0000


> -----Original Message-----
> From: owner-xml-dev@xml.org [mailto:owner-xml-dev@xml.org]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.




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS