Hi Raghu, I'm trying to work at least partial schema validation into the replacement for Xsd2Jibx. This should include at least basic restriction checking, such as length restrictions for strings.
In the meantime, the JAXP approach suggested by Guenther is probably the easiest way to implement schema validation. It does require that you have the entire document as a string/byte array/file of some sort, though. I used JAXP support in the validation module I wrote for Axis2: http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/validation - Dennis Dennis M. Sosnoski SOA and Web Services in Java Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 Raghu wrote: > Hi All, > > I am new to JIBX. I am trying to do the schema validations using JIBX. > JIBX is doing XSD structural validations well but I want to do element > restriction kind of validations like max length limit etc per > schema.I found like JIBX2.0 is coming up with this feature in the near > future.but for now, I am seeing the following two options. > > 1. using JIBX verification hooks and writing the schema validations. > 2. using some other frameworks for schema validations and use JIBX for > data binding. > > Your valuable suggestions are greatly appreciated. > > Thanks, > Raghu > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users