The GitHub Actions job "CodeQL" on 
commons-configuration.git/feat/use-commons-xml has succeeded.
Run started by GitHub user ppkarwasz (triggered by ppkarwasz).

Head commit for run:
d650a2bfc05c422306bd380a9ed0594a4da8c59f / 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/33333970448

With regards,
GitHub Actions via GitBox

Reply via email to