- From: Jim Melton <jim.melton@acm.org>
- Date: Thu, 15 Jan 2004 16:40:09 -0700
- To: per@bothner.com
- Cc: public-qt-comments@w3.org, w3c-xml-query-wg@w3.org
- Message-Id: <6.0.0.22.2.20040115162957.02eb7230@gmstimap.oraclecorp.com>
Per,
The W3C XML Query WG has considered your comment (archived at
http://lists.w3.org/Archives/Public/public-qt-comments/2003Nov/0186.html).
This message contains the official response of that WG.
We believe that your question ("Is there anything to prevent the
following?") is answered in the Last Call Working Draft of XQuery 1.0: An
XML Query Language (http://www.w3.org/TR/2003/WD-xquery-20031114/) in
Section 4.8, "Variable Declaration". In that section, the third paragraph
contains the provision that "If an initializing expression cannot be
evaluated because of a circularity (for example, it depends on a function
that in turn depends on the value of the variable that is being
initialized), a
<file:///E:/XMLdocs/XML%20Query%20Language%20%28XQuery%29/XQuery%20and%20XQueryX%20syntax/XQuery%201.0%20Last%20Call%20WD%2020011114.html#dt-dynamic-error>dynamic
error is
raised.[<file:///E:/XMLdocs/XML%20Query%20Language%20%28XQuery%29/XQuery%20and%20XQueryX%20syntax/XQuery%201.0%20Last%20Call%20WD%2020011114.html#ERRXQ0054>err:XQ0054]."
Please note that Mary Fernández has also responded (in
http://lists.w3.org/Archives/Public/public-qt-comments/2003Nov/0335.html)
that the Formal Semantics will include a warning to implementors to check
for such cyclic definitions.
Please let us know if you agree with our analysis and whether you believe
that this adequately addresses your comment. If we do not receive a
specific response on this subject, we will consider you to have agreed that
your comment has been addressed satisfactorily.
Very best regards,
Jim (on behalf of the W3C XML Query WG)
========================================================================
Jim Melton --- Editor of ISO/IEC 9075-* (SQL) Phone: +1.801.942.0144
Oracle Corporation Oracle Email: mailto:jim.melton@oracle.com
1930 Viscounti Drive Standards email: mailto:jim.melton@acm.org
Sandy, UT 84093-1063 Personal email: mailto:jim@melton.name
USA Fax : +1.801.942.3345
========================================================================
= Facts are facts. However, any opinions expressed are the opinions =
= only of myself and may or may not reflect the opinions of anybody =
= else with whom I may or may not have discussed the issues at hand. =
========================================================================
Received on Thursday, 15 January 2004 18:36:56 UTC