users@jaxb.java.net

RE: JAXB Max Exclusive

From: <trent.andrews_at_rainhail.com>
Date: Tue, 27 Jul 2004 07:55:43 -0500

I figured out my problem I need to use the validator class to stop this from
happening.
 
Trent


  _____

From: trent.andrews_at_rainhail.com [mailto:trent.andrews_at_rainhail.com]
Sent: Tuesday, July 27, 2004 6:38 AM
To: users_at_jaxb.dev.java.net
Subject: JAXB Max Exclusive


I was looking at an example
 
            jwsdp-1.4\jaxb\samples\create-marshal
 
Excerpt from Schema File
 
    <xsd:element name="quantity">
           <xsd:simpleType>
             <xsd:restriction base="xsd:positiveInteger">
               <xsd:maxExclusive value="100"/>
             </xsd:restriction>
           </xsd:simpleType>
    </xsd:element>
 
So I changed the Main.java Example to have quantities over 100. Should jaxb
stop this from happening ?
 
Thanks
 
Trent Andrews
Programmer/Analyst
 
IT Division of Rain & Hail L.L.C.
515-559-1290
Fax: 515-559-1695
mailto:trent.andrews_at_rainhail.com <mailto:trent.andrews_at_rainhail.com>
http://www.rainhail.com <http://www.rainhail.com/>