Project

General

Profile

« Previous | Next » 

Revision 1807

inputs/QMOR/test: Added initial accepted test outputs

View differences:

inputs/QMOR/test/import.specimens.out.ref
1
Inserted 29 new rows into database
inputs/QMOR/test/DwC.specimens.xml.ref
1
<?xml version="1.0" ?>
2
<DwC xmlns:dcterms="http://purl.org/dc/terms/">
3
    <list id="0">
4
        <institutionID>QMOR</institutionID>
5
        <acceptedNameUsage>Gomphus cornutus Tough, 1900</acceptedNameUsage>
6
        <basisOfRecord>PreservedSpecimen</basisOfRecord>
7
        <bibliographicCitation>QMOR00000001</bibliographicCitation>
8
        <catalogNumber>QMOR00000001</catalogNumber>
9
        <class>Insecta</class>
10
        <collectionCode>QMOR</collectionCode>
11
        <collectionID>urn:lsid:biocol.org:col:34164</collectionID>
12
        <continent>North America</continent>
13
        <country>Canada</country>
14
        <datasetID>http://dataset.canadensys.net/qmor-specimens</datasetID>
15
        <datasetName>Ouellet-Robert entomological collection (QMOR)</datasetName>
16
        <eventDate>1938-06-02</eventDate>
17
        <family>Gomphidae</family>
18
        <genus>Gomphus</genus>
19
        <id>1</id>
20
        <identifiedBy>Robert, Adrien</identifiedBy>
21
        <individualCount>1</individualCount>
22
        <institutionCode>Universit&#233; de Montr&#233;al Biodiversity Centre</institutionCode>
23
        <kingdom>Animalia</kingdom>
24
        <language>en|fr</language>
25
        <lifeStage>adult</lifeStage>
26
        <locality>Rigaud</locality>
27
        <modified>2011-10-31</modified>
28
        <municipality>Rigaud</municipality>
29
        <nomenclaturalCode>ICZN</nomenclaturalCode>
30
        <ownerInstitutionCode>Universit&#233; de Montr&#233;al Biodiversity Centre</ownerInstitutionCode>
31
        <phylum>Arthropoda</phylum>
32
        <preparations>envelope</preparations>
33
        <recordedBy>Robert, Adrien</recordedBy>
34
        <rights>http://creativecommons.org/publicdomain/zero/1.0/ &amp; http://www.canadensys.net/norms</rights>
35
        <rightsHolder>Universit&#233; de Montr&#233;al Biodiversity Centre</rightsHolder>
36
        <scientificName>Gomphus cornutus Tough, 1900</scientificName>
37
        <scientificNameAuthorship>Tough, 1900</scientificNameAuthorship>
38
        <sex>male</sex>
39
        <specificEpithet>cornutus</specificEpithet>
40
        <stateProvince>Qu&#233;bec</stateProvince>
41
        <taxonRank>species</taxonRank>
42
        <type>PhysicalObject</type>
43
    </list>
44
    <list id="1">
45
        <institutionID>QMOR</institutionID>
46
        <acceptedNameUsage>Gomphus cornutus Tough, 1900</acceptedNameUsage>
47
        <basisOfRecord>PreservedSpecimen</basisOfRecord>
48
        <bibliographicCitation>QMOR00000002</bibliographicCitation>
49
        <catalogNumber>QMOR00000002</catalogNumber>
50
        <class>Insecta</class>
51
        <collectionCode>QMOR</collectionCode>
52
        <collectionID>urn:lsid:biocol.org:col:34164</collectionID>
53
        <continent>North America</continent>
54
        <country>Canada</country>
55
        <datasetID>http://dataset.canadensys.net/qmor-specimens</datasetID>
56
        <datasetName>Ouellet-Robert entomological collection (QMOR)</datasetName>
57
        <eventDate>1942-06-05</eventDate>
58
        <family>Gomphidae</family>
59
        <genus>Gomphus</genus>
60
        <id>2</id>
61
        <identifiedBy>Robert, Adrien</identifiedBy>
62
        <individualCount>1</individualCount>
63
        <institutionCode>Universit&#233; de Montr&#233;al Biodiversity Centre</institutionCode>
64
        <kingdom>Animalia</kingdom>
65
        <language>en|fr</language>
66
        <lifeStage>adult</lifeStage>
67
        <locality>La Trappe</locality>
68
        <modified>2011-10-31</modified>
69
        <municipality>La Trappe</municipality>
70
        <nomenclaturalCode>ICZN</nomenclaturalCode>
71
        <occurrenceRemarks>very damaged</occurrenceRemarks>
72
        <ownerInstitutionCode>Universit&#233; de Montr&#233;al Biodiversity Centre</ownerInstitutionCode>
73
        <phylum>Arthropoda</phylum>
74
        <preparations>envelope</preparations>
75
        <recordedBy>Ouellet, Joseph</recordedBy>
76
        <rights>http://creativecommons.org/publicdomain/zero/1.0/ &amp; http://www.canadensys.net/norms</rights>
