Doubt about XML Parser

  • Hi!

    I would like to know if there is a fast way to read  the definitions from the definition file (and do not send to memory). For example, if its necessary to read something it access the file, not the memory. What im seeing that the PARSER process is very slow. I would like to change this behavior.

    Thank You.

  • There isn't.  ovaldi uses the Xerces DOM parser, which reads everything into memory.  I haven't found parsing to be particularly slow though.  Are you enabling Schematron validation?  That causes a long pause after the document is loaded, while the additional validation occurs.  Perhaps that's what you are seeing?


  • Hi Michael,
    Yes, i had some problems with the schematron validation. After this, the speed increased. Thank you.