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 4005 - Additional error code for version_declaration-005 and prolog-version-8
Summary: Additional error code for version_declaration-005 and prolog-version-8
Status: RESOLVED INVALID
Alias: None
Product: XML Schema Test Suite
Classification: Unclassified
Component: NIST tests (show other bugs)
Version: 2006-11-06
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Henry S. Thompson
QA Contact: XML Schema Test Suite mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-22 09:11 UTC by Tim Mills
Modified: 2006-11-22 16:36 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2006-11-22 09:11:44 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 Henry S. Thompson 2006-11-22 16:36:47 UTC
Wrong test suite -- meant for Query