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 3267 - Wrong error code for vardeclwithtype-15
Summary: Wrong error code for vardeclwithtype-15
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.9.0
Hardware: Other Linux
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-09 15:08 UTC by Frans Englich
Modified: 2006-05-09 18:53 UTC (History)
0 users

See Also:


Attachments

Description Frans Englich 2006-05-09 15:08:45 UTC
vardeclwithtype-15 has a query which reads:

----------------------------------
declare variable $var as xs:integer := $e +1;
declare variable $e as xs:integer := 10;

(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)

$var
----------------------------------

and requires code XPST0081. However, that's the code for an invalid namespace prefix. I think XPST0008 should be specified.

Also, the comment in the query says the test is "vardeclwithtype-16", but according to the catalog it's vardeclwithtype-15.


- Frans
Comment 1 Carmelo Montanez 2006-05-09 18:25:48 UTC
Frans:

That is totally correct.  Changed the catalog entry and changed the test
documentation to reflect correct name.  Please close the bug if in agreement.

Thanks,
Carmelo