Armin,

Xerces look up the files relatively to the directory you're runnning your
prog in, and not the one your first schema is:

> > [Warning] :0:0: File "file:///home/dave/tmp/ML_primitive.xsd" not
found.

Your prog in running in home/dave/tmp/ where it's looking for ML_primitive,
that is not here but in xsd/.
If you change <include schemaLocation="ML_primitive.xsd"/> to <include
schemaLocation="xsd/ML_primitive.xsd"/> in ML.xsd, that works.
Same thing if you move both schemas in tmp/ and remove the relative path in
your instance.

> I have a schema which includes another schema. Xerces doesn't find the
> included schema, if the schema files and the xml file are in different
> directories. What can I do? I know I asked the same question a few days
ago,
> but there was no answer. I really need a solution to the problem.

Cheers

--
Etienne


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to