[
Lists Home |
Date Index |
Thread Index
]
> > > > I'm not suggesting that unprefixed attributes should be treated as
> > > > global attributes. I think you're reading far too much into the
> > > > I've actually said. I'm saying that in the context of a given
> > > > element, attributes should be treated as having the namespace
> context
> > > > of their containing element rather than treated as having an
> ambiguous
>
>
> > > I'm no namespace expert, but I cannot see how you can do what you
> > > recommend without causing some attributes to unintentionally be
> promoted
> > > globally.
>
> > Sorry. What does this mean?
>
> If two unprefixed attributes are treated as having the namespace context
> of their respective containing elements, as Simon suggests, then those
> unprefixed attributes will have the same namespace, and therefore the
> same context. Right?
Yes. Just as two preixed elements, regardless of where they are, can share
namespace context. I fail to see how this counts as "promotion" of an
attribute to anything.
--
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/library/x-jclark.html
Python and XML development using 4Suite, Part 3: 4RDF - http://www-105.ibm.com/developerworks/education.nsf/xml-onlinecourse-bytitle/8A1EA5A2CF4621C386256BBB006F4CEC
|