RE: Why does the default namespace not apply to attributes?

> There are lots of things that one might want to do 
differently given a chance, but it's etched in stone and there's no prospect of 
changing it in fundamental ways. XML Schema has to work with the base 
specs as they exist, not as one might like to redesign them (even if everyone 
were to agree that you were right, which is unlikely).

Please, don't misunderstand my question; it is absolutely not my
intention to suggest changes to the XML spec, rather my aim is to to
find out what is the rationale for the difference between elements and
attributes with regard to the default namespace. We are struggling with
the question whether or not elements and attributes in one XML schema should be in the
same namespace. This is an aspect being discussed as part of the guidelines that we are developing within our organization. To provide a rationale for our choice (disregard whether the answer is YES or NO) is important for the acceptance and actual usage of the guidelines by our readers (who are XML developers), more important than the answer itself.Why we are contacting this forum, is because we presume that W3C has encountered the same questions years ago and it would be useless to invent the wheel twice.Best regards,Nanda
From: mike@saxonica.comTo: nandakol@hotmail.com; noah_mendelsohn@us.ibm.comCC: xmlschema-dev@w3.orgSubject: RE: Why does the default namespace not apply to attributes?Date: Mon, 20 Aug 2007 09:27:45 +0100








>Wouldn’t it be more 
intuitive and improve readability to have both of the attributes in a different 
namespace, instead of one attribute being in no namespace? 
The XML Namespaces spec 
has been with us since 1999. There are lots of things that one might want to do 
differently given a chance, but it's etched in stone and there's no prospect of 
changing it in fundamental ways. XML Schema has to work with the base 
specs as they exist, not as one might like to redesign them (even if everyone 
were to agree that you were right, which is unlikely).
 
Michael Kay
http://www.saxonica.com/

_________________________________________________________________
With Windows Live Hotmail, you can personalize your inbox with your favorite color.
www.windowslive-hotmail.com/learnmore/personalize.html?locale=en-us&ocid=TXT_TAGLM_HMWL_reten_addcolor_0607

Received on Monday, 20 August 2007 12:12:46 UTC