This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
This test performs validation without importing any schemas. I suspect that otherwise the in-scope schema definitions is implementation defined. In our old test suite, we had a hack to import any schemas referenced in the catalog into the static context before compiling. It would be nice not to have this hack in the new test suite. Without the import, static type analysis can prove that the validation will fail.
as-2906 has a similar problem.
I think you probably have an argument here. The spec says: The components in the schema constructed from the synthetic schema document (see 3.16 Importing Schema Components) will always be available for validating constructed nodes; if additional schema components are needed, they may be located in other ways, for example implicitly from knowledge of the namespace in which the elements and attributes appear, or using the xsi:schemaLocation attribute of elements within the tree being validated. In other words, if we want to ensure interoperable behaviour, we need to have an xsl:import-schema declaration for the schema components needed for validation. It seems to me rather restrictive for a product to allow validation only against a schema that is known statically, but it seems clear from the spec that a conformant product is allowed to impose this restriction. So I have changed the tests accordingly.
Thanks.