[Home] [By Thread] [By Date] [Recent Entries]
In a schema I have:
<!-- ========== -->
<simpleType name="myType" base="float" derivedBy="restriction">
<minInclusive value="0.0"/>
<maxInclusive value="1.0"/>
</simpleType>
<element name="x" type="my:myType"/>
<!-- ========== -->
In an instance document, I have:
<x>23</x>
With Xerces 1.2.0, this is validated without any errors. Any clues, anybody?
TIA,
Ramesh
|

Cart



