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 4006 - Additional error code for version_declaration-005 and prolog-version-8
Summary: Additional error code for version_declaration-005 and prolog-version-8
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 1.0.2
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-22 16:39 UTC by Tim Mills
Modified: 2010-03-16 15:53 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2006-11-22 16:39:16 UTC
version_declaration-005 and prolog-version-8 specify:

import schema default element namespace "http://comment";

and 

import schema default element namespace "http://comment" at "comment.xsd";

respectively.

There is no schema in XQTS with the specified target namespace, and
"comment.xsd" does not exist.  Therefore the error code XQST0059 is also valid
for these test.  From XQuery 1.0:

"It is a static error [err:XQST0059] if the implementation is not able to
process a schema import by finding a valid schema with the specified target
namespace."
Comment 1 Carmelo Montanez 2006-12-12 14:53:23 UTC
Tim:

Correct. I will add teh alternate code by the end of the day when I commit the catalog file.

Thanks,
Carmelo