W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2008

[Bug 4443] [XQuery] Unspecified how unprefixed attributes with namespace URIs are to be treated

From: <bugzilla@wiggum.w3.org>
Date: Thu, 26 Jun 2008 10:55:23 +0000
To: public-qt-comments@w3.org
Message-Id: <E1KBp8N-0001DW-Bh@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4443





--- Comment #10 from Tim Mills <tim@cbcl.co.uk>  2008-06-26 10:55:23 ---
For a further example, consider


let $x := attribute { fn:QName('http://www.example.com', 'foo') } { () } return
  <root>
    <element xmlns:ns1="http://www.example.com">
      { $x }
    </element>,
    <element xmlns:ns2="http://www.example.com">
      { $x }
    </element>,
  </root>

It seems to me preferable for the result to be:

<root>
  <element xmlns:ns1="http://www.example.com" ns1:foo=""/>,
  <element xmlns:ns2="http://www.example.com" ns2:foo=""/>,
</root>

rather than:

<root>
   <element xmlns:ns1="http://www.example.com" ns1:foo=""/>,
   <element xmlns:ns2="http://www.example.com" xmlns:ns1="http://www.example.co
m" ns1:foo=""/>,
</root>


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 26 June 2008 10:55:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:52 GMT