ppkarwasz opened a new pull request, #55: URL: https://github.com/apache/commons-xml/pull/55
Follow-up to #53, as discussed in review there. The six public factory classes no longer extend their JAXP factory type: the instance surface moves verbatim into a `private static final class Wrapper`, and the hardeners construct it through a package-private `wrap` method. This way no JAXP static method is hidden, and users cannot accidentally obtain a non-hardened factory by calling an inherited method such as `newInstance(String, ClassLoader)` or `newDefaultInstance()`. A new smoke test pins the does-not-extend property. Also renames `HardeningXPathFactory.newXPathFactory()` to `newInstance()` for consistency with its siblings (index.md already documented it as `newInstance()`), and fixes the two broken DOM/SAX usage snippets in index.md. Verified with the full surefire matrix plus the Android instrumentation suite (199 tests on API 33). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01WWJ4LAxx3TX5RwNvwKbAS3 -- 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]
