pjfanning opened a new pull request, #122:
URL: https://github.com/apache/poi-xmlbeans/pull/122
Supersedes #38, which only bumped the version.
Saxon 13 requires Java 17, so building xmlbeans now needs JDK 17. The
xmlbeans jar itself still targets Java 8 bytecode, and Saxon remains a
`provided` dependency. Users of the Saxon-backed XPath/XQuery support now need
Saxon 13 (and therefore Java 17); this code no longer compiles against Saxon 12.
Changes:
- `SaxonXQuery`: Saxon 13 API changes
- `HashTrieMap` removed → `GeneralMapBuilder(config.getMapSpecVersion())`
- 8-arg `DurationValue` constructor removed →
`DurationValue.makeDuration(...)` (as a side effect, fractional seconds are no
longer dropped)
- `DateValue.makeDateValue(UnicodeString, ConversionRules)` removed →
`DateValue.tryParseDate(str, allowYearZero)`
- `SaxonXPathEngine`: use `AtomicValue.getStringValue()` for atomic results;
in Saxon 13 `toString()` returns a debug form (e.g. `DayTimeDuration 172800S`
instead of `P2D`), which broke `TypesTest.testDuration`
- Version bump in `build.gradle`, `build.xml`, maven poms,
`LICENSE-binary.txt`
- `test-gradle.yml` and `publish-snapshot.yml` build with JDK 17
Tested locally with JDK 17: `./gradlew test` passes (3180 tests, 170
skipped).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]