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 28634 - [XT30TS] validation-1202, 1204
Summary: [XT30TS] validation-1202, 1204
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: Working drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Abel Braaksma
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-14 09:08 UTC by Tim Mills
Modified: 2015-06-01 08:37 UTC (History)
2 users (show)

See Also:


Attachments

Description Tim Mills 2015-05-14 09:08:58 UTC
These tests perform validation, but do not import a schema.
Comment 1 Michael Kay 2015-05-14 17:46:03 UTC
>These tests perform validation, but do not import a schema.

And what's wrong with that?
Comment 2 Tim Mills 2015-05-15 11:42:32 UTC
The test expects a non-error.

However, strict schema validation will fail for element 'test' in namespace 'http://ns.example.com/val12/' because there will be no matching in scope schema definition - unless the set of available schemas is being populated in some implementation-defined way.
Comment 3 Michael Kay 2015-05-15 16:05:23 UTC
My assumption was that the schema named in the environment would be available during validation episodes, but I guess there's nothing that says this prescriptively, and it would be hard to require all processors to support this.
Comment 4 Abel Braaksma 2015-05-31 17:50:03 UTC
I've fixed this by adding an xsl:import-schema statement. Also fixed the XSLT version on validation-1204, it used 3.0 features, but was marked 2.0.

Changed pushed to the repository.
Comment 5 Tim Mills 2015-06-01 08:37:52 UTC
Confirmed fixed.  Thanks.