Menu

Doubt about XML Parser

Help
2012-11-08
2013-09-26
  • Manfred von Runkel

    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.

     
  • Michael Chisholm

    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?

    Andy

     
  • Manfred von Runkel

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

     

Log in to post a comment.