The GitHub Actions job "Java CI" on 
commons-configuration.git/use-copernik-xml-factory has failed.
Run started by GitHub user ppkarwasz (triggered by ppkarwasz).

Head commit for run:
2ae32064c062bd335ec99bfb70b236079ddf8987 / Piotr P. Karwasz 
<[email protected]>
Resolve schema locally in TestMultiFileConfigurationBuilder

The 2001 test configuration references its schema through an absolute
https URI (xsi:noNamespaceSchemaLocation). The hardened parser does not
fetch external resources, so testSchemaValidationError no longer reached
the intended schema validation error; the entity resolver refused the
remote fetch first.

Register the local testMultiConfiguration.xsd for that system URI via an
XML catalog (CatalogResolver pointing at the existing catalog.xml, which
already rewrites https://commons.apache.org/ to the local test
resources) and set it as the builder's entity resolver. The schema now
loads locally, so the expected SAXParseException validation error is
raised again.

Assisted-By: Claude Opus 4.8 (1M context) <[email protected]>

Report URL: 
https://github.com/apache/commons-configuration/actions/runs/27748166638

With regards,
GitHub Actions via GitBox

Reply via email to