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

[Bug 4869] [FS] Enclosed expressions and namespaces

From: <bugzilla@wiggum.w3.org>
Date: Wed, 06 Feb 2008 10:50:54 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1JMhri-0005gM-I2@wiggum.w3.org>

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





------- Comment #17 from tim@cbcl.co.uk  2008-02-06 10:50 -------
Regarding Comment #16, wouldn't serialization of the result have an effect too,
since the sequence normalization process for a sequence  is equivalent to
constructing a document node using the XQuery expression:

document {
  for $s in $seq return
    if ($s instance of document-node())
    then $s/child::node()
    else $s
}

i.e. wouldn't

<a  xmlns:p="q"><b/></a>

produce

<a xmlns:p="q">
   <b/>
</a>

but serialize to

<a>
   <b/>
</a>

Note that the specification doesn't make it clear what the copy-namespaces mode
might be for the above.
Received on Wednesday, 6 February 2008 10:51:03 GMT

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