I saw this the data binding article part
4(http://www-128.ibm.com/developerworks/xml/library/x-databd4/)
"As a final note on its limitations, JiBX currently offers relatively weak
validation support compared to many of the other data binding frameworks. "
So, is this still true in the current jibx version (I'm using 1.1.3) ?
If, for example, I have this in the XSD:
<element name="JulianDay" type="integer">
      <xs:simpleType>
         <xs:restriction base="xs:integer">
              <xs:minInclusive value="1"/>
              <xs:maxInclusive value="365"/>
         </xs:restriction>
      </xs:simpleType>
</element>
and the XML have this:
       <JulianDay>400</JulianDay>
Which is obviously an invalid condition, will jibx catch it?  It doesn't
seems too.
Besides writing my custom processing for each object, is there a way to
enforce a valid XML with Jibx?
-- 
View this message in context: 
http://www.nabble.com/XML-validation-against-XSD-schema-tf3194438.html#a8869126
Sent from the jibx-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to