Hi all,

I am using jibx to marshall my objects to xml. After this, the xml is
validated against an xsd. The xsd contains a lot of <xs:maxLength>
restrictions.

Does anybody know of a way to set the same restrictions in the jibx
mapping? The behaviour I would like to have is either an exception
thrown during marshalling or an automatic truncate of the string
value.

Any help is greatly appreciated, thanks in advance!

Niels.

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
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to