[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Re: URIs, concrete (was Re: Un-ask the question)


RE:  Re: URIs
> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.