The GitHub Actions job "Java CI" on 
commons-xml.git/feat/source-exception-propagation has failed.
Run started by GitHub user ppkarwasz (triggered by ppkarwasz).

Head commit for run:
5558395e1ba9c1bd62b3a844876f061463dcfa0f / Piotr P. Karwasz 
<[email protected]>
Rework exception propagation when securing sources

Source-securing failures used to make round trips between the SAX and
TrAX exception hierarchies: a SAXException raised while provisioning a
secure reader was wrapped into a TransformerConfigurationException and
back into a SAXException on the validation and schema paths, and
SecureXMLFilter.parse buried the parent reader's SAXParseException under
SAXException(TransformerException(...)) for a downstream transformer to
wrap yet again.

Each hierarchy conversion now happens exactly once, at the API boundary
whose checked signature demands it:

- SecureSAXParserFactory.newXMLReader (formerly newSecureXMLReader) and
  secure(Source, boolean) declare their natural
  ParserConfigurationException/SAXException instead of a never-thrown
  TransformerConfigurationException.
- SecureTransformerFactory.secure(Source, boolean) is the TrAX flavor,
  converting once to TransformerConfigurationException for the TrAX
  wrappers.
- FallbackIgnoreURIResolver converts locally to TransformerException,
  keeping the TrAX wrappers out of the XPath shading closure.
- SecureXMLFilter.parse rethrows a SAXException or IOException cause of
  the transform's TransformerException directly, TrAX-filter style, so
  the original SAXParseException or handler exception surfaces as-is.

Assisted-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RZSVucNBf5fsyd1uqamLuk

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

With regards,
GitHub Actions via GitBox

Reply via email to