Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


xsi:schemaLocation in any element

From: Manos Batsis <manos_lists@----------.--->
To: XML Developers List <xml-dev@-----.---.--->
Date: 10/4/2008 4:53:00 PM
Quoting from [1]:


"xsi:schemaLocation and xsi:noNamespaceSchemaLocation [attributes] can 
occur on any element. However, it is an error if such an attribute 
occurs after the first appearance of an element or attribute information 
item within an element information item initially ·validated· whose 
[namespace name] it addresses."



Does this mean that

<n1:root xmlns:n1="http://n1">
	<n1:child xsi:schemaLocation="http://n1 schema_n1.xsd" />
</n1:root>

is wrong? If not, what is? Sorry for the stupid question but I'm dizzy.


[1] http://www.w3.org/TR/xmlschema-1/#schema-loc

Thanks,

Manos


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent