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 17219 - [QT3TS] Try/Catch test problems
Summary: [QT3TS] Try/Catch test problems
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Member-only Editors Drafts
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Ghislain Fourny
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-28 11:23 UTC by John Snelson
Modified: 2012-06-15 08:03 UTC (History)
2 users (show)

See Also:


Attachments
Patch (4.69 KB, text/plain)
2012-05-28 11:23 UTC, John Snelson
Details

Description John Snelson 2012-05-28 11:23:34 UTC
Created attachment 1136 [details]
Patch

Diff attached - do you agree with these changes?
Comment 1 Ghislain Fourny 2012-05-29 12:21:45 UTC
Thanks John, everything is fixed except the last one - I am under the feeling { document { <a/>, <b/> }} should always raise err:XQDY0084 in any case since it is the very first bullet point.
Comment 2 John Snelson 2012-05-29 13:21:28 UTC
Order of bullet points is not prescriptive of order of execution.
Comment 3 Ghislain Fourny 2012-05-29 13:46:41 UTC
Hi John,

The issue I see is that bullet points 2 and 4 use the expression "the root element information item" which I think assumes that the check in bullet point 1 was performed. If there is more than an element node under the document node, I am afraid that this expression is not defined.  Or am I missing something?
Comment 4 John Snelson 2012-05-29 15:33:06 UTC
Previously discussed here:

https://www.w3.org/Bugs/Public/show_bug.cgi?id=8500
Comment 5 Ghislain Fourny 2012-06-07 15:56:59 UTC
Thanks for the pointer, it makes sense, especially for streaming.
Comment 6 Ghislain Fourny 2012-06-07 16:02:33 UTC
The test was modified accordingly. Thanks for your feedback!
Comment 7 O'Neil Delpratt 2012-06-15 08:03:04 UTC
Bug fixed