Schema validate from DOM Document without reparsing

Discussion in 'XML' started by Jean-Marc Vanel, Jun 24, 2003.

  1. 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, Jun 24, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    2
    Views:
    609
  2. Stanimir Stamenkov
    Replies:
    3
    Views:
    1,335
    Stanimir Stamenkov
    Apr 25, 2005
  3. Novitas
    Replies:
    1
    Views:
    680
    Ian Pilcher
    Sep 14, 2005
  4. Replies:
    3
    Views:
    485
    JAPISoft
    Dec 15, 2005
  5. dc
    Replies:
    1
    Views:
    115
    Chris Carter
    Feb 3, 2007
Loading...

Share This Page