The GitHub Actions job "CodeQL" on 
commons-secure-xml.git/fix/xml-filter-transformer-reuse has succeeded.
Run started by GitHub user ppkarwasz (triggered by ppkarwasz).

Head commit for run:
af67f92656b01fbbd15ad2475e1481b63a1cb6f1 / Piotr P. Karwasz 
<[email protected]>
Create the Transformer of an XMLFilter eagerly.

SAXTransformerFactory.newXMLFilter now builds the Transformer the filter
drives, so a failure to create it is reported from newXMLFilter rather than
from the first parse, and every parse of a filter runs on that one
Transformer, the way the stock TrAX filters do.

The work a parse used to repeat moves to the setters: setParent wires the
resolver, DTD and error callbacks onto the parent, and setContentHandler
builds the SAXResult the transformation writes to. It is the filter that is
installed on the parent, not the caller's callbacks, so a resolver or
handler the caller sets afterwards is still reached.

The ContentHandler role inherited from XMLFilterImpl is not usable: events
pushed into it would reach the caller's handler untransformed, so
startDocument now fails and names the TrAX shape for that job.

Assisted-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01AaDyR9HjZLWkFn42x7kje3

Report URL: 
https://github.com/apache/commons-secure-xml/actions/runs/34749828331

With regards,
GitHub Actions via GitBox

Reply via email to