[XPath] Appendix H: Incompatibilities and errors

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