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

[XQuery] MS-XQ-LC1-092

From: Michael Rys <mrys@microsoft.com>
Date: Mon, 16 Feb 2004 03:19:53 -0800
Message-ID: <EB0A327048144442AFB15FCE18DC96C7020A31F3@RED-MSG-31.redmond.corp.microsoft.com>
To: <public-qt-comments@w3.org>

Section Computed Element Constructor	

"A computed element constructor automatically validates the constructed
node, using the validation mode and validation context from its static
context, as described in Type of a Constructed Element. If the
name of the constructed element is specified by a constant QName, this
QName is added to the validation context for nested expressions. On the
other hand, if the name of the constructed element is specified by a
name expression, the validation context for nested expressions is set to

The fact that the validation context stays global inside a constructor
that has a name expression will be confusing and hard to explain. Users
will expect that the validation is done at runtime, so the validation
context in this case should be a runtime context. We can solve this by
either not doing implicit validation on element construction (regardless
if literal or computed element constructor), or by saying that the
context will not be known until runtime in this case.
Received on Monday, 16 February 2004 06:20:02 UTC

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