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
To: public-qt-comments@w3.org
Message-Id: <E1JMhri-0005gM-I2@wiggum.w3.org>


------- 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>


<a xmlns:p="q">

but serialize to


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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:35 UTC