The GitHub Actions job "CI - Groovy Joint Validation Build" on 
grails-core.git/fix/16635-package-grails-context-xsd has failed.
Run started by GitHub user hk2166 (triggered by hk2166).

Head commit for run:
c9374b5319d3b35a72b9e6f58452e75e4b5cc0a1 / hk2166 <[email protected]>
Package grails-context.xsd and fix its target namespace

META-INF/spring.schemas maps
http://grails.org/schema/context/grails-context.xsd to
org/grails/spring/context/annotation/grails-context.xsd, but the file
was under src/main/groovy, which the build does not package. It was
missing from the grails-core jar, so a schema-validated parse of
<grails:component-scan> could not resolve the schema from the classpath
and fetched it from grails.org instead.

The XSD now lives under src/main/resources. Its target namespace is now
http://grails.org/schema/context, the namespace spring.handlers registers
GrailsContextNamespaceHandler for. It declared
http://www.grails.org/schema/context, so even a packaged schema failed
validation with TargetNamespace.1. No working document can have used the
www namespace, because Spring has no namespace handler for it.

Fixes #16635

Co-Authored-By: Claude Opus 5.5 <[email protected]>

Report URL: https://github.com/apache/grails-core/actions/runs/39382180782

With regards,
GitHub Actions via GitBox

Reply via email to