W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2004

Re: [XQuery] IBM-XQ-021: Automatic assignment of default namespace

From: Daniela Florescu <danielaf@bea.com>
Date: Mon, 16 Feb 2004 22:54:16 -0800
Message-Id: <1A6334AA-6116-11D8-9D91-0003937198F4@bea.com>
To: public-qt-comments@w3.org
Don,

do you mean that you would like XQuery element constructors
to behave differently (with respect to namespace handling) then XML
itself ?

I think that's dangerous.

Best regards,
Dana

On Feb 16, 2004, at 8:43 PM, Don Chamberlin wrote:

>
> (IBM-XQ-021) Section 3.7.4, Namespace Nodes on Constructed Elements: 
> In the Note in this section, the second paragraph says that an 
> implementation can choose to assign the default namespace (by 
> generating a namespace declaration with a null prefix) when 
> constructing an element. This is a dangerous thing to do. The string 
> content of the element may contain some names that are intended to be 
> in no namespace. Unexpectedly reassigning the default namespace would 
> cause these names in element content to be interpreted incorrectly. I 
> suggest deleting this paragraph.
>
> --Don Chamberlin
Received on Tuesday, 17 February 2004 01:53:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:05 GMT