[Home] [By Thread] [By Date] [Recent Entries]

  • From: Ramesh Gupta <ramesh@e...>
  • To: xml-dev@x...
  • Date: Fri, 13 Oct 2000 10:00:16 -0700

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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member