|
Well, Ragunath, I may be able to help with your
problem, I hope you can help with mine! You are referencing the XSD from your
XML file, which you are opening from an InputStream. From an application, it
appears to me that the reference to your files is relative from the
directory where the process started. It appears to be that coincidence that is
allowing the parser to look in the correct place for any other required files.
That's where you put them, isn't it! Your servlet engine is probably running
from it's bin directory, however.
As I recall, the InputSource was created to
maintain the link between file contents and location. In my experience, however,
it does not - by itself - keep the URIs for the various input sources straight
by any set of rules that I could discern. I don't exactly get how it works from
the javadoc. I'd love to hear how exactly how InputSource works. Does this
help?
RKW
|
- XML Schema Validation Keith Welch
- RE: XML Schema Validation Ragunath Marudhachalam
- RE: XML Schema Validation Keith Welch
- RE: XML Schema Validation Ragunath Marudhachalam
- RE: XML Schema Validation Ragunath Marudhachalam
- Re: XML Schema Validation Keith Welch
- Idea for the ErrorHandler Brad O'Hearne
- RE: XML Schema Validation Leonardo Battagli
- RE: XML Schema Validation Ragunath Marudhachalam
- RE: XML Schema Validation Leonardo Battagli
- RE: XML Schema Validation Scott J. Geertgens
- RE: XML Schema Validation DPawson
- RE: XML Schema Validation Stefan Lecho
