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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Why associate an attribute with a namespace ?

[ Lists Home | Date Index | Thread Index ]
  • To: xml-dev@lists.xml.org
  • Subject: Why associate an attribute with a namespace ?
  • From: mihaiu@mihaiu.name
  • Date: Wed, 16 Feb 2005 21:23:00 +0200
  • User-agent: Internet Messaging Program (IMP) 3.2.2


Hi,



            Attributes cannot exist without an element. If the element is
attached to a namespace then than should ensure that there will be no conflict
with other elements with a similar same name but from different namespaces.
Attributes cannot be accessed outside the context of elements. Since elements
are uniquely identified so are their attributes.
            Is there any logic for allowing this (like SGML compatibility) ?



Regards,
Razvan





 

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

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