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 2579 - emptyorderdecl-1
Summary: emptyorderdecl-1
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.2
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-11 12:12 UTC by Tobias
Modified: 2005-12-15 18:17 UTC (History)
0 users

See Also:


Attachments

Description Tobias 2005-12-11 12:12:16 UTC
looks like a typo slipped into emptyorderdecl-1.

the test-suites expects error XQST0069, because of two empty order declarations:
declare default order empty least;
declare default order greatest least;

but the test-case only consists of one empty order declaration and something
that should have been one, but is in fact a syntax error (XPST0003).

because of the description of the test-case the author certainly means:
declare default order empty least;
declare default order empty greatest;


best regards
Tobias
Comment 1 Carmelo Montanez 2005-12-15 16:47:34 UTC
Tobias:

Great catch.  Thanks.  Test fixed by using:

declare default order empty least;
declare default order empty greatest;

Please close the bug if in agreement.

Thanks,
Carmelo Montanez
Comment 2 Tobias 2005-12-15 18:17:07 UTC
the fix hits the spot,

best regards
Tobias