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

Re: [XPath] Consistency Constraints

From: Jonathan Robie <jonathan.robie@datadirect.com>
Date: Sat, 14 Aug 2004 08:42:18 -0400
Message-ID: <411E08AA.3040901@datadirect.com>
To: public-qt-comments@w3.org

Hi Martin,

I'm classifying remaining issues for XPath 2.0, and I ran across the 
following message from you:

http://lists.w3.org/Archives/Public/public-qt-comments/2004Feb/0386.html

In this, you ask:

> 2.2.5 says: "Enforcement of these consistency Constraints is
> beyond the scope of this specification."
> 
> Who/what enforces these constraints? In case they are not enforced,
> what are they there for?

To me, the answer is given in the following paragraph:

> In order for XQuery to be well defined, the data model, the static
> context, and the dynamic context must be mutually consistent. The
> consistency constraints listed below are prerequisites for correct
> functioning of an XQuery implementation. Enforcement of these
> consistency constraints is beyond the scope of this specification.
> This specification does not define the result of a query under any
> condition in which one or more of these constraints is not satisfied.

An implementation must ensure that these constraints are met, or else 
our specification is not well-defined for that implementation. We don't 
try to design the language for any implementation that does not enforce 
the consistency constraints.

Is that clear now? Can we close this issue, or is there an issue that I 
am not aware of?

Jonathan
Received on Saturday, 14 August 2004 12:42:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:08 GMT