Skip to content

Commit

Permalink
Fix emlparser servlet by adding utilities.jar.
Browse files Browse the repository at this point in the history
Now the servlet runs again and parses 2.2.0 and 2.1.1 docs properly.
  • Loading branch information
mbjones committed Sep 4, 2019
1 parent ffbeb1e commit d575657
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,8 @@
tofile="${servlet.install.dir}/WEB-INF/lib/xml-apis.jar"/>
<copy file="${xmlp}"
tofile="${servlet.install.dir}/WEB-INF/lib/xercesImpl.jar"/>
<copy file="${utilities}"
tofile="${servlet.install.dir}/WEB-INF/lib/utilities.jar"/>

<!-- Copy eml-2.0.0 schema. Add code here for copying any other schemas. -->
<checkout-and-copy dest = "${build.emlgit}" refname = "${eml2_0_0-tag}" target = "${servlet.install.dir}/schema/eml-2.0.0" />
Expand Down
Binary file modified lib/eml.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion src/main/resources/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@
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 https://knb.ecoinformatics.org/emlparser/schema/eml-2.2.0/eml.xsd
https://eml.ecoinformatics.org/eml-2.2.0 https://eml.ecoinformatics.org/eml-2.2.0/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.2 https://eml.ecoinformatics.org//eml-2.2.0/stmml.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
</namespaces>
Expand Down

0 comments on commit d575657

Please sign in to comment.