Are we actually using the spring.schemas files?
Cantor, Scott
cantor.2 at osu.edu
Sun Feb 2 13:52:08 EST 2014
Ok, I managed to find a partial explanation, at least. If I point
schemaLocations at something like this:
http://shibboleth.net
That doesn't work.
If I use this:
http://shibboleth.net/foo.xsd
That works. Meaning I can map that URL to schemas/something.xsd in
spring.schemas and it manages to find and load the right schema.
So far I don't understand why this is, because the schema loading code
(PluggableSchemaResolver) doesn't care what's in the systemId URI you hand
it, it just loads spring.schemas as a property set and looks for a match.
I'm pretty sure something upstream of that code is filtering out attempts
to do the mapping lookup if the URI doesn't end in ".xsd". I tried using
foo.xml and foo.foo and that also fails.
I can't believe the code would be so braindead as to care about this, but
when it comes to XML, I've learned braindead is the form. I'll keep
looking into it now that I know what I'm looking for.
-- Scott
More information about the dev
mailing list