77
        <rightsHolder>Universit&#233; de Montr&#233;al Biodiversity Centre</rightsHolder>
78
        <scientificName>Gomphus cornutus Tough, 1900</scientificName>
79
        <scientificNameAuthorship>Tough, 1900</scientificNameAuthorship>
80
        <sex>female</sex>
81
        <specificEpithet>cornutus</specificEpithet>
82
        <stateProvince>Qu&#233;bec</stateProvince>
83
        <taxonRank>species</taxonRank>
84
        <type>PhysicalObject</type>
85
    </list>
86
</DwC>
inputs/QMOR/test/VegBIEN.specimens.xml.ref
1
<?xml version="1.0" ?>
2
<VegBIEN>
3
    <specimenreplicate id="0">
4
        <taxonoccurrence_id>
5
            <taxonoccurrence>
6
                <locationevent_id>
7
                    <locationevent>
8
                        <location_id>
9
                            <location>
10
                                <locationdetermination>
11
                                    <namedplace_id>
12
                                        <namedplace>
13
                                            <rank>stateProvince</rank>
14
                                            <placename>Qu&#233;bec</placename>
15
                                            <parent_id>
16
                                                <namedplace>
17
                                                    <rank>country</rank>
18
                                                    <placename>Canada</placename>
19
                                                    <parent_id>
20
                                                        <namedplace>
21
                                                            <rank>continent</rank>
22
                                                            <placename>North America</placename>
23
                                                        </namedplace>
24
                                                    </parent_id>
25
                                                </namedplace>
26
                                            </parent_id>
27
                                        </namedplace>
28
                                    </namedplace_id>
29
                                </locationdetermination>
30
                                <locationnarrative>Rigaud</locationnarrative>
31
                            </location>
32
                        </location_id>
33
                        <obsstartdate>1938-06-02</obsstartdate>
34
                        <obsenddate/>
35
                    </locationevent>
36
                </locationevent_id>
37
                <taxondetermination>
38
                    <role>identifier</role>
39
                    <iscurrent>true</iscurrent>
40
                    <party_id>
41
                        <party>
42
                            <givenname>Robert,</givenname>
43
                            <middlename></middlename>
44
                            <surname>Adrien</surname>
45
                        </party>
46
                    </party_id>
47
                    <isoriginal>true</isoriginal>
48
                    <plantconcept_id>
49
                        <plantconcept>
50
                            <plantname_id>
51
                                <plantname>
52
                                    <rank>binomial</rank>
53
                                    <plantname>Gomphus cornutus Tough, 1900</plantname>
54
                                    <parent_id>
55
                                        <plantname>
56
                                            <rank>authority</rank>
57
                                            <plantname>Tough, 1900</plantname>
58
                                            <parent_id>
59
                                                <plantname>
60
                                                    <rank>species</rank>
61
                                                    <plantname>cornutus</plantname>
62
                                                    <parent_id>
63
                                                        <plantname>
64
                                                            <rank>genus</rank>
65
                                                            <plantname>Gomphus</plantname>
66
                                                            <parent_id>
67
                                                                <plantname>
68
                                                                    <rank>family</rank>
69
                                                                    <plantname>Gomphidae</plantname>
70
                                                                    <parent_id>
71
                                                                        <plantname>
72
                                                                            <rank>class</rank>
73
                                                                            <plantname>Insecta</plantname>
74
                                                                            <parent_id>
75
                                                                                <plantname>
76
                                                                                    <rank>subkingdom</rank>
77
                                                                                    <plantname>Arthropoda</plantname>
78
                                                                                    <parent_id>
79
                                                                                        <plantname>
80
                                                                                            <rank>kingdom</rank>
81
                                                                                            <plantname>Animalia</plantname>
82
                                                                                        </plantname>
83
                                                                                    </parent_id>
84
                                                                                </plantname>
85
                                                                            </parent_id>
86
                                                                        </plantname>
87
                                                                    </parent_id>
88
                                                                </plantname>
89
                                                            </parent_id>
90
                                                        </plantname>
91
                                                    </parent_id>
92
                                                </plantname>
93
                                            </parent_id>
94
                                        </plantname>
95
                                    </parent_id>
96
                                </plantname>
97
                            </plantname_id>
98
                        </plantconcept>
99
                    </plantconcept_id>
100
                </taxondetermination>
101
                <verbatimcollectorname>Robert, Adrien</verbatimcollectorname>
102
            </taxonoccurrence>
103
        </taxonoccurrence_id>
104
        <collectioncode_dwc>QMOR</collectioncode_dwc>
105
        <definedvalue fkey="tablerecord_id">
106
            <userdefined_id>
107
                <userdefined>
108
                    <tablename>specimenreplicate</tablename>
109
                    <userdefinedname>sex</userdefinedname>
110
                </userdefined>
111
            </userdefined_id>
112
            <definedvalue>male</definedvalue>
113
        </definedvalue>
