You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Paul Sorenson <pa...@classware.com.au> on 2003/04/01 13:54:53 UTC

alternative locations for schema files

I have xml files which are uncompressed into a temporary directory.  These
files reference an xml schema file which extends a second schema file.  To
validate the uncompressed file I have resorted to copying the schemas to the
same directory as the xml instance.

I am using JDom with xerces SAX parser.  I first tried setting the
...schemaLocation properties and this didn't seem to have much effect.

I then tried setting a custom EntityResolver - I made some progress here,
the first level schema appeared to be recognised but the parser seemed to
ignore the presence of the "base" schema.

I figure I am missing something fairly fundamental here.

Any clues would be appreciated.

sos


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org