Closed mbjones closed 7 years ago
Original Redmine Comment Author Name: Jing Tao (Jing Tao) Original Date: 2009-02-24T21:27:50Z
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.
Original Redmine Comment Author Name: Redmine Admin (Redmine Admin) Original Date: 2013-03-27T21:24:42Z
Original Bugzilla ID was 3836
Author Name: Margaret O'Brien (Margaret O'Brien) Original Redmine Issue: 3836, https://projects.ecoinformatics.org/ecoinfo/issues/3836 Original Date: 2009-02-24 Original Assignee: Matt Jones
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.