Are we actually using the spring.schemas files?

Cantor, Scott cantor.2 at osu.edu
Sat Feb 1 22:00:59 EST 2014


On 2/1/14, 7:50 PM, "Cantor, Scott" <cantor.2 at osu.edu> wrote:

>On 1/31/14, 10:03 PM, "Brent Putman" <putmanb at georgetown.edu> wrote:
>
>>Ah, could Scott's problem be that this code seems to be turning off
>>schema validation?:
>>
>>// TODO why does validation need to be turned off?
>>definitionReader.setValidationMode(XmlBeanDefinitionReader.VALIDATION_NON
>>E
>>);
>
>Don't know the current state, Rod would know.
>
>I don't understand why it's even looking for the schemas if that's the
>case, but maybe that is why it's not actually going through the
>spring.schemas mappings.

I don't think that code is implicated. That appears to be something to do
with parsing the "substructure" of beans within a data connector, not the
top level parsing of the resolver file. That part is done via
SchemaTypeAwareXMLBeanDefinitionReader, which sets validation mode to
VALIDATION_XSD.

-- Scott




More information about the dev mailing list