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

[XPath] Appendix H: Incompatibilities and errors

From: Michael Kay <mhk@mhk.me.uk>
Date: Sun, 8 Feb 2004 17:03:38 -0000
To: <public-qt-comments@w3.org>
Message-ID: <000b01c3ee65$80a2db10$6401a8c0@pcukmka>

The following sentence occurs at the end of section H.2:

<quote>
It is not the case that these differences will always result in XPath
2.0 raising an error. In some cases, XPath 2.0 will return different
results for the same expression. For example, the expression "4" <
"4.0". This returns false in XPath 1.0, and true in XPath 2.0.
</quote>

I believe this statement is true of the incompatibilities listed in
section H.1 (with backwards compatibility mode on) but is not true of
the incompatibilities listed in section H.2 (further incompatiblities
when BCM=off). The incompatibilities in section H.2 will always result
in XPath 2.0 raising a type error for constructs that succeeded in XPath
1.0.

Also, the example given relates to one of the incompatibilities listed
in H.1.

I think the sentence should simply be moved from H.2 to H.1.

Michael Kay
Received on Sunday, 8 February 2004 12:04:00 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:13:57 UTC