Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Local Cache of Schemas
Local Cache of Schemas [message #572931] Sun, 15 June 2003 23:52
Jens Lukowski is currently offline Jens LukowskiFriend
Messages: 5
Registered: July 2009
Junior Member
Hi

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

thanx
Jens Lukowski
Previous Topic:Problems with: xsdSchema.setSchemaForSchemaQNamePrefix("xsd:")
Next Topic:Problems with: xsdSchema.setSchemaForSchemaQNamePrefix("xsd:")
Goto Forum:
  


Current Time: Sat Aug 08 00:58:30 GMT 2020

Powered by FUDForum. Page generated in 0.02099 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top