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

[Bug 5333] [UPD] Reference to clause 1e for enclosed expressions unclear

From: <bugzilla@wiggum.w3.org>
Date: Tue, 01 Jan 2008 15:03:25 +0000
To: public-qt-comments@w3.org
Message-Id: <E1J9ieL-00072X-TQ@wiggum.w3.org>


------- Comment #1 from mike@saxonica.com  2008-01-01 15:03 -------
Looking at this more carefully, given

copy $e1 := $e2

(a) it seems to make little sense to allow $e2 to be anything other than a
single node. Currently it is allowed to be a sequence of atomic values, which
are strung together to form a text node, which is then modified. I can't
believe this serves any useful requirement. Removing the ability for $e2 to be
a sequence of atomic values would improve static type checking. With this
change, it's only really 1.e.ii that's relevant.

(b) within 1.e.ii, the following rules need to be amended:

B: "the parent property is set to the node constructed by this constructor."

D.II: "if copy-namespaces mode specifies inherit, the copied node inherits all
the in-scope namespaces of the constructed node, "

E: "When an element or processing instruction node is copied, its base-uri
property is set to be the same as that of its new parent, "
Received on Tuesday, 1 January 2008 15:03:32 UTC

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