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

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





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