[Bug 4005] Additional error code for version_declaration-005 and prolog-version-8

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4005

           Summary: Additional error code for version_declaration-005 and
                    prolog-version-8
           Product: XML Schema Test Suite
           Version: 2006-11-06
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: NIST tests
        AssignedTo: ht@inf.ed.ac.uk
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-xml-schema-testsuite@w3.org


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."

Received on Wednesday, 22 November 2006 09:11:57 UTC