114
        <datasource_id><party><organizationname>QMOR</organizationname></party></datasource_id>
115
        <catalognumber_dwc>QMOR00000001</catalognumber_dwc>
116
        <sourceaccessioncode>1</sourceaccessioncode>
117
        <collectionnumber>urn:lsid:biocol.org:col:34164</collectionnumber>
118
    </specimenreplicate>
119
    <specimenreplicate id="1">
120
        <taxonoccurrence_id>
121
            <taxonoccurrence>
122
                <locationevent_id>
123
                    <locationevent>
124
                        <location_id>
125
                            <location>
126
                                <locationdetermination>
127
                                    <namedplace_id>
128
                                        <namedplace>
129
                                            <rank>stateProvince</rank>
130
                                            <placename>Qu&#233;bec</placename>
131
                                            <parent_id>
132
                                                <namedplace>
133
                                                    <rank>country</rank>
134
                                                    <placename>Canada</placename>
135
                                                    <parent_id>
136
                                                        <namedplace>
137
                                                            <rank>continent</rank>
138
                                                            <placename>North America</placename>
139
                                                        </namedplace>
140
                                                    </parent_id>
141
                                                </namedplace>
142
                                            </parent_id>
143
                                        </namedplace>
144
                                    </namedplace_id>
145
                                </locationdetermination>
146
                                <locationnarrative>La Trappe</locationnarrative>
147
                            </location>
148
                        </location_id>
149
                        <obsstartdate>1942-06-05</obsstartdate>
150
                        <obsenddate/>
151
                    </locationevent>
152
                </locationevent_id>
153
                <taxondetermination>
154
                    <role>identifier</role>
155
                    <iscurrent>true</iscurrent>
156
                    <party_id>
157
                        <party>
158
                            <givenname>Robert,</givenname>
159
                            <middlename></middlename>
160
                            <surname>Adrien</surname>
161
                        </party>
162
                    </party_id>
163
                    <isoriginal>true</isoriginal>
164
                    <plantconcept_id>
165
                        <plantconcept>
166
                            <plantname_id>
167
                                <plantname>
168
                                    <rank>binomial</rank>
169
                                    <plantname>Gomphus cornutus Tough, 1900</plantname>
170
                                    <parent_id>
171
                                        <plantname>
172
                                            <rank>authority</rank>
173
                                            <plantname>Tough, 1900</plantname>
174
                                            <parent_id>
175
                                                <plantname>
176
                                                    <rank>species</rank>
177
                                                    <plantname>cornutus</plantname>
178
                                                    <parent_id>
179
                                                        <plantname>
180
                                                            <rank>genus</rank>
181
                                                            <plantname>Gomphus</plantname>
182
                                                            <parent_id>
183
                                                                <plantname>
184
                                                                    <rank>family</rank>
185
                                                                    <plantname>Gomphidae</plantname>
186
                                                                    <parent_id>
187
                                                                        <plantname>
188
                                                                            <rank>class</rank>
189
                                                                            <plantname>Insecta</plantname>
190
                                                                            <parent_id>
191
                                                                                <plantname>
192
                                                                                    <rank>subkingdom</rank>
193
                                                                                    <plantname>Arthropoda</plantname>
194
                                                                                    <parent_id>
195
                                                                                        <plantname>
196
                                                                                            <rank>kingdom</rank>
197
                                                                                            <plantname>Animalia</plantname>
198
                                                                                        </plantname>
199
                                                                                    </parent_id>
200
                                                                                </plantname>
201
                                                                            </parent_id>
202
                                                                        </plantname>
203
                                                                    </parent_id>
204
                                                                </plantname>
205
                                                            </parent_id>
206
                                                        </plantname>
207
                                                    </parent_id>
208
                                                </plantname>
209
                                            </parent_id>
210
                                        </plantname>
211
                                    </parent_id>
212
                                </plantname>
213
                            </plantname_id>
214
                        </plantconcept>
215
                    </plantconcept_id>
216
                </taxondetermination>
217
                <verbatimcollectorname>Ouellet, Joseph</verbatimcollectorname>
218
            </taxonoccurrence>
219
        </taxonoccurrence_id>
220
        <collectioncode_dwc>QMOR</collectioncode_dwc>
221
        <definedvalue fkey="tablerecord_id">
222
            <userdefined_id>
223
                <userdefined>
224
                    <tablename>specimenreplicate</tablename>
225
                    <userdefinedname>sex</userdefinedname>
226
                </userdefined>
227
            </userdefined_id>
228
            <definedvalue>female</definedvalue>
229
        </definedvalue>
230
        <datasource_id><party><organizationname>QMOR</organizationname></party></datasource_id>
231
        <catalognumber_dwc>QMOR00000002</catalognumber_dwc>
232
        <sourceaccessioncode>2</sourceaccessioncode>
233
        <collectionnumber>urn:lsid:biocol.org:col:34164</collectionnumber>
234
    </specimenreplicate>
235
</VegBIEN>

Also available in: Unified diff