|Using ResourceSet with InputStream rather than URI [message #597368]
||Wed, 21 December 2005 06:25
Originally posted by: seely_place.yahoo.com|
I would like to load multiple schemas into a ResourceSet
so that I can follow include, import, and redefine
directives and resolve cross-references seamlessly.
The ResourceSet class seems to be based on schemaLocation URIs.
However, I am using schemas where the optional schemaLocation
attribute is not present, nor does the namespace attribute provide
a location for the schema. For example:
<xsd:import namespace="http://example.com/library" />
In this case, my application interacts with the user, locates
the schemas using data supplied by the user, and has each of the
schemas in memory as a separate ByteArrayInputStream.
How can I create a ResourceSet using these in-memory InputStreams?
(and still maintain the seamless cross-referencing capability)
Any guidance would be appreciated!
Powered by FUDForum
. Page generated in 0.02918 seconds