Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests for override and redefines #8

Open
michaelhkay opened this issue Jul 26, 2023 · 0 comments
Open

Tests for override and redefines #8

michaelhkay opened this issue Jul 26, 2023 · 0 comments

Comments

@michaelhkay
Copy link
Contributor

michaelhkay commented Jul 26, 2023

There's a difference between the IBM and Saxonica XSD 1.1 tests for xs:override. The IBM tests list both the overriding and overridden schema documents in the test metadata (without distinguishing them); the Saxonica tests list only the overriding document.

The convention used in the IBM tests makes life rather difficult for test drivers. If you build a schema naively using both schema documents, you get a conflict. To alleviate matters with minimum disruption, I propose to mark any schema documents that are overridden with an attribute such as role="overridden" in the test metadata; I'll also enable role="imported | included | redefined" for other schema documents that don't need to be loaded as primary sources because they are referenced from elsewhere, and role="principal" for a schema document that is not referenced from elsewhere. (But I don't intend to use this markup everywhere, only in cases where it solves problems.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant