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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Why associate an attribute with a namespace ?

[ Lists Home | Date Index | Thread Index ]

> -----Original Message-----
> From: mihaiu@mihaiu.name [mailto:mihaiu@mihaiu.name] 
> Sent: Wednesday, February 16, 2005 2:15 PM
> To: Michael Kay
> Cc: xml-dev@lists.xml.org
> Subject: Re: [xml-dev] Why associate an attribute with a namespace ?
> 
> >Sure. Prefix your attribute names with an underscore and they are 
> >guaranteed to be different from attribute names invented by 
> anyone else.
> >
> 
> I have no intention to define new attributes. That is obvious 
> from my post.
> 
> I often found that a lot of people get upset when they have 
> to explain their point of view. Have you learn by heart your 
> explanations and you can only blindly repeat what you've been 
> told ? I asked about the rationale behind the decision to 
> allow namespaces for attributes.
> 
> For your described case (special attributes)  you need merely 
> syntax changes and not namespaces. Are namespaces just syntax ?

So if I see _type in a document how do I know whether it is xsi:type,
xlink:type or daresfunkysemantics:type? If you are going to attempt to
argue on this list about XML and namespaces it would behoove you to
understand the problem space first before criticizing existing
solutions. 

--
PITHY WORDS OF WISDOM 
No matter how long or how hard you shop for an item, after you've bought
it, it will be on sale somewhere cheaper.   

This posting is provided "AS IS" with no warranties, and confers no
rights.  




 

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

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