Are we actually using the spring.schemas files?

Rod Widdowson rdw at steadingsoftware.com
Sun Feb 2 05:59:43 EST 2014


Sorry to be so late in responding.

> >// TODO why does validation need to be turned off?
> >definitionReader.setValidationMode(XmlBeanDefinitionReader.VALIDATIO
> N_NONE

That’s been nagging at me for a while, as Scott says it's to do with the
'stream the element to a InMemoryOutputStream and ten parse it again' stuff
we do for embedded Beans.  I have to be in this space to do the exbedding of
the data connectors and I'll look again, but I have a vague memory that
Daniel might know more.

As to the main question.  I am afraid that I cannot be precise as to the
whens or the exact whats, but I *am* pretty certain that at some stage I
have had a series of schema validation errors when developing the Parsers
and their tests.

At one stage I bottomed this out (stopping at precisely the bit that Scott
wanted to pick up at); so I'll spend some time today trying to work out
how/when it regressed.

/Rod




More information about the dev mailing list