-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for id, system, and scope attribute on annotation elements
Resolves #335
- Loading branch information
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<eml:eml packageId="test.1.4" 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 eml.xsd"> | ||
<dataset id="hi"> | ||
<title>Sample datset Description</title> | ||
<creator id="23445" scope="document"> | ||
<individualName> | ||
<surName>Smith</surName> | ||
</individualName> | ||
</creator> | ||
<!-- Annotations can have id, system, and scope set on them --> | ||
<annotation id="myanno" system="earth" scope="document"> | ||
<propertyURI label="Subject">http://purl.org/dc/elements/1.1/subject</propertyURI> | ||
<valueURI label="grassland biome">http://purl.obolibrary.org/obo/ENVO_01000177</valueURI> | ||
</annotation> | ||
<contact id="b"> | ||
<individualName> | ||
<surName>Johnson</surName> | ||
</individualName> | ||
</contact> | ||
<contact> | ||
<references>23445</references> | ||
</contact> | ||
</dataset> | ||
</eml:eml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters