Skip to content

451: Schema compatibility - #635

Merged
ndw merged 2 commits into
qt4cg:masterfrom
michaelhkay:Issue451-multiple-schemas
Oct 30, 2023
Merged

451: Schema compatibility#635
ndw merged 2 commits into
qt4cg:masterfrom
michaelhkay:Issue451-multiple-schemas

Conversation

@michaelhkay

Copy link
Copy Markdown
Contributor

This PR addresses part (not all) of issue 451.

It recognises that an application may use more than one schema; for example in a pipeline using multiple stylesheets, it must be possible for the first stylesheet to produce valid output that is valid input to the second, without requiring that the two stylesheet have absolutely identical schema imports. It recognises that there are cases (for example involving substitution groups) where two schemas X and Y may both include the same type T, but produce different results when an element is validated against T. So it defines a concept of schema compatibility and defines its limitations, especially on the semantics of item types such as element(*,T) and schema-element(E). The rules for schema compatibility between different modules of a query and between different packages in a stylesheet are tightened up and brought into line with each other.

@ChristianGruen ChristianGruen added the Revise PR has been discussed and substantive changes requested label Jul 26, 2023
@ChristianGruen ChristianGruen added Blocked PR is blocked (has merge conflicts, doesn't format, etc.) and removed Revise PR has been discussed and substantive changes requested labels Aug 29, 2023
@michaelhkay
michaelhkay force-pushed the Issue451-multiple-schemas branch from f214500 to b986bd4 Compare September 28, 2023 10:19
@michaelhkay michaelhkay removed the Blocked PR is blocked (has merge conflicts, doesn't format, etc.) label Sep 28, 2023
@michaelhkay

Copy link
Copy Markdown
Contributor Author

I have updated the PR mainly to eliminate merge conflicts; but at the same time I have revised XDM §2.8.3 to bring it up to date; in particular the derived types xs:dayTimeDuration and xs:yearMonthDuration are defined entirely by reference to XSD 1.1.

@michaelhkay michaelhkay added the Tests Needed Tests need to be written or merged label Sep 28, 2023
@ChristianGruen ChristianGruen added the Blocked PR is blocked (has merge conflicts, doesn't format, etc.) label Oct 9, 2023
@michaelhkay
michaelhkay force-pushed the Issue451-multiple-schemas branch from c83f40b to 67b06cf Compare October 10, 2023 20:22
@michaelhkay michaelhkay removed the Blocked PR is blocked (has merge conflicts, doesn't format, etc.) label Oct 10, 2023
@ChristianGruen ChristianGruen added the Blocked PR is blocked (has merge conflicts, doesn't format, etc.) label Oct 17, 2023
@michaelhkay
michaelhkay force-pushed the Issue451-multiple-schemas branch from 67b06cf to 15f193b Compare October 18, 2023 11:54
@michaelhkay michaelhkay removed the Blocked PR is blocked (has merge conflicts, doesn't format, etc.) label Oct 18, 2023
@ndw

ndw commented Oct 24, 2023

Copy link
Copy Markdown
Contributor

The CG agreed to accept this PR at meeting 051

@ndw ndw added the Blocked PR is blocked (has merge conflicts, doesn't format, etc.) label Oct 24, 2023
@michaelhkay
michaelhkay force-pushed the Issue451-multiple-schemas branch from 15f193b to 2ee2cd8 Compare October 24, 2023 17:36
@michaelhkay michaelhkay removed the Blocked PR is blocked (has merge conflicts, doesn't format, etc.) label Oct 24, 2023
@michaelhkay

Copy link
Copy Markdown
Contributor Author

The proposal was accepted by the CG on 24 Oct. A new version has been pushed to remove merge conflicts.

@ndw
ndw merged commit 7eff407 into qt4cg:master Oct 30, 2023
@ChristianGruen ChristianGruen mentioned this pull request Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tests Needed Tests need to be written or merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants