Go Back   Velocity Reviews > Newsgroups > XML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

XML - Schema validate from DOM Document without reparsing

 
Thread Tools Search this Thread
Old 06-24-2003, 12:43 PM   #1
Default Schema validate from DOM Document without reparsing


Hello

I want to validate against an XML Schema from a DOM Document object
without reparsing. If the XML Schema is also from a DOM Document it
would be even better. I work with Java.

It seems that Xerces validates while it parses, so a solution would be
to generate SAX events from my DOM Document.
But I could'nt find a hint in the Xerces documentation.

PS I allready have the recipy to validate from a file or URL by
specifying the Schema and ignore the schemaLocation in the document :
http://jmvanel.free.fr/xsd/Counter.java


Jean-Marc Vanel
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump