You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by ra...@jpmorgan.com on 2004/07/29 17:05:02 UTC

In-memory validation of XML documents


I am currently working on a research project at JPMorgan attempting to find
a way of performing in-memory validation of XML documents against their
schemas. i.e. I want to take a parsed XML document in DOM form, held in
memory, and validate it against a schema. I was wondering whether anyone
has found a way to do this or has been working on a method to do this.
Please let me know if anyone has any ideas on performing in-memory
validation of XML documents.

Thanks.

Rahul Vyas




This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data 
and other information are not warranted as to completeness or accuracy and 
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org


Re: In-memory validation of XML documents

Posted by Ankit Pasricha <an...@ca.ibm.com>.



DOM3 allows you to perform in-memory validation against a given schema.
Xerces provides experimental support for DOM3 apis.
To enable this you will need to compile the xerces2 source using the
'jars-dom3' target in ant. The relevant info is in this article [1].

[1] http://www-106.ibm.com/developerworks/xml/library/x-keydom2.html#l3api


Ankit Pasricha
XML Parser Development
IBM Toronto Lab
8200 Warden Avenue, Ontario L6G 1C7
Phone: (905) 413 4941


                                                                           
             rahul.s.vyas@jpmo                                             
             rgan.com                                                      
                                                                        To 
             07/29/2004 11:05          xerces-j-dev@xml.apache.org         
             AM                                                         cc 
                                       andrew.doddington@jpmorgan.com      
                                                                   Subject 
             Please respond to         In-memory validation of XML         
               xerces-j-dev            documents                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           






I am currently working on a research project at JPMorgan attempting to find
a way of performing in-memory validation of XML documents against their
schemas. i.e. I want to take a parsed XML document in DOM form, held in
memory, and validate it against a schema. I was wondering whether anyone
has found a way to do this or has been working on a method to do this.
Please let me know if anyone has any ideas on performing in-memory
validation of XML documents.

Thanks.

Rahul Vyas




This communication is for informational purposes only.  It is not intended
as
an offer or solicitation for the purchase or sale of any financial
instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made
herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org