Conversation
Co-authored-by: chrjohn <6644028+chrjohn@users.noreply.github.com>
…tion Co-authored-by: chrjohn <6644028+chrjohn@users.noreply.github.com>
…arations Co-authored-by: chrjohn <6644028+chrjohn@users.noreply.github.com>
Copilot
AI
changed the title
Replace JAXB with XSLT/Saxon for Orchestra code and dictionary generation
Replace JAXB/orchestra-repository with XSLT 2.0 + Saxon-HE
Aug 9, 2026
Copilot created this pull request from a session on behalf of
chrjohn
August 9, 2026 18:10
View session
…-stylesheets Co-authored-by: chrjohn <6644028+chrjohn@users.noreply.github.com>
….xml Co-authored-by: chrjohn <6644028+chrjohn@users.noreply.github.com>
Copilot stopped work on behalf of
chrjohn due to an error
September 3, 2026 10:30
Copilot stopped work on behalf of
chrjohn due to an error
September 3, 2026 10:38
Copilot stopped work on behalf of
chrjohn due to an error
September 3, 2026 10:39
Member
|
@copilot |
Copilot stopped work on behalf of
chrjohn due to an error
September 20, 2026 19:37
Copilot stopped work on behalf of
chrjohn due to an error
September 20, 2026 19:48
Copilot stopped work on behalf of
chrjohn due to an error
September 21, 2026 01:51
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.
Eliminates
io.fixprotocol.orchestra:repositoryand all JAXB code from the generator module. XML parsing and tree-walking are replaced by four XSLT 2.0 stylesheets driven by Saxon-HE viajavax.xml.transform.TransformerFactory. CLI and Maven plugin interfaces are unchanged.Core change
OrchestraTransformer— the only new Java class:CodeGeneratorJandDataDictionaryGeneratorbecome thin adapters that forward toOrchestraTransformer.transform(inputFile, stylesheet, outputDir, params).Stylesheets (
src/main/resources/xslt/)common.xslfieldById,groupById, …) and type-mapping functionscode-generator-fields.xsl.javageneration loop inCodeGeneratorJcode-generator-messages.xsldata-dictionary.xslDataDictionaryGeneratortree-walk; emits QuickFIX XML viaxsl:result-documentDependency changes
Removed:
io.fixprotocol.orchestra:repository,jakarta.xml.bind-api,jaxb-implAdded:
net.sf.saxon:Saxon-HE:11.6(compile scope —OutputURIResolverAPI is used directly)Test surface
CodeGeneratorUtilTestandDataDictionaryGeneratorTesthad methods that instantiated JAXBFieldType/Repositoryobjects directly; those are replaced with equivalent tests against the new API. All other tests (OrchestraGoldenFileTestbyte-for-byte golden comparison,CodeGeneratorJSessionExclusionTest, plugin mojos) required no logic changes.