Re: [XPath/XQuery] unpredictable error handling ( qt-2004Feb0391-01 )

Hi Martin,

The XQuery and XSL Working Groups have considered the following message,
which you submitted:

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

The reason for the error behavior described for logical expressions is
to allow conventional optimization techniques, especially indexes. An
index returns the items that satisfy a condition without examining items
that do not. Obviously, an implementation that does a comparison on each
item, without using an index, would encounter all items, and would raise
errors at times that an index-based implementation would not.

If implementations can't use indexes to speed access, implementations
are not likely to perform well.

We have decided to close this issue. Please let us know if this is
unacceptable.

Thanks!

Jonathan
On behalf of the XQuery and XSL Working Groups

Received on Saturday, 13 November 2004 01:02:16 UTC