OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   minInclusive/maxInclusive don't work for float

[ Lists Home | Date Index | Thread Index ]
  • From: Ramesh Gupta <ramesh@eNode.com>
  • To: xml-dev@xml.org
  • 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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS