Skip to content

Commit

Permalink
Modified docbook and test resources to validate and pass tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbjones committed Feb 9, 2018
1 parent 869ebdf commit aca06e6
Show file tree
Hide file tree
Showing 43 changed files with 104 additions and 104 deletions.
6 changes: 3 additions & 3 deletions buildDocBook.xsl
Expand Up @@ -36,9 +36,9 @@
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:doc="eml://ecoinformatics.org/documentation-2.2.0"
version="1.0">
<xsl:output method="xml" indent="yes"/>
<xsl:output doctype-public="-//OASIS//DTD DocBook XML V4.5//EN"/>

<xsl:output method="xml" indent="yes"
doctype-public="-//OASIS//DTD DocBook XML V4.5//EN"
doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/>
<xsl:template match="/">
<book>
<bookinfo>
Expand Down
5 changes: 3 additions & 2 deletions sortDocBook.xsl
Expand Up @@ -35,8 +35,9 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
version="1.0">
<xsl:output method="xml" indent="yes"/>
<xsl:output doctype-public="-//OASIS//DTD DocBook XML V4.5//EN"/>
<xsl:output method="xml" indent="yes"
doctype-public="-//OASIS//DTD DocBook XML V4.5//EN"
doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/>

<xsl:template match="/">
<xsl:apply-templates select="book"/>
Expand Down
18 changes: 9 additions & 9 deletions src/main/java/org/ecoinformatics/eml/SAXValidate.java
Expand Up @@ -179,8 +179,8 @@ private void runTest(Reader xml, String parserName, String schemaLocation, Strin
// Parse the document
parser.parse(new InputSource(xml));
}


/**
* Main method will be called by the script file rnEML parser
*/
Expand All @@ -203,9 +203,9 @@ public static void main(String[] args)
}

String emlfile = "";
String schemaLocation ="eml://ecoinformatics.org/eml-2.1.1 ../eml.xsd "+
"http://www.xml-cml.org/schema/stmml-1.1 ../stmml.xsd ";
String schemaLocation ="eml://ecoinformatics.org/eml-2.1.1 ../xsd/eml.xsd "+
"http://www.xml-cml.org/schema/stmml-1.1 ../xsd/stmml.xsd ";

if(args.length == 2)
{
emlfile = args[0];
Expand All @@ -221,13 +221,13 @@ else if(args.length == 1)

System.out.println("Usage: java org.ecoinformatics.eml.SAXValidate <eml file> [schema location]");
System.out.println(" <eml file> = the EML file to parse");
System.out.println(" <schema location> = use an alternate schema location. The default one is \"eml://ecoinformatics.org/eml-2.1.1 ../eml.xsd\"");
System.out.println(" <schema location> = use an alternate schema location. The default one is \"eml://ecoinformatics.org/eml-2.1.1 ../xsd/eml.xsd\"");

System.exit(0);
}

String namespaceInDoc = null;

