ppkarwasz opened a new pull request, #288:
URL: https://github.com/apache/commons-jxpath/pull/288

   > [!WARNING]
   > This PR was submitted automatically to smoke-test
   > [Apache Commons Secure XML](https://github.com/apache/commons-xml)
   > and has not yet been verified by a human.
   > It will stay a draft until a committer reviews it and marks it ready.
   
   Creates XML parsers and transformers through 
`org.apache.commons:commons-secure-xml` (1.0.0-SNAPSHOT until its first 
release). The secure factories enable XML secure processing and install a 
non-removable entity-resolver floor: external DTD, entity, schema and XInclude 
lookups that a caller-set resolver does not resolve are resolved to empty 
content instead of being fetched, and internal entity expansion is bounded.
   
   - `DOMParser` goes through `SecureDocumentBuilderFactory` and 
`XMLDocumentContainer` through `SecureTransformerFactory`; the 
caller-configurable settings (validation, namespace awareness, entity 
expansion, whitespace, comments, coalescing) keep working.
   - `JDOMParser` builds its SAX reader through the secure factory as well, by 
overriding `SAXBuilder.createParser()`; documents with internal DTD subsets 
parse as before.
   - Parsers registered through `DocumentContainer.registerXMLParser` remain 
under the control of their authors.
   - CI and CodeQL run with `-Puse-apache-snapshots` so the SNAPSHOT dependency 
resolves.
   
   🤖 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]

Reply via email to