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] Re: URIs, concrete (was Re: [xml-dev] Un-ask the question)

[ Lists Home | Date Index | Thread Index ]

> Simon, The feature isn't useless. Most people agree that attributes
> are meant for annotating elements. The Namespaces in XML
> recommendation allows authors to choose between context sensitive
> attribute values E.g.
> 
> <myns:Parent name="must be a number between 1 - 100"><myns:Child
> name="can be any string"/></myns:Parent>
> 
> or creating global attributes that represent the same idea regardless
> of what element they appear on
> 
> <myns:Parent myns:id="must be unique in document"><myns:Child
> myns:id="must be unique in document"><></myns:Parent>

I'm sorry, Dare, but in my world that's utterly useless, not to mention
confusing and complicating.  If you can find a genuinely good reason for
this:

<rdf:Description rdf:about="http://www.w3.org";
about="http://www.w3.org/not/really/I'm/just/kidding/">

please let me know.  Using global attributes to mean something different
in a local context seems completely bizarre and desperately pointless to
me.  It's bad practice.


-- 
Simon St.Laurent
Ring around the content, a pocket full of brackets
Errors, errors, all fall down!
http://simonstl.com




 

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

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