Need of schema validation

Help
2013-07-09
2013-07-09
  • Rahul Shivangi

    Rahul Shivangi - 2013-07-09

    Hi all,
    Currently the memory requirement of ovaldi is very high. It is mainly due to schema validation part of xml files. We have removed the schema validation, this drastically reduced the memory requirement and also the time required by the interpreter.

    I just wanted to know all the side effects, if i choose to skip the schema validation of xml files.

    Regards,
    Rahul.

     
  • Michael Chisholm

    As var as XML-Schema validation of inputs, disabling that will mean that errors in input may not be caught, and some code within ovaldi assumes correctness of input. If input is not correct, you may get crashes or other unpredictable results.

    If you are authoring your own content, you may miss errors in it. If you submit content, you need to ensure it validates, both with XML-Schema and schematron [1], [2].

    I assume you didn't need to disable validation of outputs, or schematron validation of inputs or outputs--that is already possible via commandline parameters.

    Andy

    1. http://oval.mitre.org/repository/about/submission.html
    2. http://oval.mitre.org/language/about/validating.html
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks