W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2005

Re: DOM3 Core: Namespaces Algorithms vs xml: and xmlns:

From: Ray Whitmer <ray@personallegal.net>
Date: Mon, 19 Dec 2005 11:42:46 -0700
Message-Id: <D10B0FBB-D65E-47AE-83C9-91FC45FAA5F1@personallegal.net>
Cc: www-dom@w3.org
To: Joseph Kesselman <keshlam@us.ibm.com>


On Dec 19, 2005, at 10:50 AM, Joseph Kesselman wrote:

>
>> would seem quite wrong to be using xml or xmlns prefixes in content.
> I'm not so sure about xml. For example, an XPath might be looking for
> instances of xml:space or similar reserved attributes which do  
> become part
> of the data model. XPath does use qnames to specify such searches, and
> XPaths may appear in content.
>
> XPath doesn't consider namespace declarations to be attributes, so  
> I don't
> have a similar usecase there. I'm not sure that it can't arise,  
> though.
>
> (Comments about the use of implicitly-bound prefixes in content  
> withheld; I
> lost that argument long ago.)

You are right, of course.  Once there is a precedent of representing  
QNames this way in content, who is to say what QName will be  
represented.  I could probably even build a one for xmlns, and there  
is nothing preventing it from occurring in content.

Ray
Received on Monday, 19 December 2005 18:43:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:58 GMT