# echo "usage: runEMLParser " # echo "where is the file you want to parse." NAMESPACES="eml://ecoinformatics.org/eml-2.0.0 https://knb.ecoinformatics.org/emlparser/schema/eml-2.0.0/eml.xsd eml://ecoinformatics.org/eml-2.0.1 https://knb.ecoinformatics.org/emlparser/schema/eml-2.0.1/eml.xsd eml://ecoinformatics.org/eml-2.1.0 https://knb.ecoinformatics.org/emlparser/schema/eml-2.1.0/eml.xsd eml://ecoinformatics.org/eml-2.1.1 https://knb.ecoinformatics.org/emlparser/schema/eml-2.1.1/eml.xsd https://eml.ecoinformatics.org/eml-2.2.0 xsd/eml.xsd eml://ecoinformatics.org/literature-2.1.0 https://knb.ecoinformatics.org/emlparser/schema/eml-2.1.0/eml-literature.xsd eml://ecoinformatics.org/project-2.1.0 https://knb.ecoinformatics.org/emlparser/schema/eml-2.1.0/eml-project.xsd eml://ecoinformatics.org/literature-2.1.1 https://knb.ecoinformatics.org/emlparser/schema/eml-2.1.1/eml-literature.xsd eml://ecoinformatics.org/project-2.1.1 https://knb.ecoinformatics.org/emlparser/schema/eml-2.1.1/eml-project.xsd http://www.xml-cml.org/schema/stmml-1.1 https://knb.ecoinformatics.org/emlparser/schema/eml-2.1.0/stmml.xsd http://www.xml-cml.org/schema/stmml https://knb.ecoinformatics.org/emlparser/schema/eml-2.0.1/stmml.xsd" CLASSPATH="./lib/eml.jar:./lib/xercesImpl-2.12.0.jar:./lib/xml-apis-1.4.01.jar:./lib/xalan-2.7.2.jar:./lib/apache/servlet.jar" java -cp "$CLASSPATH" org.ecoinformatics.eml.EMLValidator $1 java -cp "$CLASSPATH" org.ecoinformatics.eml.SAXValidate $1 "$NAMESPACES"