[Bug 4869] [FS] Enclosed expressions and namespaces

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





------- Comment #12 from mike@saxonica.com  2008-02-06 00:17 -------
This was discussed on Shrove Tuesday, 5 February 2008. I was actioned to
propose wording that reflected a sentiment to make <a><b/></a> behave in the
same way as <a>{<b/>}</a>. It is believed that if we make this change in the
XQuery language book, no changes will be needed to XQueryX or to the formal
semantics.

I believe the change can be implemented fairly easily. Specifically, in section
3.7.1.3, change clause 1.d to read in its entirety:

d. Each nested direct constructor is evaluated as if it appeared in an enclosed
expression. For example, <a><b/><b/></a> is evaluated as if it were written
<a>{<b/>}{<b/>}</a>.

(I withdraw my earlier opinion that this change is inappropriate for an
erratum. The various specifications are in conflict and this is the simplest
way to bring them into alignment.)

Received on Wednesday, 6 February 2008 00:17:09 UTC