D
Dizzy Haze
This is probably a really dumb question, but I'm trying to get my head
around what's going on here.
I have this in my document:
<div xml:id="Area_0">
<svg xmlns="http://www.w3.org/2000/svg">
<rect svg:id="Area_0" x="49" y="116" width="64" height="64"/>
<rect svg:id="Area_1" x="250" y="272" width="128" height="130"/>
</svg>
</div>
This will not validate because there are two attribute of the type
xs:ID with the same value (Area_0) in the document.
Is this correct? I'm wondering if the different namespaces, xml:id and
svg:id, should cause the IDs to be considered independently of one
another. Or does an ID type apply everywhere, regardless of namespace?
Thanks.
around what's going on here.
I have this in my document:
<div xml:id="Area_0">
<svg xmlns="http://www.w3.org/2000/svg">
<rect svg:id="Area_0" x="49" y="116" width="64" height="64"/>
<rect svg:id="Area_1" x="250" y="272" width="128" height="130"/>
</svg>
</div>
This will not validate because there are two attribute of the type
xs:ID with the same value (Area_0) in the document.
Is this correct? I'm wondering if the different namespaces, xml:id and
svg:id, should cause the IDs to be considered independently of one
another. Or does an ID type apply everywhere, regardless of namespace?
Thanks.