It seems to be the case now that with 1.4.1 when in your XML file you  have
the following attribute xsi:noNamespaceSchemaLocation="MySchema.xsd" for
your root. The parser now looks for this file relative to the XML file where
it used to look for this file relative to where your JAVA application was
running.  So now, the XML file with the attribute listed above would have to
be in the same folder with the MySchema.xsd file.  Now, when you add a
relative path to the XML file to the MySchema.xsd file the Schema is found
but if MySchema.xsd contains an include of another schema and that schemas
files is relative to MySchema.xsd the parser ignores this and uses a path
relative to the XML file.
I hope I explained this well enough, I understand if the parser should go
relative off of the XML data instead of the execution directory (it would be
nice to have a feature to determine this?) but once the schemas is loaded,
any schemas that are mentioned in the original schema should be relative to
the original schema.  Has anyone had this problem and/or solved it? Thanks.
-David NeSmith

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

Reply via email to