This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 3122 - [XPath] Things we ought to say about errors
Summary: [XPath] Things we ought to say about errors
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XPath 2.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Don Chamberlin
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-19 19:41 UTC by Michael Kay
Modified: 2006-04-25 22:16 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2006-04-19 19:41:35 UTC
I am raising this in response to action A-296-001.

There are some things we don't say about errors that we probably should say.

In 2.3.1, after para 5 ("The outcome of the static analysis phase...") add:

In many implementations the static analysis phase will run to completion before the dynamic evaluation phase starts, and therefore an [expression|query] will neither return a result nor raise a dynamic error if there are any static errors present. However, this specification does not rule out strategies such as on-demand linking of modules in which static analysis runs in parallel with dynamic evaluation, and this may result in varying error behavior.

If more than one error is present, or if an error condition comes within the scope of more than one error defined in this specification, then any non-empty subset of these errors may be reported.
Comment 1 Don Chamberlin 2006-04-25 22:16:29 UTC
Mike,
The Query and XSLT working group considered your comment on April 25, 2006 and agreed to include the second paragraph (about multiple errors) in the language documents as you suggested. The first paragraph (about static vs. dynamic phases) was not accepted because it conflicts with an existing specification. Since you were present during this discussion, I have marked this comment as Fixed and Closed.
Regards,
Don Chamberlin (for the joint working groups)