← Prev in month ← Prev in thread
Next in thread → Next in month →

xsi:schemaLocation in any element

From
Manos Batsis <>
To
XML Developers List <>
Date
2008-10-04T16:55:15Z
ID
<>
Thread
xsi:schemaLocation in any element
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
← Prev in month ← Prev in thread
Next in thread → Next in month →