try{
//System.out.println("emlfile: " + emlfile + " schemaLocation: " + schemaLocation);
SAXValidate validator = new SAXValidate(true);
Expand Down
5 changes: 2 additions & 3 deletions src/test/resources/eml-access.xml
@@ -1,10 +1,9 @@
<?xml version="1.0"?>
<acc:access authSystem="knb" order="allowFirst"
id="brooke.124.1" scope="document"
xmlns:acc="eml://ecoinformatics.org/access-2.1.1"
xmlns:acc="eml://ecoinformatics.org/access-2.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="eml://ecoinformatics.org/access-2.1.1
eml-access.xsd">
xsi:schemaLocation="eml://ecoinformatics.org/access-2.2.0 xsd/eml-access.xsd">
<allow>
<principal>uid=brooke,o=NCEAS,dc=ecoinformatics,dc=org</principal>
<permission>all</permission>
Expand Down
6 changes: 3 additions & 3 deletions src/test/resources/eml-attribute.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<att:attributeList id="knb.345.1"
xmlns:att="eml://ecoinformatics.org/attribute-2.1.1"
xmlns:att="eml://ecoinformatics.org/attribute-2.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="eml://ecoinformatics.org/attribute-2.1.1
eml-attribute.xsd">
xsi:schemaLocation="eml://ecoinformatics.org/attribute-2.2.0
xsd/eml-attribute.xsd">
<attribute>
<attributeName>rain</attributeName>
<attributeLabel>Surface Rainfall</attributeLabel>
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/eml-citationWithContact.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<eml:eml packageId="eml.1.1" system="knb" xmlns:eml="eml://ecoinformatics.org/eml-2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1 eml.xsd">
<eml:eml packageId="eml.1.1" system="knb" xmlns:eml="eml://ecoinformatics.org/eml-2.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.2.0 xsd/eml.xsd">
<citation id="sbclter-bibliography.289">
<alternateIdentifier system="sbclter-bibliography">289</alternateIdentifier>
<alternateIdentifier system="DOI">10.1029/2005GL023017</alternateIdentifier>
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/eml-citationWithContactReference.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<eml:eml packageId="eml.1.1" system="knb" xmlns:eml="eml://ecoinformatics.org/eml-2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1 eml.xsd">
<eml:eml packageId="eml.1.1" system="knb" xmlns:eml="eml://ecoinformatics.org/eml-2.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.2.0 xsd/eml.xsd">
<citation id="sbclter-bibliography.289">
<alternateIdentifier system="sbclter-bibliography">289</alternateIdentifier>
<alternateIdentifier system="DOI">10.1029/2005GL023017</alternateIdentifier>
Expand Down
6 changes: 3 additions & 3 deletions src/test/resources/eml-dataTable.xml
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<dt:dataTable id="knb.345.1" scope="document"
system="http://knb.ecoinformatics.org"
xmlns:dt="eml://ecoinformatics.org/dataTable-2.1.1"
xmlns:dt="eml://ecoinformatics.org/dataTable-2.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="eml://ecoinformatics.org/dataTable-2.1.1
eml-dataTable.xsd">
xsi:schemaLocation="eml://ecoinformatics.org/dataTable-2.2.0
xsd/eml-dataTable.xsd">
<alternateIdentifier>TEMPID234</alternateIdentifier>
<entityName>Test Data</entityName>
<entityDescription>This is a test entity that is fake.</entityDescription>
Expand Down
6 changes: 3 additions & 3 deletions src/test/resources/eml-dataset.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<ds:dataset system="KNB"
xmlns:ds="eml://ecoinformatics.org/dataset-2.1.1"
xmlns:ds="eml://ecoinformatics.org/dataset-2.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="eml://ecoinformatics.org/dataset-2.1.1
eml-dataset.xsd">
xsi:schemaLocation="eml://ecoinformatics.org/dataset-2.2.0
xsd/eml-dataset.xsd">
<title>Sample datset Description</title>
<creator id="23445" scope="document">
<individualName>
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/eml-datasetGRing.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<eml:eml xmlns:eml="eml://ecoinformatics.org/eml-2.1.1" xmlns:acc="eml://ecoinformatics.org/access-2.1.1" xmlns:ds="eml://ecoinformatics.org/dataset-2.1.1" xmlns:doc="eml://ecoinformatics.org/documentation-2.1.1" xmlns:cit="eml://ecoinformatics.org/literature-2.1.1" xmlns:prot="eml://ecoinformatics.org/protocol-2.1.1" xmlns:res="eml://ecoinformatics.org/resource-2.1.1" xmlns:sw="eml://ecoinformatics.org/software-2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1
../eml.xsd" packageId="" system="">
<eml:eml xmlns:eml="eml://ecoinformatics.org/eml-2.2.0" xmlns:acc="eml://ecoinformatics.org/access-2.2.0" xmlns:ds="eml://ecoinformatics.org/dataset-2.2.0" xmlns:doc="eml://ecoinformatics.org/documentation-2.2.0" xmlns:cit="eml://ecoinformatics.org/literature-2.2.0" xmlns:prot="eml://ecoinformatics.org/protocol-2.2.0" xmlns:res="eml://ecoinformatics.org/resource-2.2.0" xmlns:sw="eml://ecoinformatics.org/software-2.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.2.0
xsd/eml.xsd" packageId="" system="">
<dataset>
<title>A title dataset with bad gringpoints.
</title>
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/eml-datasetGringpoint.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<eml:eml xmlns:eml="eml://ecoinformatics.org/eml-2.1.1" xmlns:acc="eml://ecoinformatics.org/access-2.1.1" xmlns:ds="eml://ecoinformatics.org/dataset-2.1.1" xmlns:doc="eml://ecoinformatics.org/documentation-2.1.1" xmlns:cit="eml://ecoinformatics.org/literature-2.1.1" xmlns:prot="eml://ecoinformatics.org/protocol-2.1.1" xmlns:res="eml://ecoinformatics.org/resource-2.1.1" xmlns:sw="eml://ecoinformatics.org/software-2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1
../eml.xsd" packageId="" system="">
<eml:eml xmlns:eml="eml://ecoinformatics.org/eml-2.2.0" xmlns:acc="eml://ecoinformatics.org/access-2.2.0" xmlns:ds="eml://ecoinformatics.org/dataset-2.2.0" xmlns:doc="eml://ecoinformatics.org/documentation-2.2.0" xmlns:cit="eml://ecoinformatics.org/literature-2.2.0" xmlns:prot="eml://ecoinformatics.org/protocol-2.2.0" xmlns:res="eml://ecoinformatics.org/resource-2.2.0" xmlns:sw="eml://ecoinformatics.org/software-2.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.2.0
xsd/eml.xsd" packageId="" system="">
<dataset>
<title>A title dataset with bad gringpoints.
</title>
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/eml-datasetMultipleDistribution.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<eml:eml system="KNB" packageId="mypackage.1.1" xmlns:eml="eml://ecoinformatics.org/eml-2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1
../eml.xsd">
<eml:eml system="KNB" packageId="mypackage.1.1" xmlns:eml="eml://ecoinformatics.org/eml-2.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.2.0
xsd/eml.xsd">
<dataset>
<title>Sample datset Description</title>
<creator id="23445" scope="document">
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/eml-datasetWhitespacePatterns.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<eml:eml xmlns:eml="eml://ecoinformatics.org/eml-2.1.1" xmlns:acc="eml://ecoinformatics.org/access-2.1.1" xmlns:ds="eml://ecoinformatics.org/dataset-2.1.1" xmlns:doc="eml://ecoinformatics.org/documentation-2.1.1" xmlns:cit="eml://ecoinformatics.org/literature-2.1.1" xmlns:prot="eml://ecoinformatics.org/protocol-2.1.1" xmlns:res="eml://ecoinformatics.org/resource-2.1.1" xmlns:sw="eml://ecoinformatics.org/software-2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1
../eml.xsd" packageId="" system="">
<eml:eml xmlns:eml="eml://ecoinformatics.org/eml-2.2.0" xmlns:acc="eml://ecoinformatics.org/access-2.2.0" xmlns:ds="eml://ecoinformatics.org/dataset-2.2.0" xmlns:doc="eml://ecoinformatics.org/documentation-2.2.0" xmlns:cit="eml://ecoinformatics.org/literature-2.2.0" xmlns:prot="eml://ecoinformatics.org/protocol-2.2.0" xmlns:res="eml://ecoinformatics.org/resource-2.2.0" xmlns:sw="eml://ecoinformatics.org/software-2.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.2.0
xsd/eml.xsd" packageId="" system="">
<dataset>
<title>
A title:
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/eml-datasetWithAccess.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<eml:eml
packageId="eml.2111.1" system="knb"
xmlns:eml="eml://ecoinformatics.org/eml-2.1.1"
xmlns:eml="eml://ecoinformatics.org/eml-2.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1 ../eml.xsd">
xsi:schemaLocation="eml://ecoinformatics.org/eml-2.2.0 xsd/eml.xsd">

<access authSystem="knb" order="allowFirst" id="brooke.124.1" scope="document">
<allow>
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/eml-datasetWithAccessOverride.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<eml:eml packageId="eml.2111.1" system="knb" xmlns:eml="eml://ecoinformatics.org/eml-2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1 ../eml.xsd">
<eml:eml packageId="eml.2111.1" system="knb" xmlns:eml="eml://ecoinformatics.org/eml-2.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.2.0 xsd/eml.xsd">
<access authSystem="knb" order="allowFirst" id="brooke.124.2" scope="document">
<allow>
<principal>uid=brooke,o=NCEAS,dc=ecoinformatics,dc=org</principal>
Expand Down
16 changes: 8 additions & 8 deletions src/test/resources/eml-datasetWithAccessUnitsLiteralLayout.xml
@@ -1,16 +1,16 @@
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="foo.xsl"?>
<eml:eml xmlns:ds="eml://ecoinformatics.org/dataset-2.1.1"
<eml:eml xmlns:ds="eml://ecoinformatics.org/dataset-2.2.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:eml="eml://ecoinformatics.org/eml-2.1.1"
xmlns:eml="eml://ecoinformatics.org/eml-2.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:res="eml://ecoinformatics.org/resource-2.1.1"
xmlns:doc="eml://ecoinformatics.org/documentation-2.1.1"
xmlns:res="eml://ecoinformatics.org/resource-2.2.0"
xmlns:doc="eml://ecoinformatics.org/documentation-2.2.0"
xmlns:stmml="http://www.xml-cml.org/schema/stmml"
xmlns:sw="eml://ecoinformatics.org/software-2.1.1"
xmlns:prot="eml://ecoinformatics.org/protocol-2.1.1"
xmlns:cit="eml://ecoinformatics.org/literature-2.1.1"
xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1 eml.xsd"
xmlns:sw="eml://ecoinformatics.org/software-2.2.0"
xmlns:prot="eml://ecoinformatics.org/protocol-2.2.0"
xmlns:cit="eml://ecoinformatics.org/literature-2.2.0"
xsi:schemaLocation="eml://ecoinformatics.org/eml-2.2.0 xsd/eml.xsd"
packageId="knb-lter-cdr.958608.1" system="knb" scope="system">

<access scope="document" order="allowFirst" authSystem="knb">
Expand Down
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<eml:eml packageId="eml.1.1" system="knb" xmlns:eml="eml://ecoinformatics.org/eml-2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:stmml="http://www.xml-cml.org/schema/stmml-1.1" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1 eml.xsd">
<eml:eml packageId="eml.1.1" system="knb" xmlns:eml="eml://ecoinformatics.org/eml-2.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:stmml="http://www.xml-cml.org/schema/stmml-1.1" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.2.0 xsd/eml.xsd">
<dataset>
<title>Data from Cedar Creek LTER on productivity and species richness
for use in a workshop titled "An Analysis of the Relationship between
Expand Down
6 changes: 3 additions & 3 deletions src/test/resources/eml-datasetWithCitation.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<eml:eml packageId="eml.1.1" system="knb" xmlns:eml="eml://ecoinformatics.org/eml-2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:stmml="http://www.xml-cml.org/schema/stmml-1.1" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1 eml.xsd">
<eml:eml packageId="eml.1.1" system="knb" xmlns:eml="eml://ecoinformatics.org/eml-2.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:stmml="http://www.xml-cml.org/schema/stmml-1.1" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.2.0 xsd/eml.xsd">
<dataset id="1555" scope="document">
<title>Data from Cedar Creek LTER on productivity and species richness
for use in a workshop titled "An Analysis of the Relationship between
Expand Down Expand Up @@ -335,8 +335,8 @@
1555
</describes>
<metadata>
<cit:citation id="345" scope="document" xmlns:cit="eml://ecoinformatics.org/literature-2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/literature-2.1.1
eml-literature.xsd">
<cit:citation id="345" scope="document" xmlns:cit="eml://ecoinformatics.org/literature-2.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/literature-2.2.0
xsd/eml-literature.xsd">
<title>Measuring the effectiveness of EML in the field.</title>
<creator>
<individualName>
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/eml-datasetWithNonwordCharacters.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<eml:eml xmlns:eml="eml://ecoinformatics.org/eml-2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packageId="eml.1.1" system="knb" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1 ../eml.xsd" scope="system">
<eml:eml xmlns:eml="eml://ecoinformatics.org/eml-2.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packageId="eml.1.1" system="knb" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.2.0 xsd/eml.xsd" scope="system">
<dataset scope="document">
<title>Testing insert</title>
<creator scope="document">
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/eml-datasetWithUnits.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<eml:eml packageId="eml.1.1" system="knb" xmlns:eml="eml://ecoinformatics.org/eml-2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:stmml="http://www.xml-cml.org/schema/stmml-1.1" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1 ../eml.xsd">
<eml:eml packageId="eml.1.1" system="knb" xmlns:eml="eml://ecoinformatics.org/eml-2.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:stmml="http://www.xml-cml.org/schema/stmml-1.1" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.2.0 xsd/eml.xsd">
<dataset>
<title>Data from Cedar Creek LTER on productivity and species richness
for use in a workshop titled "An Analysis of the Relationship between
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/eml-entity.xml
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<ent:otherEntity
xmlns:ent="eml://ecoinformatics.org/entity-2.1.1"
xmlns:ent="eml://ecoinformatics.org/entity-2.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="eml://ecoinformatics.org/entity-2.1.1 eml-entity.xsd">
xsi:schemaLocation="eml://ecoinformatics.org/entity-2.2.0 xsd/eml-entity.xsd">

<alternateIdentifier>TEMPID234</alternateIdentifier>
<entityName>Test Data</entityName>
Expand Down
8 changes: 4 additions & 4 deletions src/test/resources/eml-i18n.xml
@@ -1,10 +1,10 @@
<?xml version="1.0"?>
<eml:eml xmlns:eml="eml://ecoinformatics.org/eml-2.1.1"
<eml:eml xmlns:eml="eml://ecoinformatics.org/eml-2.2.0"
xmlns:stmml="http://www.xml-cml.org/schema/stmml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ds="eml://ecoinformatics.org/dataset-2.1.1"
xmlns:ds="eml://ecoinformatics.org/dataset-2.2.0"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
packageId="knb-lter-sbc.14.9"
scope="system" system="knb" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1 eml.xsd" xml:lang="en">
scope="system" system="knb" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.2.0 xsd/eml.xsd" xml:lang="en">
<dataset scope="document">
<shortName>Historical Kelp Database</shortName>
<title xml:lang="es">
Expand Down Expand Up @@ -579,4 +579,4 @@
<caseSensitive>no</caseSensitive>
</dataTable>
</dataset>
</eml:eml>
</eml:eml>
4 changes: 2 additions & 2 deletions src/test/resources/eml-inline.xml
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<phys:physical
xmlns:phys="eml://ecoinformatics.org/physical-2.1.1"
xmlns:phys="eml://ecoinformatics.org/physical-2.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="eml://ecoinformatics.org/physical-2.1.1 eml-physical.xsd">
xsi:schemaLocation="eml://ecoinformatics.org/physical-2.2.0 xsd/eml-physical.xsd">

<objectName>inline_xml_data</objectName>

Expand Down
6 changes: 3 additions & 3 deletions src/test/resources/eml-literature.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<cit:citation id="345" scope="document"
xmlns:cit="eml://ecoinformatics.org/literature-2.1.1"
xmlns:cit="eml://ecoinformatics.org/literature-2.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="eml://ecoinformatics.org/literature-2.1.1
eml-literature.xsd">
xsi:schemaLocation="eml://ecoinformatics.org/literature-2.2.0
xsd/eml-literature.xsd">
<title>Measuring the effectiveness of EML in the field.</title>
<creator>
<individualName>
Expand Down
6 changes: 3 additions & 3 deletions src/test/resources/eml-literatureInPress.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<cit:citation id="345" scope="document"
xmlns:cit="eml://ecoinformatics.org/literature-2.1.1"
xmlns:cit="eml://ecoinformatics.org/literature-2.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="eml://ecoinformatics.org/literature-2.1.1
eml-literature.xsd">
xsi:schemaLocation="eml://ecoinformatics.org/literature-2.2.0
xsd/eml-literature.xsd">
<title>Measuring the effectiveness of EML in the field.</title>
<creator>
<individualName>
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/eml-method.xml
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<met:methods
xmlns:met="eml://ecoinformatics.org/methods-2.1.1"
xmlns:met="eml://ecoinformatics.org/methods-2.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="eml://ecoinformatics.org/methods-2.1.1 eml-methods.xsd">
xsi:schemaLocation="eml://ecoinformatics.org/methods-2.2.0 xsd/eml-methods.xsd">

<methodStep>
<description><para>some method</para></description>
Expand Down

0 comments on commit aca06e6

Please sign in to comment.