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

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

From: Jonathan Robie <jwrobie@mindspring.com>
Date: Tue, 17 Feb 2004 05:20:07 -0500
Message-ID: <4031EAD7.5050702@mindspring.com>
To: Daniela Florescu <danielaf@bea.com>
Cc: public-qt-comments@w3.org

I agree with Dana. It's confusing and dangerous for XQuery to differ 
from XML here, especially since people do copy XML into a query and add 
dynamic expressions.

Jonathan

Daniela Florescu wrote:

> 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 05:22:42 GMT

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