Skip to content

Conversation

@unclesp1d3r
Copy link

This pull request makes improvements to the build configuration by restoring a missing test target and standardizing the placement of the factory element for Saxon TransformerFactory. These changes enhance consistency and ensure alignment with documentation.

Build configuration updates:

  • Restored test target in build.xml: Added a test target to the build file, which was previously removed, to align with the README documentation. This target runs the complete test suite defined in modbuild.xml.

  • Standardized factory element placement in build.xml: Moved the factory element (net.sf.saxon.TransformerFactoryImpl) to follow the classpath element in multiple locations for consistency. This change affects the modbuild and jing-doc targets. [1] [2]

  • Corrected factory element syntax in build.xsl: Replaced an improperly closed factory element with a self-closing tag for net.sf.saxon.TransformerFactoryImpl in the XSL transformation configuration.

- Fix XSLT factory/classpath element ordering in build.xml and build.xsl
- Restore missing test target (was ant-test until f31c15d) to match README
- Prevents "factory doesn't support nested classpath element" errors

Signed-off-by: UncleSp1d3r <[email protected]>
Copilot AI review requested due to automatic review settings July 28, 2025 01:00
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request fixes build configuration issues by restoring a missing test target and standardizing the placement and syntax of Saxon TransformerFactory elements across build files.

  • Restored the test target in build.xml to align with README documentation
  • Standardized factory element placement to follow classpath elements consistently
  • Fixed improper factory element syntax in build.xsl by using self-closing tags

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
build.xml Restored test target and moved factory elements after classpath elements in modbuild and jing-doc targets
build.xsl Fixed factory element syntax by replacing improperly closed tag with self-closing tag

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

Successfully merging this pull request may close these issues.

1 participant