[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
> David Carlisle  wrote:

> > Thus Simon's and your assertion that putting these attributes into a
> > namespace does not make them global is wrong.
> Right.  It makes them global attributes because "global attribute"
> is defined in [XMLNS] to be synonymous with "attribute with a
> namespace name".  It also makes them "proctological" -- a term I just
> made up, which means simply "must have a colon", and which has exactly
> as much semantic impact on applications as the quality of being "global",
> that is to say, none at all.

Thanks.  This is what I've been trying to say in the past few rounds, and I'll 
admit (and have admitted) that I've been clumsy about it.

> In fact, I suspect that the Best Common Practice of using
> unqualified attribute names for "semantically local" attributes
> (as in XSLT, etc.) has more to do with avoiding proctological
> attributes than with making a lexical or Infoset-level distinction
> between "semantically local" and "semantically global".
> Since [XMLNS] doesn't provide a mechanism for defaulting attribute
> namespaces, using unqualified attribute names saves typing.
> If the Rec had gone the other way, specifying that unqualified
> attributes inherit their namespace name from the containing element,
> the Best Common Practice would have been to namespace-qualify
> all attributes.

Is there a general problem with attributes having namespaces that would lead 
to this BCP?  I don't see it.  Having implemented an XSLT processor, I can 
tell you that it would have made little difference if unprefixed attributes in 
xsl elements carried the XSL 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 - 
Keeping pace with James Clark - http://www-106.ibm.com/developerworks/xml/libra
Python and XML development using 4Suite, Part 3: 4RDF - 


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.
First Name
Last Name
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.