hi,

i'm using JiXB for data binding and JAXP 1.3 (using Apache Xerces) validation framework for XSD validation. using the JAXP 1.3 API reduces the time taken for validation extremly! in my tests, the validation of a 600kB XML file took 150ms, which is really ok.

a very good introduction to JAXP 1.3 can be found here:

https://jaxp.dev.java.net/article/jaxp-1_3-article.html

it includes the full code that you need to validate your XML data. Best thing is that using the new validation framework you don't need to use a sax or dom parser any more. and you can reuse the "compiled" schema again and againg, which makes validation really fast when it's reused (e.g. on the server side).

br,
guenther

Am 27.07.2007 um 04:00 schrieb Raghu:

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





--
Günther Wieser
openForce Information Technology GesmbH
Plenergasse 1
A-1180 Wien

[EMAIL PROTECTED]
http://www.openforce.com








--
Günther Wieser
creative-it
Guglgasse 6/1/11/1
A-1110 Wien
[EMAIL PROTECTED]
http://www.creative-it.com


-------------------------------------------------------------------------
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

Reply via email to