Skip to content

Commit

Permalink
Use single quotes throughout DWC core/extension templates.
Browse files Browse the repository at this point in the history
Also trim trailing whitespace.
  • Loading branch information
MattBlissett committed Aug 17, 2021
1 parent db0a54b commit 1738b30
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 20 deletions.
10 changes: 5 additions & 5 deletions build/event_core.tmpl
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet type='text/xsl' href='/style/human.xsl'?>
<extension xmlns='http://rs.gbif.org/extension/'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:dc='http://purl.org/dc/terms/'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:dc='http://purl.org/dc/terms/'
xsi:schemaLocation='http://rs.gbif.org/extension/ http://rs.gbif.org/schema/extension.xsd'
dc:title='Darwin Core Event'
name='Event' namespace='http://rs.tdwg.org/dwc/terms/'
dc:title='Darwin Core Event'
name='Event' namespace='http://rs.tdwg.org/dwc/terms/'
rowType='http://rs.tdwg.org/dwc/terms/Event'
dc:issued="2021-07-15"
dc:issued='2021-07-15'
dc:relation='https://dwc.tdwg.org/terms/#event'
dc:description='The category of information pertaining to an action that occurs at some location during some time.'>
1 change: 0 additions & 1 deletion build/extended_mof.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@
dc:subject='dwc:Taxon dwc:Event'
dc:relation='https://dwc.tdwg.org/terms/#measurementorfact'
dc:description='Extended support for measurements or facts, allowing links to any Core plus to records in an Occurrence Extension. For example, when used with an Event Core, this extension can be used to store measurements or facts related to a biological occurrence (through the built-in occurrenceID), to environmental measurements or facts, and to sampling method attributes. This extension includes dwciri terms that can be used for IRI-based identifiers to values in controlled vocabularies for measurementType, measurementValue, and measurementUnit.'>

12 changes: 6 additions & 6 deletions build/identification_history.tmpl
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet type='text/xsl' href='/style/human.xsl'?>
<extension xmlns='http://rs.gbif.org/extension/'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:dc='http://purl.org/dc/terms/'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:dc='http://purl.org/dc/terms/'
xsi:schemaLocation='http://rs.gbif.org/extension/ http://rs.gbif.org/schema/extension.xsd'
dc:title="Darwin Core Identification History"
name="Identification" namespace="http://rs.tdwg.org/dwc/terms/"
rowType="http://rs.tdwg.org/dwc/terms/Identification"
dc:title='Darwin Core Identification History'
name='Identification' namespace='http://rs.tdwg.org/dwc/terms/'
rowType='http://rs.tdwg.org/dwc/terms/Identification'
dc:issued='2021-07-15'
dc:relation='https://dwc.tdwg.org/terms/#identification'
dc:description="Support for multiple identifications (determinations) of species Occurrences. All identifications including the most current one should be listed, while the current one should also be repeated in the Occurrence Core.">
dc:description='Support for multiple identifications (determinations) of species Occurrences. All identifications including the most current one should be listed, while the current one should also be repeated in the Occurrence Core.'>
2 changes: 1 addition & 1 deletion build/measurements_or_facts.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:dc='http://purl.org/dc/terms/'
xsi:schemaLocation='http://rs.gbif.org/extension/ http://rs.gbif.org/schema/extension.xsd'
dc:title="Darwin Core Measurement Or Facts"
dc:title='Darwin Core Measurement Or Facts'
name='MeasurementOrFact' namespace='http://rs.tdwg.org/dwc/terms/'
rowType='http://rs.tdwg.org/dwc/terms/MeasurementOrFact'
dc:issued='2021-07-15'
Expand Down
6 changes: 3 additions & 3 deletions build/resource_relationship.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:dc='http://purl.org/dc/terms/'
xsi:schemaLocation='http://rs.gbif.org/extension/ http://rs.gbif.org/schema/extension.xsd'
dc:title="Darwin Core Resource Relationship"
name="ResourceRelationship" namespace="http://rs.tdwg.org/dwc/terms/"
rowType="http://rs.tdwg.org/dwc/terms/ResourceRelationship"
dc:title='Darwin Core Resource Relationship'
name='ResourceRelationship' namespace='http://rs.tdwg.org/dwc/terms/'
rowType='http://rs.tdwg.org/dwc/terms/ResourceRelationship'
dc:issued='2021-07-15'
dc:subject='dwc:Occurrence dwc:Event dwc:Taxon'
dc:relation='https://dwc.tdwg.org/terms/#resourcerelationship'
Expand Down
8 changes: 4 additions & 4 deletions build/taxon_core.tmpl
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet type='text/xsl' href='/style/human.xsl'?>
<extension xmlns='http://rs.gbif.org/extension/'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:dc='http://purl.org/dc/terms/'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:dc='http://purl.org/dc/terms/'
xsi:schemaLocation='http://rs.gbif.org/extension/ http://rs.gbif.org/schema/extension.xsd'
dc:title='Darwin Core Taxon'
name='Taxon' namespace='http://rs.tdwg.org/dwc/terms/'
dc:title='Darwin Core Taxon'
name='Taxon' namespace='http://rs.tdwg.org/dwc/terms/'
rowType='http://rs.tdwg.org/dwc/terms/Taxon'
dc:issued='2021-07-15'
dc:relation='https://dwc.tdwg.org/terms/#taxon'
Expand Down

0 comments on commit 1738b30

Please sign in to comment.