W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2002

Re: xsi:schemalocation vs. xsi:nonamespaceschemalocation

From: Jeni Tennison <jeni@jenitennison.com>
Date: Wed, 20 Mar 2002 09:50:27 +0000
Message-ID: <164254774476.20020320095027@jenitennison.com>
To: "Manav Singal" <manav_singal@infy.com>
CC: xmlschema-dev@w3.org, David_E3@Verifone.Com
Hi Manav,

> We are faced with big confusion that if a XML document has
> xsi:noNamespaceSchemaLocation, then Schema used for creation of this
> XML doc needs to have targetNamespace or not.

It's fairly straight-forward:

  - if the schema has a target namespace, then you must use
    xsi:schemaLocation to locate it
  - if the schema has not got a target namespace, then you must use
    xsi:noNamespaceSchemaLocation to locate it



Jeni Tennison
Received on Wednesday, 20 March 2002 05:10:02 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:55 UTC