You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by Eran Chinthaka <ch...@opensource.lk> on 2007/06/03 04:54:55 UTC

XML Validation

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

How about having a schema validator for Axiom. Since it is bit of a
hard/time consuming process, what I thought was to import the llom node
to doom and then use a DOM library to validate.
So the problem boils down to the following. If you already have a DOM
element, how can you validate it against a given schema.
I know how to do it creating a SAXParser and switching on validation.
But this requires me to read the whole XML again using a parser.
So do u know a way to validate an existing DOM document against a schema?

Chinthaka
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGYi1/jON2uBzUhh8RAiy8AJ0cSfllROIuz00nL5/ZrUWaBPtqBgCgiDHb
ppihOZH4h9FCVUI+JiFDU0c=
=E/PC
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org