Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SAXParser does not find without absolute path the xsd schema

807588Feb 27 2009 — edited Feb 28 2009
Hello
I did this posting in other forum but i think it was the wrong forum for my question.I try it now here again.
I am validating soap messages according to xsd files with the SAXParser, Java 1.4.
My xsds include references to other xsd files as following sample shows:

//xsdNumber1
<xs:include schemaLocation="C:/source/xsdNumber2.xsd"/>


The problem is, how to say the parser where the including files are without working with absolute path as show !?
I need something like this:
<xs:include schemaLocation="source/xsdNumber2.xsd"/>



Help!!
Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 28 2009
Added on Feb 27 2009
2 comments
530 views