« Return to Thread: Unable to locate a reference

Re: Unable to locate a reference

by Gerben :: Rate this Message:

Reply to Author | View in Thread

The syntax for xsi:schemaLocation is: "namespace1 schema1 namespace2 schema2 ...".

If you open schema "http://www.oasis-open.org/committees/ebxml-cppa/schema/cpp-cpa-2_0.xsd" (schema1) in any editor or web browser you will see that the targetNamespace is also ""http://www.oasis-open.org/committees/ebxml-cppa/schema/cpp-cpa-2_0.xsd" (namespace1).

So, in this case, the correct syntax is:

xsi:schemaLocation="http://www.oasis-open.org/committees/ebxml-cppa/schema/cpp-cpa-2_0.xsd http://www.oasis-open.org/committees/ebxml-cppa/schema/cpp-cpa-2_0.xsd".

Gerben Abbink
xmlBlueprint XML Editor
www.xmlblueprint.com

 « Return to Thread: Unable to locate a reference