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 2635 - Wrong error for validateexpr-1
Summary: Wrong error for validateexpr-1
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.4
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-04 13:56 UTC by Alberto Massari
Modified: 2006-03-06 14:56 UTC (History)
0 users

See Also:


Attachments

Description Alberto Massari 2006-01-04 13:56:18 UTC
validateexpr-1 invokes "validate" on a sequence of two items, and expects error
XPTY0004: but the specs say that "if the operand of a validate expression does
not evaluate to exactly one document or element node, a type error is raised
[err:XQTY0030]", so it should look for XQTY0030.
Comment 1 Carmelo Montanez 2006-01-11 21:28:50 UTC
Alberto:

I think a point can be made for either error code.  I will bring the matter
to the Task Force for further discussion during the telecon on 01/12/06 at 
3:00pm EST.

Thanks,
Carmelo Montanez
Comment 2 Carmelo Montanez 2006-01-13 15:52:03 UTC
Alberto:

Correct.  Changed code to "XQTY0030".  Please close bug when able to verify.

Thanks,
Carmelo
Comment 3 Carmelo Montanez 2006-03-06 14:56:47 UTC
Alberto:

I will go ahead and close this bug for you.  Looks like the issue was 
properly solved.

Thanks,
Carmelo