[Home] [By Thread] [By Date] [Recent Entries]

  • To: "Dare Obasanjo" <dareo@m...>
  • Subject: Re: Re: URIs, concrete (was Re: Un-ask the question)
  • From: Uche Ogbuji <uche.ogbuji@f...>
  • Date: Thu, 01 Aug 2002 10:45:52 -0600
  • Cc: "Simon St.Laurent" <simonstl@s...>, "Tim Bray" <tbray@t...>, "XML DEV" <xml-dev@l...>
  • In-reply-to: Message from "Dare Obasanjo" <dareo@m...> of "Wed, 31 Jul 2002 15:19:02 PDT." <8BD7226E07DDFF49AF5EF4030ACE0B7E06621E7E@r...>
  • Sender: uche.ogbuji@f...

> 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>


How would this distinction (which is old hat and agreed upon by *everyone* in 
this discussion) be impaired by the specification that unprefixed attributes 
are in their element's namespace?


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Track chair, XML/Web Services One Boston: http://www.xmlconference.com/
Basic XML and RDF techniques for knowledge management, Part 7 - 
http://www-106.ibm.com/developerworks/xml/library/x-think12.html
Keeping pace with James Clark - http://www-106.ibm.com/developerworks/xml/libra
ry/x-jclark.html
Python and XML development using 4Suite, Part 3: 4RDF - 
http://www-105.ibm.com/developerworks/education.nsf/xml-onlinecourse-bytitle/8A
1EA5A2CF4621C386256BBB006F4CEC



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member