Fix XSD schema files for REST API versions 3.27 and 3.29#112
Open
jacalata wants to merge 1 commit into
Open
Conversation
Regenerate ts-api_3_27.xsd and ts-api_3_29.xsd using fixed XSLT that preserves xs:sequence element order and adds elementFormDefault="qualified". Remove ts-api_3_28.xsd (version 3.28 / server 26.0 is EOL).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ts-api_3_27.xsdandts-api_3_29.xsdusing a fixed XSLT generator that preservesxs:sequenceelement order and addselementFormDefault="qualified"to the schema rootts-api_3_28.xsd(server 26.0 is EOL)The previously published files had child elements inside
xs:sequencesorted alphabetically by the generator, causing element order in the schema to disagree with the server's XML output. This broke JAXB unmarshalling for clients using these XSD files. TheelementFormDefault="qualified"fix also resolves namespace-qualified element matching failures.Test plan
workbookTypeand other sequenced types have correct document-order elements (not alphabetical)xs:schemaroot haselementFormDefault="qualified"ts-api_3_28.xsdis removed🤖 Generated with Claude Code