W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2007

Re: Unable to locate a reference

From: Gerben <gerben.abbink@wanadoo.nl>
Date: Wed, 27 Jun 2007 06:29:15 -0700 (PDT)
Message-ID: <11324464.post@talk.nabble.com>
To: xmlschema-dev@w3.org

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
-- 
View this message in context: http://www.nabble.com/Unable-to-locate-a-reference-tf3987736.html#a11324464
Sent from the w3.org - xmlschema-dev mailing list archive at Nabble.com.
Received on Wednesday, 27 June 2007 18:07:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:59 GMT