|Local Cache of Schemas [message #572931]
||Sun, 15 June 2003 23:52
| Jens Lukowski
Registered: July 2009
I want to use a local cache for my resources/schemas.
I tried to provide my own URIResolver and looked at the example in the docs.
Everything works fine if I pass back the URI I get (an absolute one with
http://) but if I map the URI to a file:// URI it only loads the outermost
schema and doesn't have any element declarations. I checked the inputstream
generated by URIResolver.createInputStream and it has the correct schema
file in it but the URIResolver is never called for the other schemas
referenced by import or include.
What do I do wrong ? I also tried calling schema.setLocation but it didn't
make any difference.
The xsd file I use is: http://www.w3.org/TR/voicexml20/vxml.xsd
Powered by FUDForum
. Page generated in 0.02099 seconds