GroovyBeanDefinitionReader does not fully support XML config files [SPR-12769] #17366
Closed
1 task done
Labels
Milestone
Sam Brannen opened SPR-12769 and commented
Status Quo
The class-level Javadoc for
GroovyBeanDefinitionReader
states the following.However, the support for XML configuration files is actually limited since
GroovyBeanDefinitionReader
disables XML validation for theXmlBeanDefinitionReader
that it uses internally. As a consequence, certain standard features for XML configuration files do not work. For example, as discussed in #17365, the absence of XML validation causes thedefault
value of thetype
attribute (defined in thespring-beans
XSD) in the<qualifier>
tag to be ignored, and this results in aBeanDefinitionParsingException
when theApplicationContext
is loaded.Deliverables
GroovyBeanDefinitionReader
.Affects: 4.0 GA
Issue Links:
Referenced from: commits e24a7de, 7edc7c2, b6f22aa
The text was updated successfully, but these errors were encountered: