You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@commons.apache.org by GitBox <gi...@apache.org> on 2026/08/29 13:06:42 UTC
[GH] (commons-xml/feat/source-exception-propagation): Workflow run "Java CI" failed!
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 <pk...@apache.org>
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 <no...@anthropic.com>
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