Project

General

Profile

Actions

Bug #3836

closed

runEMLParser script should include saxvalidate

Added by Margaret O'Brien about 15 years ago. Updated about 15 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
eml-parser
Target version:
Start date:
02/24/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3836

Description

a script is located in the /lib/ called runEMLParser which runs a java class to check references and IDs in instance documents. It does not check the document against the schema (SAXValidate). The online emlparser and the unit tests run both, and the parser script would be more useful if it also ran both. It should only validate against the schema in it's parent directory, so in eml 2.1, you would only be able to validate 2.1 instances.

Actions #1

Updated by Jing Tao about 15 years ago

A main method in SAXValidate class was added. This main method will invoke the method which will validate the eml instance against schema. I also add the command line in runEMLParser script to call the class. So now the runEMLPaser will check both reference ids and schema validation.

Actions #2

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 3836

Actions

Also available in: Atom PDF