The noNamespaceSchemaLocation attribute references an XML Schema document that does not have a target namespace.

<xsi:noNamespaceSchemaLocation="anyURI" >


The location of a schema that contains unqualified (a schema without a namespace) schema constructs.

An XML Schema is not required to have a namespace. To specify the location for an XML Schema that does not have a target namespace, use the noNamespaceSchemaLocation attribute. The XML Schema referenced in this attribute cannot have a target namespace. Because this attribute does not take a list of URLs, you can only specify one schema location.

According to the World Wide Web Consortium (W3C) XML Schema Recommendation, XML instance documents can have both xsi:schemaLocation and xsi:noNamespaceSchemaLocation attributes specified.

The following example shows the use of the xsi:noNamespaceSchemaLocation attribute on an instance document that contains unqualified elements.

<person xmlns:xsi= ""

Community Additions