xsi:schemaLocation trouble

Having trouble installing Oxygen? Got a bug to report? Post it all here.
mashu

xsi:schemaLocation trouble

Post by mashu »

The place of a schema is specified to be xsi:schemaLocation. Description which goes back a two or more layer directory was carried out. It seems that it becomes impossible to discover well the schema which is import(ing) when it does so.

ex. problem occurs.
xsi:schemaLocation="http://www.ggf.org/namespaces/ws-agreement ../../xsd/ws-agreement.xsd http://schemas.xmlsoap.org/ws/2003/03/addressing ../../xsd/wsa.xsd"

ex. problem does not occurs.
xsi:schemaLocation="http://www.ggf.org/namespaces/ws-agreement ../xsd/ws-agreement.xsd http://schemas.xmlsoap.org/ws/2003/03/addressing ../xsd/wsa.xsd"
tavy
Posts: 365
Joined: Thu Jul 01, 2004 12:29 pm

Small test works

Post by tavy »

Hello,

We made a small test starting from your sample code and it seems to work fine.
Please try and see if the schemas refered to in the xsi:schemaLocation are actually where the path points to. In the xml file you constructed you can set the caret position on one schema path like
../../xsd/ws-agreement.xsd
, right click and select "Open file at cursor" from the pop-up menu. If this does not work, maybe the xsd file is somewhere else.

If you still have problems, please contact us at "support@oxygenxml.com" and give some more details like:
--sample test files.
--the directory structure you are working in
--what you want to accomplish

Regards, Tavy.
Post Reply