Project

General

Profile

« Previous | Next » 

Revision 3663

input.Makefile: Testing: Removed VegBIEN.%.xml test because the import.%.xml test output includes the template tree that it's inserting, so there is no need to generate the XML tree in a separate test. This will also remove the need to maintain local XML functions that have already been translated to DB functions for the sole purpose of this automated test.

View differences:

inputs/MT/test/VegBIEN.specimens.xml.ref
1
<?xml version="1.0" ?>
2
<VegBIEN>
3
    <specimenreplicate id="0">
4
        <datasource_id><party><organizationname>MT</organizationname></party></datasource_id>
5
        <locationevent_id>
6
            <locationevent>
7
                <location_id>
8
                    <location>
9
                        <datasource_id><party><organizationname>MT</organizationname></party></datasource_id>
10
                        <locationdetermination>
11
                            <namedplace_id>
12
                                <namedplace>
13
                                    <rank>continent</rank>
14
                                    <placename>NA</placename>
15
                                </namedplace>
16
                            </namedplace_id>
17
                        </locationdetermination>
18
                        <locationnarrative>Canada</locationnarrative>
19
                        <sourceaccessioncode>1</sourceaccessioncode>
20
                    </location>
21
                </location_id>
22
            </locationevent>
23
        </locationevent_id>
24
        <collectionnumber>urn:lsid:biocol.org:col:14437</collectionnumber>
25
        <taxondetermination>
26
            <isoriginal>true</isoriginal>
27
            <iscurrent>true</iscurrent>
28
            <role>identifier</role>
29
            <plantconcept_id>
30
                <plantconcept>
31
                    <plantname_id>
32
                        <plantname>
33
                            <rank>genus</rank>
34
                            <plantname>Lycopodium</plantname>
35
                            <parent_id>
36
                                <plantname>
37
                                    <rank>family</rank>
38
                                    <plantname>Lycopodiaceae</plantname>
39
                                </plantname>
40
                            </parent_id>
41
                        </plantname>
42
                    </plantname_id>
43
                </plantconcept>
44
            </plantconcept_id>
45
        </taxondetermination>
46
        <collectioncode_dwc>MT</collectioncode_dwc>
47
        <institution_id><party><organizationname>Universit&#233; de Montr&#233;al Biodiversity Centre</organizationname></party></institution_id>
48
        <sourceaccessioncode>1</sourceaccessioncode>
49
    </specimenreplicate>
50
    <specimenreplicate id="1">
51
        <datasource_id><party><organizationname>MT</organizationname></party></datasource_id>
52
        <locationevent_id>
53
            <locationevent>
54
                <location_id>
55
                    <location>
56
                        <datasource_id><party><organizationname>MT</organizationname></party></datasource_id>
57
                        <locationdetermination>
58
                            <namedplace_id>
59
                                <namedplace>
60
                                    <rank>continent</rank>
61
                                    <placename>NA</placename>
62
                                </namedplace>
63
                            </namedplace_id>
64
                        </locationdetermination>
65
                        <locationnarrative>Canada</locationnarrative>
66
                        <sourceaccessioncode>2</sourceaccessioncode>
67
                    </location>
68
                </location_id>
69
            </locationevent>
70
        </locationevent_id>
71
        <collectionnumber>urn:lsid:biocol.org:col:14437</collectionnumber>
72
        <taxondetermination>
73
            <isoriginal>true</isoriginal>
74
            <iscurrent>true</iscurrent>
75
            <role>identifier</role>
76
            <plantconcept_id>
77
                <plantconcept>
78
                    <plantname_id>
79
                        <plantname>
80
                            <rank>genus</rank>
81
                            <plantname>Lycopodium</plantname>
82
                            <parent_id>
83
                                <plantname>
84
                                    <rank>family</rank>
85
                                    <plantname>Lycopodiaceae</plantname>
86
                                </plantname>
87
                            </parent_id>
88
                        </plantname>
89
                    </plantname_id>
90
                </plantconcept>
91
            </plantconcept_id>
92
        </taxondetermination>
93
        <collectioncode_dwc>MT</collectioncode_dwc>
94
        <institution_id><party><organizationname>Universit&#233; de Montr&#233;al Biodiversity Centre</organizationname></party></institution_id>
95
        <sourceaccessioncode>2</sourceaccessioncode>
96
    </specimenreplicate>
97
</VegBIEN>
inputs/XAL/test/VegBIEN.specimens.xml.ref
1
<?xml version="1.0" ?>
2
<VegBIEN>
3
    <specimenreplicate id="0">
4
        <datasource_id><party><organizationname>XAL</organizationname></party></datasource_id>
5
        <locationevent_id>
6
            <locationevent>
7
                <location_id>
8
                    <location>
9
                        <datasource_id><party><organizationname>XAL</organizationname></party></datasource_id>
10
                        <locationdetermination>
11
                            <namedplace_id>
12
                                <namedplace>
13
                                    <rank>county</rank>
14
                                    <placename>NAYAR, EL</placename>
15
                                    <parent_id>
16
                                        <namedplace>
17
                                            <rank>stateProvince</rank>
18
                                            <placename>Nayarit</placename>
19
                                            <parent_id>
20
                                                <namedplace>
21
                                                    <rank>country</rank>
22
                                                    <placename>MEXICO</placename>
23
                                                    <parent_id>
24
                                                        <namedplace>
25
                                                            <rank>continent</rank>
26
                                                            <placename>AMERICA</placename>
27
                                                        </namedplace>
28
                                                    </parent_id>
29
                                                </namedplace>
30
                                            </parent_id>
31
                                        </namedplace>
32
                                    </parent_id>
33
                                </namedplace>
34
                            </namedplace_id>
35
                            <latitude>22.267</latitude>
36
                            <longitude>-104.633</longitude>
37
                        </locationdetermination>
38
                        <locationnarrative>N de la cuesta, Cerro de La Loma</locationnarrative>
39
                        <elevation>1200.0</elevation>
40
                        <elevationrange/>
41
                        <centerlatitude>22.267</centerlatitude>
42
                        <centerlongitude>-104.633</centerlongitude>
43
                        <sourceaccessioncode>IE; XAL; K400001</sourceaccessioncode>
44
                    </location>
45
                </location_id>
46
                <waterdepth>1000.0</waterdepth>
47
                <obsstartdate>1994-04-21</obsstartdate>
48
                <obsenddate/>
49
            </locationevent>
50
        </locationevent_id>
51
        <collectionnumber>7086</collectionnumber>
52
        <definedvalue fkey="tablerecord_id">
53
            <userdefined_id>
54
                <userdefined>
55
                    <tablename>specimenreplicate</tablename>
56
                    <userdefinedname>sex</userdefinedname>
57
                </userdefined>
58
            </userdefined_id>
59
            <definedvalue>ND</definedvalue>
60
        </definedvalue>
61
        <taxondetermination>
62
            <iscurrent>true</iscurrent>
63
            <role>identifier</role>
64
            <party_id>
65
                <party>
66
                    <givenname>ND</givenname>
67
                    <middlename></middlename>
68
                    <surname>ND</surname>
69
                </party>
70
            </party_id>
71
            <isoriginal>true</isoriginal>
72
            <plantconcept_id>
73
                <plantconcept>
74
                    <plantname_id>
75
                        <plantname>
76
                            <rank>binomial</rank>
77
                            <plantname>Chamaedorea Willd.</plantname>
78
                            <parent_id>
79
                                <plantname>
80
                                    <rank>authority</rank>
81
                                    <plantname>Willd.</plantname>
82
                                    <parent_id>
83
                                        <plantname>
84
                                            <rank>genus</rank>
85
                                            <plantname>Chamaedorea</plantname>
86
                                            <parent_id>
87
                                                <plantname>
88
                                                    <rank>family</rank>
89
                                                    <plantname>Arecaceae</plantname>
90
                                                    <parent_id>
91
                                                        <plantname>
92
                                                            <rank>order</rank>
93
                                                            <plantname>Arecales</plantname>
94
                                                            <parent_id>
95
                                                                <plantname>
96
                                                                    <rank>class</rank>
97
                                                                    <plantname>LILIOPSIDA</plantname>
98
                                                                    <parent_id>
99
                                                                        <plantname>
100
                                                                            <rank>subkingdom</rank>
101
                                                                            <plantname>MAGNOLIOPHYTA</plantname>
102
                                                                            <parent_id>
103
                                                                                <plantname>
104
                                                                                    <rank>kingdom</rank>
105
                                                                                    <plantname>PLANTAE</plantname>
106
                                                                                </plantname>
107
                                                                            </parent_id>
108
                                                                        </plantname>
109
                                                                    </parent_id>
110
                                                                </plantname>
111
                                                            </parent_id>
112
                                                        </plantname>
113
                                                    </parent_id>
114
                                                </plantname>
115
                                            </parent_id>
116
                                        </plantname>
117
                                    </parent_id>
118
                                </plantname>
119
                            </parent_id>
120
                        </plantname>
121
                    </plantname_id>
122
                </plantconcept>
123
            </plantconcept_id>
124
        </taxondetermination>
125
        <verbatimcollectorname>J.A. Machuca N.</verbatimcollectorname>
126
        <catalognumber_dwc>K400001</catalognumber_dwc>
127
        <collectioncode_dwc>XAL</collectioncode_dwc>
128
        <institution_id><party><organizationname>IE</organizationname></party></institution_id>
129
    </specimenreplicate>
130
    <specimenreplicate id="1">
131
        <datasource_id><party><organizationname>XAL</organizationname></party></datasource_id>
132
        <locationevent_id>
133
            <locationevent>
134
                <location_id>
135
                    <location>
136
                        <datasource_id><party><organizationname>XAL</organizationname></party></datasource_id>
137
                        <locationdetermination>
138
                            <namedplace_id>
139
                                <namedplace>
140
                                    <rank>county</rank>
141
                                    <placename>SAN FELIPE USILA</placename>
142
                                    <parent_id>
143
                                        <namedplace>
144
                                            <rank>stateProvince</rank>
145
                                            <placename>Oaxaca</placename>
146
                                            <parent_id>
147
                                                <namedplace>
148
                                                    <rank>country</rank>
149
                                                    <placename>MEXICO</placename>
150
                                                    <parent_id>
151
                                                        <namedplace>
152
                                                            <rank>continent</rank>
153
                                                            <placename>AMERICA</placename>
154
                                                        </namedplace>
155
                                                    </parent_id>
156
                                                </namedplace>
157
                                            </parent_id>
158
                                        </namedplace>
159
                                    </parent_id>
160
                                </namedplace>
161
                            </namedplace_id>
162
                            <latitude>17.644</latitude>
163
                            <longitude>-96.529</longitude>
164
                        </locationdetermination>
165
                        <locationnarrative>8 km en l&#237;nea recta, 181&#186; al S de Santa Cruz Tepetotutla, Distrito Tuxtepec</locationnarrative>
166
                        <elevation>2430.0</elevation>
167
                        <elevationrange/>
168
                        <centerlatitude>17.644</centerlatitude>
169
                        <centerlongitude>-96.529</centerlongitude>
170
                        <sourceaccessioncode>IE; XAL; K400002</sourceaccessioncode>
171
                    </location>
172
                </location_id>
173
                <waterdepth>2430.0</waterdepth>
174
                <obsstartdate>1994-09-18</obsstartdate>
175
                <obsenddate/>
176
            </locationevent>
177
        </locationevent_id>
178
        <collectionnumber>1216</collectionnumber>
179
        <definedvalue fkey="tablerecord_id">
180
            <userdefined_id>
181
                <userdefined>
182
                    <tablename>specimenreplicate</tablename>
183
                    <userdefinedname>sex</userdefinedname>
184
                </userdefined>
185
            </userdefined_id>
186
            <definedvalue>ND</definedvalue>
187
        </definedvalue>
188
        <taxondetermination>
189
            <role>identifier</role>
190
            <determinationdate>1995-01-01</determinationdate>
191
            <isoriginal>true</isoriginal>
192
            <iscurrent>true</iscurrent>
193
            <plantconcept_id>
194
                <plantconcept>
195
                    <plantname_id>
196
                        <plantname>
197
                            <rank>binomial</rank>
198
                            <plantname>Peltapteris peltata (Sw.) C.V. Morton</plantname>
199
                            <parent_id>
200
                                <plantname>
201
                                    <rank>authority</rank>
202
                                    <plantname>(Sw.) C.V. Morton</plantname>
203
                                    <parent_id>
204
                                        <plantname>
205
                                            <rank>species</rank>
206
                                            <plantname>peltata</plantname>
207
                                            <parent_id>
208
                                                <plantname>
209
                                                    <rank>genus</rank>
210
                                                    <plantname>Peltapteris</plantname>
211
                                                    <parent_id>
212
                                                        <plantname>
213
                                                            <rank>family</rank>
214
                                                            <plantname>Lomariopsidaceae</plantname>
215
                                                            <parent_id>
216
                                                                <plantname>
217
                                                                    <rank>order</rank>
218
                                                                    <plantname>Filicales</plantname>
219
                                                                    <parent_id>
220
                                                                        <plantname>
221
                                                                            <rank>class</rank>
222
                                                                            <plantname>POLYPODIOPSIDA</plantname>
223
                                                                            <parent_id>
224
                                                                                <plantname>
225
                                                                                    <rank>subkingdom</rank>
226
                                                                                    <plantname>PTERIDOPHYTA</plantname>
227
                                                                                    <parent_id>
228
                                                                                        <plantname>
229
                                                                                            <rank>kingdom</rank>
230
                                                                                            <plantname>PLANTAE</plantname>
231
                                                                                        </plantname>
232
                                                                                    </parent_id>
233
                                                                                </plantname>
234
                                                                            </parent_id>
235
                                                                        </plantname>
236
                                                                    </parent_id>
237
                                                                </plantname>
238
                                                            </parent_id>
239
                                                        </plantname>
240
                                                    </parent_id>
241
                                                </plantname>
242
                                            </parent_id>
243
                                        </plantname>
244
                                    </parent_id>
245
                                </plantname>
246
                            </parent_id>
247
                        </plantname>
248
                    </plantname_id>
249
                </plantconcept>
250
            </plantconcept_id>
251
        </taxondetermination>
252
        <verbatimcollectorname>C. Gallardo H. y  et al.</verbatimcollectorname>
253
        <catalognumber_dwc>K400002</catalognumber_dwc>
254
        <collectioncode_dwc>XAL</collectioncode_dwc>
255
        <institution_id><party><organizationname>IE</organizationname></party></institution_id>
256
    </specimenreplicate>
257
</VegBIEN>
inputs/NY/test/VegBIEN.specimens.xml.ref
1
<?xml version="1.0" ?>
2
<VegBIEN>
3
    <specimenreplicate id="0">
4
        <datasource_id><party><organizationname>NY</organizationname></party></datasource_id>
5
        <locationevent_id>
6
            <locationevent>
7
                <location_id>
8
                    <location>
9
                        <datasource_id><party><organizationname>NY</organizationname></party></datasource_id>
10
                        <locationdetermination>
11
                            <namedplace_id>
12
                                <namedplace>
13
                                    <rank>county</rank>
14
                                    <placename>Man&#250;</placename>
15
                                    <parent_id>
16
                                        <namedplace>
17
                                            <rank>stateProvince</rank>
18
                                            <placename>Madre de Dios</placename>
19
                                            <parent_id>
20
                                                <namedplace>
21
                                                    <rank>country</rank>
22
                                                    <placename>Peru</placename>
23
                                                    <parent_id>
24
                                                        <namedplace>
25
                                                            <rank>continent</rank>
26
                                                            <placename>South America</placename>
27
                                                        </namedplace>
28
                                                    </parent_id>
29
                                                </namedplace>
30
                                            </parent_id>
31
                                        </namedplace>
32
                                    </parent_id>
33
                                </namedplace>
34
                            </namedplace_id>
35
                            <latitude>-11.80</latitude>
36
                            <longitude>-71.40</longitude>
37
                        </locationdetermination>
38
                        <locationnarrative>Parque Nacional del Manu. R&#237;o Manu: Cocha Casha Station; habitat: Floodplain forest</locationnarrative>
39
                        <elevation>350.0</elevation>
40
                        <elevationrange>0.0</elevationrange>
41
                        <centerlatitude>-11.80</centerlatitude>
42
                        <centerlongitude>-71.40</centerlongitude>
43
                        <sourceaccessioncode>816590</sourceaccessioncode>
44
                    </location>
45
                </location_id>
46
                <obsstartdate>1984-08-20</obsstartdate>
47
                <obsenddate/>
48
            </locationevent>
49
        </locationevent_id>
50
        <collectionnumber>9877</collectionnumber>
51
        <description>plant fungus: with rough brown bark, almost no buttressing, 1 m diam; fallen fruit and leaves</description>
52
        <taxondetermination>
53
            <isoriginal>true</isoriginal>
54
            <iscurrent>true</iscurrent>
55
            <role>identifier</role>
56
            <plantconcept_id>
57
                <plantconcept>
58
                    <plantname_id>
59
                        <plantname>
60
                            <rank>binomial</rank>
61
                            <plantname>Cariniana estrellensis (Raddi) Kuntze</plantname>
62
                            <parent_id>
63
                                <plantname>
64
                                    <rank>authority</rank>
65
                                    <plantname>(Raddi) Kuntze</plantname>
66
                                    <parent_id>
67
                                        <plantname>
68
                                            <rank>species</rank>
69
                                            <plantname>estrellensis</plantname>
70
                                            <parent_id>
71
                                                <plantname>
72
                                                    <rank>genus</rank>
73
                                                    <plantname>Cariniana</plantname>
74
                                                    <parent_id>
75
                                                        <plantname>
76
                                                            <rank>family</rank>
77
                                                            <plantname>Lecythidaceae</plantname>
78
                                                            <parent_id>
79
                                                                <plantname>
80
                                                                    <rank>subkingdom</rank>
81
                                                                    <plantname>Magnoliophyta (flowering plants)</plantname>
82
                                                                    <parent_id>
83
                                                                        <plantname>
84
                                                                            <rank>kingdom</rank>
85
                                                                            <plantname>Plantae</plantname>
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
                            </parent_id>
98
                        </plantname>
99
                    </plantname_id>
100
                </plantconcept>
101
            </plantconcept_id>
102
        </taxondetermination>
103
        <verbatimcollectorname>R. B. Foster</verbatimcollectorname>
104
        <catalognumber_dwc>00682023</catalognumber_dwc>
105
        <collectioncode_dwc>Herbarium</collectioncode_dwc>
106
        <institution_id><party><organizationname>NY</organizationname></party></institution_id>
107
        <sourceaccessioncode>816590</sourceaccessioncode>
108
    </specimenreplicate>
109
    <specimenreplicate id="1">
110
        <datasource_id><party><organizationname>NY</organizationname></party></datasource_id>
111
        <locationevent_id>
112
            <locationevent>
113
                <location_id>
114
                    <location>
115
                        <datasource_id><party><organizationname>NY</organizationname></party></datasource_id>
116
                        <locationdetermination>
117
                            <namedplace_id>
118
                                <namedplace>
119
                                    <rank>stateProvince</rank>
120
                                    <placename>Belize District</placename>
121
                                    <parent_id>
122
                                        <namedplace>
123
                                            <rank>country</rank>
124
                                            <placename>Belize</placename>
125
                                            <parent_id>
126
                                                <namedplace>
127
                                                    <rank>continent</rank>
128
                                                    <placename>Central America</placename>
129
                                                </namedplace>
130
                                            </parent_id>
131
                                        </namedplace>
132
                                    </parent_id>
133
                                </namedplace>
134
                            </namedplace_id>
135
                            <latitude>17.40</latitude>
136
                            <longitude>-88.50</longitude>
137
                        </locationdetermination>
138
                        <locationnarrative>Belize Zoo, in savanna plot immediately behind zoo. Mile 31 on Western Highway</locationnarrative>
139
                        <elevation>15.0</elevation>
140
                        <elevationrange>0.0</elevationrange>
141
                        <centerlatitude>17.40</centerlatitude>
142
                        <centerlongitude>-88.50</centerlongitude>
143
                        <sourceaccessioncode>220541</sourceaccessioncode>
144
                    </location>
145
                </location_id>
146
                <obsstartdate>1994-01-17</obsstartdate>
147
                <obsenddate/>
148
            </locationevent>
149
        </locationevent_id>
150
        <collectionnumber>545</collectionnumber>
151
        <taxondetermination>
152
            <isoriginal>true</isoriginal>
153
            <iscurrent>true</iscurrent>
154
            <role>identifier</role>
155
            <plantconcept_id>
156
                <plantconcept>
157
                    <plantname_id>
158
                        <plantname>
159
                            <rank>binomial</rank>
160
                            <plantname>Scrophulariaceae</plantname>
161
                            <parent_id>
162
                                <plantname>
163
                                    <rank>family</rank>
164
                                    <plantname>Scrophulariaceae</plantname>
165
                                    <parent_id>
166
                                        <plantname>
167
                                            <rank>subkingdom</rank>
168
                                            <plantname>Magnoliophyta (flowering plants)</plantname>
169
                                            <parent_id>
170
                                                <plantname>
171
                                                    <rank>kingdom</rank>
172
                                                    <plantname>Plantae</plantname>
173
                                                </plantname>
174
                                            </parent_id>
175
                                        </plantname>
176
                                    </parent_id>
177
                                </plantname>
178
                            </parent_id>
179
                        </plantname>
180
                    </plantname_id>
181
                </plantconcept>
182
            </plantconcept_id>
183
        </taxondetermination>
184
        <verbatimcollectorname>J. B. Walker</verbatimcollectorname>
185
        <catalognumber_dwc>200996</catalognumber_dwc>
186
        <collectioncode_dwc>Herbarium</collectioncode_dwc>
187
        <institution_id><party><organizationname>NY</organizationname></party></institution_id>
188
        <sourceaccessioncode>220541</sourceaccessioncode>
189
    </specimenreplicate>
190
</VegBIEN>
inputs/Madidi/test/VegBIEN.plots.xml.ref
1
<?xml version="1.0" ?>
2
<VegBIEN/>
inputs/Madidi/test/VegBIEN.organisms.xml.ref
1
<?xml version="1.0" ?>
2
<VegBIEN/>
inputs/UNCC/test/VegBIEN.specimens.xml.ref
1
<?xml version="1.0" ?>
2
<VegBIEN>
3
    <specimenreplicate id="0">
4
        <datasource_id><party><organizationname>UNCC</organizationname></party></datasource_id>
5
        <locationevent_id>
6
            <locationevent>
7
                <location_id>
8
                    <location>
9
                        <datasource_id><party><organizationname>UNCC</organizationname></party></datasource_id>
10
                        <locationdetermination>
11
                            <namedplace_id>
12
                                <namedplace>
13
                                    <rank>county</rank>
14
                                    <placename>VITI LEVU</placename>
15
                                    <parent_id>
16
                                        <namedplace>
17
                                            <rank>country</rank>
18
                                            <placename>FJ</placename>
19
                                        </namedplace>
20
                                    </parent_id>
21
                                </namedplace>
22
                            </namedplace_id>
23
                        </locationdetermination>
24
                        <sourceaccessioncode>34293</sourceaccessioncode>
25
                    </location>
26
                </location_id>
27
                <obsstartdate>1972-06-25</obsstartdate>
28
                <obsenddate/>
29
            </locationevent>
30
        </locationevent_id>
31
        <taxondetermination>
32
            <isoriginal>true</isoriginal>
33
            <iscurrent>true</iscurrent>
34
            <role>identifier</role>
35
            <plantconcept_id>
36
                <plantconcept>
37
                    <plantname_id>
38
                        <plantname>
39
                            <rank>family</rank>
40
                            <plantname>RHIZOPHORACEAE</plantname>
41
                        </plantname>
42
                    </plantname_id>
43
                </plantconcept>
44
            </plantconcept_id>
45
        </taxondetermination>
46
        <verbatimcollectorname>DAGGY, T.</verbatimcollectorname>
47
        <collectioncode_dwc>UNCCD</collectioncode_dwc>
48
        <sourceaccessioncode>34293</sourceaccessioncode>
49
    </specimenreplicate>
50
    <specimenreplicate id="1">
51
        <datasource_id><party><organizationname>UNCC</organizationname></party></datasource_id>
52
        <locationevent_id>
53
            <locationevent>
54
                <location_id>
55
                    <location>
56
                        <datasource_id><party><organizationname>UNCC</organizationname></party></datasource_id>
57
                        <locationdetermination>
58
                            <namedplace_id>
59
                                <namedplace>
60
                                    <rank>county</rank>
61
                                    <placename>VITI LEVU</placename>
62
                                    <parent_id>
63
                                        <namedplace>
64
                                            <rank>country</rank>
65
                                            <placename>FJ</placename>
66
                                        </namedplace>
67
                                    </parent_id>
68
                                </namedplace>
69
                            </namedplace_id>
70
                        </locationdetermination>
71
                        <sourceaccessioncode>34294</sourceaccessioncode>
72
                    </location>
73
                </location_id>
74
                <obsstartdate>1972-06-25</obsstartdate>
75
                <obsenddate/>
76
            </locationevent>
77
        </locationevent_id>
78
        <taxondetermination>
79
            <isoriginal>true</isoriginal>
80
            <iscurrent>true</iscurrent>
81
            <role>identifier</role>
82
            <plantconcept_id>
83
                <plantconcept>
84
                    <plantname_id>
85
                        <plantname>
86
                            <rank>family</rank>
87
                            <plantname>RHIZOPHORACEAE</plantname>
88
                        </plantname>
89
                    </plantname_id>
90
                </plantconcept>
91
            </plantconcept_id>
92
        </taxondetermination>
93
        <verbatimcollectorname>DAGGY, T.</verbatimcollectorname>
94
        <collectioncode_dwc>UNCCD</collectioncode_dwc>
95
        <sourceaccessioncode>34294</sourceaccessioncode>
96
    </specimenreplicate>
97
</VegBIEN>
inputs/ACAD/test/VegBIEN.specimens.xml.ref
1
<?xml version="1.0" ?>
2
<VegBIEN>
3
    <specimenreplicate id="0">
4
        <datasource_id><party><organizationname>ACAD</organizationname></party></datasource_id>
5
        <locationevent_id>
6
            <locationevent>
7
                <location_id>
8
                    <location>
9
                        <datasource_id><party><organizationname>ACAD</organizationname></party></datasource_id>
10
                        <locationdetermination>
11
                            <namedplace_id>
12
                                <namedplace>
13
                                    <rank>county</rank>
14
                                    <placename>Hants</placename>
15
                                    <parent_id>
16
                                        <namedplace>
17
                                            <rank>stateProvince</rank>
18
                                            <placename>Nova Scotia</placename>
19
                                            <parent_id>
20
                                                <namedplace>
21
                                                    <rank>country</rank>
22
                                                    <placename>Canada</placename>
23
                                                    <parent_id>
24
                                                        <namedplace>
25
                                                            <rank>continent</rank>
26
                                                            <placename>North America</placename>
27
                                                        </namedplace>
28
                                                    </parent_id>
29
                                                </namedplace>
30
                                            </parent_id>
31
                                        </namedplace>
32
                                    </parent_id>
33
                                </namedplace>
34
                            </namedplace_id>
35
                            <latitude>45.094243</latitude>
36
                            <longitude>-63.778249</longitude>
37
                        </locationdetermination>
38
                        <locationnarrative>West Gore; habitat: dry field</locationnarrative>
39
                        <centerlatitude>45.094243</centerlatitude>
40
                        <centerlongitude>-63.778249</centerlongitude>
41
                        <sourceaccessioncode>8</sourceaccessioncode>
42
                    </location>
43
                </location_id>
44
                <obsstartdate>1932-09-19</obsstartdate>
45
                <obsenddate/>
46
            </locationevent>
47
        </locationevent_id>
48
        <collectionnumber>urn:lsid:biocol.org:col:13294</collectionnumber>
49
        <taxondetermination>
50
            <isoriginal>true</isoriginal>
51
            <iscurrent>true</iscurrent>
52
            <role>identifier</role>
53
            <plantconcept_id>
54
                <plantconcept>
55
                    <plantname_id>
56
                        <plantname>
57
                            <rank>binomial</rank>
58
                            <plantname>Spiranthes cernua var. ochroleuca (Rydb.) Ames</plantname>
59
                            <parent_id>
60
                                <plantname>
61
                                    <rank>authority</rank>
62
                                    <plantname>(Rydb.) Ames</plantname>
63
                                    <parent_id>
64
                                        <plantname>
65
                                            <rank>subspecies</rank>
66
                                            <plantname>ochroleuca</plantname>
67
                                            <parent_id>
68
                                                <plantname>
69
                                                    <rank>species</rank>
70
                                                    <plantname>cernua</plantname>
71
                                                    <parent_id>
72
                                                        <plantname>
73
                                                            <rank>genus</rank>
74
                                                            <plantname>Spiranthes</plantname>
75
                                                            <parent_id>
76
                                                                <plantname>
77
                                                                    <rank>family</rank>
78
                                                                    <plantname>Orchidaceae</plantname>
79
                                                                    <parent_id>
80
                                                                        <plantname>
81
                                                                            <rank>order</rank>
82
                                                                            <plantname>Orchidales</plantname>
83
                                                                            <parent_id>
84
                                                                                <plantname>
85
                                                                                    <rank>class</rank>
86
                                                                                    <plantname>Liliopsida</plantname>
87
                                                                                    <parent_id>
88
                                                                                        <plantname>
89
                                                                                            <rank>subkingdom</rank>
90
                                                                                            <plantname>Magnoliophyta</plantname>
91
                                                                                            <parent_id>
92
                                                                                                <plantname>
93
                                                                                                    <rank>kingdom</rank>
94
                                                                                                    <plantname>Plantae</plantname>
95
                                                                                                </plantname>
96
                                                                                            </parent_id>
97
                                                                                        </plantname>
98
                                                                                    </parent_id>
99
                                                                                </plantname>
100
                                                                            </parent_id>
101
                                                                        </plantname>
102
                                                                    </parent_id>
103
                                                                </plantname>
104
                                                            </parent_id>
105
                                                        </plantname>
106
                                                    </parent_id>
107
                                                </plantname>
108
                                            </parent_id>
109
                                        </plantname>
110
                                    </parent_id>
111
                                </plantname>
112
                            </parent_id>
113
                        </plantname>
114
                    </plantname_id>
115
                </plantconcept>
116
            </plantconcept_id>
117
        </taxondetermination>
118
        <verbatimcollectorname>Wallace, FM</verbatimcollectorname>
119
        <catalognumber_dwc>11186</catalognumber_dwc>
120
        <collectioncode_dwc>ACAD</collectioncode_dwc>
121
        <institution_id><party><organizationname>Acadia University</organizationname></party></institution_id>
122
        <sourceaccessioncode>8</sourceaccessioncode>
123
    </specimenreplicate>
124
    <specimenreplicate id="1">
125
        <datasource_id><party><organizationname>ACAD</organizationname></party></datasource_id>
126
        <locationevent_id>
127
            <locationevent>
128
                <location_id>
129
                    <location>
130
                        <datasource_id><party><organizationname>ACAD</organizationname></party></datasource_id>
131
                        <locationdetermination>
132
                            <namedplace_id>
133
                                <namedplace>
134
                                    <rank>county</rank>
135
                                    <placename>Cumberland</placename>
136
                                    <parent_id>
137
                                        <namedplace>
138
                                            <rank>stateProvince</rank>
139
                                            <placename>Nova Scotia</placename>
140
                                            <parent_id>
141
                                                <namedplace>
142
                                                    <rank>country</rank>
143
                                                    <placename>Canada</placename>
144
                                                    <parent_id>
145
                                                        <namedplace>
146
                                                            <rank>continent</rank>
147
                                                            <placename>North America</placename>
148
                                                        </namedplace>
149
                                                    </parent_id>
150
                                                </namedplace>
151
                                            </parent_id>
152
                                        </namedplace>
153
                                    </parent_id>
154
                                </namedplace>
155
                            </namedplace_id>
156
                            <latitude>45.737092</latitude>
157
                            <longitude>-63.57842</longitude>
158
                        </locationdetermination>
159
                        <locationnarrative>Middleboro; habitat: pasture</locationnarrative>
160
                        <centerlatitude>45.737092</centerlatitude>
161
                        <centerlongitude>-63.57842</centerlongitude>
162
                        <sourceaccessioncode>17</sourceaccessioncode>
163
                    </location>
164
                </location_id>
165
                <obsstartdate>1938-07-09</obsstartdate>
166
                <obsenddate/>
167
            </locationevent>
168
        </locationevent_id>
169
        <collectionnumber>urn:lsid:biocol.org:col:13294</collectionnumber>
170
        <taxondetermination>
171
            <isoriginal>true</isoriginal>
172
            <iscurrent>true</iscurrent>
173
            <role>identifier</role>
174
            <plantconcept_id>
175
                <plantconcept>
176
                    <plantname_id>
177
                        <plantname>
178
                            <rank>binomial</rank>
179
                            <plantname>Spiranthes cernua (L.) Rich.</plantname>
180
                            <parent_id>
181
                                <plantname>
182
                                    <rank>authority</rank>
183
                                    <plantname>(L.) Rich.</plantname>
184
                                    <parent_id>
185
                                        <plantname>
186
                                            <rank>species</rank>
187
                                            <plantname>cernua</plantname>
188
                                            <parent_id>
189
                                                <plantname>
190
                                                    <rank>genus</rank>
191
                                                    <plantname>Spiranthes</plantname>
192
                                                    <parent_id>
193
                                                        <plantname>
194
                                                            <rank>family</rank>
195
                                                            <plantname>Orchidaceae</plantname>
196
                                                            <parent_id>
197
                                                                <plantname>
198
                                                                    <rank>order</rank>
199
                                                                    <plantname>Orchidales</plantname>
200
                                                                    <parent_id>
201
                                                                        <plantname>
202
                                                                            <rank>class</rank>
203
                                                                            <plantname>Liliopsida</plantname>
204
                                                                            <parent_id>
205
                                                                                <plantname>
206
                                                                                    <rank>subkingdom</rank>
207
                                                                                    <plantname>Magnoliophyta</plantname>
208
                                                                                    <parent_id>
209
                                                                                        <plantname>
210
                                                                                            <rank>kingdom</rank>
211
                                                                                            <plantname>Plantae</plantname>
212
                                                                                        </plantname>
213
                                                                                    </parent_id>
214
                                                                                </plantname>
215
                                                                            </parent_id>
216
                                                                        </plantname>
217
                                                                    </parent_id>
218
                                                                </plantname>
219
                                                            </parent_id>
220
                                                        </plantname>
221
                                                    </parent_id>
222
                                                </plantname>
223
                                            </parent_id>
224
                                        </plantname>
225
                                    </parent_id>
226
                                </plantname>
227
                            </parent_id>
228
                        </plantname>
229
                    </plantname_id>
230
                </plantconcept>
231
            </plantconcept_id>
232
        </taxondetermination>
233
        <verbatimcollectorname>Manning, K</verbatimcollectorname>
234
        <catalognumber_dwc>12602</catalognumber_dwc>
235
        <collectioncode_dwc>ACAD</collectioncode_dwc>
236
        <institution_id><party><organizationname>Acadia University</organizationname></party></institution_id>
237
        <sourceaccessioncode>17</sourceaccessioncode>
238
    </specimenreplicate>
239
</VegBIEN>
inputs/CVS/test/VegBIEN.organisms.xml.ref
1
<?xml version="1.0" ?>
2
<VegBIEN>
3
    <plantobservation id="0">
4
        <aggregateoccurrence>
5
            <taxonoccurrence_id>
6
                <taxonoccurrence>
7
                    <locationevent_id>
8
                        <locationevent>
9
                            <location_id>
10
                                <location>
11
                                    <locationdetermination>
12
                                        <coordsaccuracy>10</coordsaccuracy>
13
                                        <namedplace_id>
14
                                            <namedplace>
15
                                                <rank>county</rank>
16
                                                <placename>Carteret</placename>
17
                                                <parent_id>
18
                                                    <namedplace>
19
                                                        <rank>stateProvince</rank>
20
                                                        <placename>North Carolina</placename>
21
                                                    </namedplace>
22
                                                </parent_id>
23
                                            </namedplace>
24
                                        </namedplace_id>
25
                                        <latitude>34.69908082</latitude>
26
                                        <longitude>-76.82808905</longitude>
27
                                    </locationdetermination>
28
                                    <centerlatitude>34.69908082</centerlatitude>
29
                                    <centerlongitude>-76.82808905</centerlongitude>
30
                                    <datasource_id><party><organizationname>CVS</organizationname></party></datasource_id>
31
                                    <sourceaccessioncode>001-00-0201</sourceaccessioncode>
32
                                </location>
33
                            </location_id>
34
                            <obsstartdate>1988-05-17</obsstartdate>
35
                            <authorlocationcode>001-00-0201</authorlocationcode>
36
                        </locationevent>
37
                    </locationevent_id>
38
                    <taxondetermination>
39
                        <isoriginal>true</isoriginal>
40
                        <iscurrent>true</iscurrent>
41
                        <role>identifier</role>
42
                        <plantconcept_id>
43
                            <plantconcept>
44
                                <plantname_id>
45
                                    <plantname>
46
                                        <rank>binomial</rank>
47
                                        <plantname>Acer rubrum</plantname>
48
                                    </plantname>
49
                                </plantname_id>
50
                            </plantconcept>
51
                        </plantconcept_id>
52
                    </taxondetermination>
53
                </taxonoccurrence>
54
            </taxonoccurrence_id>
55
            <cover>0.05</cover>
56
        </aggregateoccurrence>
57
    </plantobservation>
58
    <plantobservation id="1">
59
        <aggregateoccurrence>
60
            <taxonoccurrence_id>
61
                <taxonoccurrence>
62
                    <locationevent_id>
63
                        <locationevent>
64
                            <location_id>
65
                                <location>
66
                                    <locationdetermination>
67
                                        <coordsaccuracy>10</coordsaccuracy>
68
                                        <namedplace_id>
69
                                            <namedplace>
70
                                                <rank>county</rank>
71
                                                <placename>Carteret</placename>
72
                                                <parent_id>
73
                                                    <namedplace>
74
                                                        <rank>stateProvince</rank>
75
                                                        <placename>North Carolina</placename>
76
                                                    </namedplace>
77
                                                </parent_id>
78
                                            </namedplace>
79
                                        </namedplace_id>
80
                                        <latitude>34.69908082</latitude>
81
                                        <longitude>-76.82808905</longitude>
82
                                    </locationdetermination>
83
                                    <centerlatitude>34.69908082</centerlatitude>
84
                                    <centerlongitude>-76.82808905</centerlongitude>
85
                                    <datasource_id><party><organizationname>CVS</organizationname></party></datasource_id>
86
                                    <sourceaccessioncode>001-00-0201</sourceaccessioncode>
87
                                </location>
88
                            </location_id>
89
                            <obsstartdate>1988-05-17</obsstartdate>
90
                            <authorlocationcode>001-00-0201</authorlocationcode>
91
                        </locationevent>
92
                    </locationevent_id>
93
                    <taxondetermination>
94
                        <isoriginal>true</isoriginal>
95
                        <iscurrent>true</iscurrent>
96
                        <role>identifier</role>
97
                        <plantconcept_id>
98
                            <plantconcept>
99
                                <plantname_id>
100
                                    <plantname>
101
                                        <rank>binomial</rank>
102
                                        <plantname>Aralia spinosa</plantname>
103
                                    </plantname>
104
                                </plantname_id>
105
                            </plantconcept>
106
                        </plantconcept_id>
107
                    </taxondetermination>
108
                </taxonoccurrence>
109
            </taxonoccurrence_id>
110
            <cover>0.505</cover>
111
        </aggregateoccurrence>
112
    </plantobservation>
113
</VegBIEN>
inputs/SALVIAS-CSV/test/VegBIEN.plots.xml.ref
1
<?xml version="1.0" ?>
2
<VegBIEN>
3
    <locationevent id="0">
4
        <location_id>
5
            <location>
6
                <area>0.44</area>
7
                <elevation>200</elevation>
8
                <locationdetermination>
9
                    <namedplace_id>
10
                        <namedplace>
11
                            <rank>stateProvince</rank>
12
                            <placename>Loreto</placename>
13
                            <parent_id>
14
                                <namedplace>
15
                                    <rank>country</rank>
16
                                    <placename>Peru</placename>
17
                                    <parent_id>
18
                                        <namedplace>
19
                                            <rank>continent</rank>
20
                                            <placename>South America</placename>
21
                                        </namedplace>
22
                                    </parent_id>
23
                                </namedplace>
24
                            </parent_id>
25
                        </namedplace>
26
                    </namedplace_id>
27
                    <latitude>-3.95</latitude>
28
                    <longitude>-73.4333</longitude>
29
                </locationdetermination>
30
                <locationnarrative>pre-Holocene; clay</locationnarrative>
31
                <centerlatitude>-3.95</centerlatitude>
32
                <centerlongitude>-73.4333</centerlongitude>
33
                <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
34
                <sourceaccessioncode>26102</sourceaccessioncode>
35
            </location>
36
        </location_id>
37
        <method_id><method><name>1 ha, stems &gt;= 10 cm dbh</name></method></method_id>
38
        <project_id>
39
            <project>
40
                <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
41
                <projectname>RAINFOR - 1 ha Peru</projectname>
42
            </project>
43
        </project_id>
44
        <obsstartdate>1990-11-16</obsstartdate>
45
        <authorlocationcode>ALP-11</authorlocationcode>
46
        <sourceaccessioncode>26102</sourceaccessioncode>
47
    </locationevent>
48
    <locationevent id="1">
49
        <location_id>
50
            <location>
51
                <area>0.4</area>
52
                <elevation>200</elevation>
53
                <locationdetermination>
54
                    <namedplace_id>
55
                        <namedplace>
56
                            <rank>stateProvince</rank>
57
                            <placename>Loreto</placename>
58
                            <parent_id>
59
                                <namedplace>
60
                                    <rank>country</rank>
61
                                    <placename>Peru</placename>
62
                                    <parent_id>
63
                                        <namedplace>
64
                                            <rank>continent</rank>
65
                                            <placename>South America</placename>
66
                                        </namedplace>
67
                                    </parent_id>
68
                                </namedplace>
69
                            </parent_id>
70
                        </namedplace>
71
                    </namedplace_id>
72
                    <latitude>-3.95</latitude>
73
                    <longitude>-73.4333</longitude>
74
                </locationdetermination>
75
                <locationnarrative>pre-Holocene; white and brown sand</locationnarrative>
76
                <centerlatitude>-3.95</centerlatitude>
77
                <centerlongitude>-73.4333</centerlongitude>
78
                <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
79
                <sourceaccessioncode>26103</sourceaccessioncode>
80
            </location>
81
        </location_id>
82
        <method_id><method><name>1 ha, stems &gt;= 10 cm dbh</name></method></method_id>
83
        <project_id>
84
            <project>
85
                <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
86
                <projectname>RAINFOR - 1 ha Peru</projectname>
87
            </project>
88
        </project_id>
89
        <obsstartdate>1990-11-16</obsstartdate>
90
        <authorlocationcode>ALP-12</authorlocationcode>
91
        <sourceaccessioncode>26103</sourceaccessioncode>
92
    </locationevent>
93
</VegBIEN>
inputs/SALVIAS-CSV/test/VegBIEN.organisms.xml.ref
1
<?xml version="1.0" ?>
2
<VegBIEN>
3
    <plantobservation id="0">
4
        <aggregateoccurrence merge="1">
5
            <taxonoccurrence_id merge="1">
6
                <taxonoccurrence>
7
                    <locationevent_id>
8
                        <locationevent>
9
                            <obsstartdate>2001-01-01</obsstartdate>
10
                            <authorlocationcode>1</authorlocationcode>
11
                            <location_id>
12
                                <location>
13
                                    <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
14
                                    <sourceaccessioncode>26102; 1</sourceaccessioncode>
15
                                </location>
16
                            </location_id>
17
                            <parent_id>
18
                                <locationevent>
19
                                    <authorlocationcode>ALP-11</authorlocationcode>
20
                                    <location_id>
21
                                        <location>
22
                                            <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
23
                                            <sourceaccessioncode>26102</sourceaccessioncode>
24
                                        </location>
25
                                    </location_id>
26
                                    <sourceaccessioncode>26102</sourceaccessioncode>
27
                                </locationevent>
28
                            </parent_id>
29
                        </locationevent>
30
                    </locationevent_id>
31
                    <growthform>tree</growthform>
32
                    <taxondetermination>
33
                        <iscurrent>true</iscurrent>
34
                        <role>computer</role>
35
                        <plantconcept_id>
36
                            <plantconcept>
37
                                <plantname_id>
38
                                    <plantname>
39
                                        <rank>species</rank>
40
                                        <plantname>indet</plantname>
41
                                        <parent_id>
42
                                            <plantname>
43
                                                <rank>genus</rank>
44
                                                <plantname>Inga</plantname>
45
                                                <parent_id>
46
                                                    <plantname>
47
                                                        <rank>family</rank>
48
                                                        <plantname>Fabaceae</plantname>
49
                                                    </plantname>
50
                                                </parent_id>
51
                                            </plantname>
52
                                        </parent_id>
53
                                    </plantname>
54
                                </plantname_id>
55
                            </plantconcept>
56
                        </plantconcept_id>
57
                    </taxondetermination>
58
                    <taxondetermination>
59
                        <isoriginal>true</isoriginal>
60
                        <iscurrent>true</iscurrent>
61
                        <role>identifier</role>
62
                        <plantconcept_id>
63
                            <plantconcept>
64
                                <plantname_id>
65
                                    <plantname>
66
                                        <rank>binomial</rank>
67
                                        <plantname>Inga indet</plantname>
68
                                        <parent_id>
69
                                            <plantname>
70
                                                <rank>family</rank>
71
                                                <plantname>Fabaceae</plantname>
72
                                            </plantname>
73
                                        </parent_id>
74
                                    </plantname>
75
                                </plantname_id>
76
                            </plantconcept>
77
                        </plantconcept_id>
78
                    </taxondetermination>
79
                    <verbatimcollectorname>Vasquez</verbatimcollectorname>
80
                    <sourceaccessioncode>607771</sourceaccessioncode>
81
                    <voucher>
82
                        <specimenreplicate_id>
83
                            <specimenreplicate>
84
                                <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
85
                                <sourceaccessioncode>607771</sourceaccessioncode>
86
                                <catalognumber_dwc>14598</catalognumber_dwc>
87
                            </specimenreplicate>
88
                        </specimenreplicate_id>
89
                    </voucher>
90
                </taxonoccurrence>
91
            </taxonoccurrence_id>
92
            <count>1</count>
93
            <definedvalue fkey="tablerecord_id">
94
                <userdefined_id>
95
                    <userdefined>
96
                        <tablename>aggregateoccurrence</tablename>
97
                        <userdefinedname>censusNo</userdefinedname>
98
                    </userdefined>
99
                </userdefined_id>
100
                <definedvalue>1</definedvalue>
101
            </definedvalue>
102
        </aggregateoccurrence>
103
        <stemobservation>
104
            <stemtag>
105
                <iscurrent>false</iscurrent>
106
                <tag>7</tag>
107
            </stemtag>
108
            <stemtag>
109
                <iscurrent>true</iscurrent>
110
                <tag>8</tag>
111
            </stemtag>
112
        </stemobservation>
113
        <authorplantcode>10</authorplantcode>
114
        <sourceaccessioncode>607771</sourceaccessioncode>
115
    </plantobservation>
116
    <plantobservation id="1">
117
        <aggregateoccurrence merge="1">
118
            <taxonoccurrence_id merge="1">
119
                <taxonoccurrence>
120
                    <locationevent_id>
121
                        <locationevent>
122
                            <obsstartdate>2001-01-01</obsstartdate>
123
                            <authorlocationcode>4</authorlocationcode>
124
                            <location_id>
125
                                <location>
126
                                    <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
127
                                    <sourceaccessioncode>26102; 4</sourceaccessioncode>
128
                                </location>
129
                            </location_id>
130
                            <parent_id>
131
                                <locationevent>
132
                                    <authorlocationcode>ALP-11</authorlocationcode>
133
                                    <location_id>
134
                                        <location>
135
                                            <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
136
                                            <sourceaccessioncode>26102</sourceaccessioncode>
137
                                        </location>
138
                                    </location_id>
139
                                    <sourceaccessioncode>26102</sourceaccessioncode>
140
                                </locationevent>
141
                            </parent_id>
142
                        </locationevent>
143
                    </locationevent_id>
144
                    <growthform>tree</growthform>
145
                    <taxondetermination>
146
                        <iscurrent>true</iscurrent>
147
                        <role>computer</role>
148
                        <plantconcept_id>
149
                            <plantconcept>
150
                                <plantname_id>
151
                                    <plantname>
152
                                        <rank>species</rank>
153
                                        <plantname>pavonis</plantname>
154
                                        <parent_id>
155
                                            <plantname>
156
                                                <rank>genus</rank>
157
                                                <plantname>Virola</plantname>
158
                                                <parent_id>
159
                                                    <plantname>
160
                                                        <rank>family</rank>
161
                                                        <plantname>Myristicaceae</plantname>
162
                                                    </plantname>
163
                                                </parent_id>
164
                                            </plantname>
165
                                        </parent_id>
166
                                    </plantname>
167
                                </plantname_id>
168
                            </plantconcept>
169
                        </plantconcept_id>
170
                    </taxondetermination>
171
                    <taxondetermination>
172
                        <isoriginal>true</isoriginal>
173
                        <iscurrent>true</iscurrent>
174
                        <role>identifier</role>
175
                        <plantconcept_id>
176
                            <plantconcept>
177
                                <plantname_id>
178
                                    <plantname>
179
                                        <rank>binomial</rank>
180
                                        <plantname>Virola pavonis</plantname>
181
                                        <parent_id>
182
                                            <plantname>
183
                                                <rank>family</rank>
184
                                                <plantname>Myristicaceae</plantname>
185
                                            </plantname>
186
                                        </parent_id>
187
                                    </plantname>
188
                                </plantname_id>
189
                            </plantconcept>
190
                        </plantconcept_id>
191
                    </taxondetermination>
192
                    <verbatimcollectorname>Vasquez</verbatimcollectorname>
193
                    <sourceaccessioncode>607722</sourceaccessioncode>
194
                    <voucher>
195
                        <specimenreplicate_id>
196
                            <specimenreplicate>
197
                                <datasource_id><party><organizationname>SALVIAS-CSV</organizationname></party></datasource_id>
198
                                <sourceaccessioncode>607722</sourceaccessioncode>
199
                                <catalognumber_dwc>14669</catalognumber_dwc>
200
                            </specimenreplicate>
201
                        </specimenreplicate_id>
202
                    </voucher>
203
                </taxonoccurrence>
204
            </taxonoccurrence_id>
205
            <count>1</count>
206
            <definedvalue fkey="tablerecord_id">
207
                <userdefined_id>
208
                    <userdefined>
209
                        <tablename>aggregateoccurrence</tablename>
210
                        <userdefinedname>censusNo</userdefinedname>
211
                    </userdefined>
212
                </userdefined_id>
213
                <definedvalue>1</definedvalue>
214
            </definedvalue>
215
        </aggregateoccurrence>
216
        <stemobservation>
217
            <stemtag>
218
                <iscurrent>false</iscurrent>
219
                <tag>84</tag>
220
            </stemtag>
221
            <stemtag>
222
                <iscurrent>true</iscurrent>
223
                <tag>91</tag>
224
            </stemtag>
225
        </stemobservation>
226
        <authorplantcode>100</authorplantcode>
227
        <sourceaccessioncode>607722</sourceaccessioncode>
228
    </plantobservation>
229
</VegBIEN>
inputs/REMIB/test/VegBIEN.specimens.xml.ref
1
<?xml version="1.0" ?>
2
<VegBIEN>
3
    <specimenreplicate id="0">
4
        <datasource_id><party><organizationname>REMIB</organizationname></party></datasource_id>
5
        <locationevent_id>
6
            <locationevent>
7
                <location_id>
8
                    <location>
9
                        <datasource_id><party><organizationname>REMIB</organizationname></party></datasource_id>
10
                        <locationdetermination>
11
                            <namedplace_id>
12
                                <namedplace>
13
                                    <rank>county</rank>
14
                                    <placename>AQUILA</placename>
15
                                    <parent_id>
16
                                        <namedplace>
17
                                            <rank>stateProvince</rank>
18
                                            <placename>Michoac&#225;n</placename>
19
                                            <parent_id>
20
                                                <namedplace>
21
                                                    <rank>country</rank>
22
                                                    <placename>MEXICO</placename>
23
                                                </namedplace>
24
                                            </parent_id>
25
                                        </namedplace>
26
                                    </parent_id>
27
                                </namedplace>
28
                            </namedplace_id>
29
                            <latitude>99</latitude>
30
                            <longitude>-999</longitude>
31
                        </locationdetermination>
32
                        <locationnarrative>ND; habitat: ND</locationnarrative>
33
                        <centerlatitude>99</centerlatitude>
34
                        <centerlongitude>-999</centerlongitude>
35
                        <sourceaccessioncode>1764</sourceaccessioncode>
36
                    </location>
37
                </location_id>
38
                <obsstartdate>1979-12-09</obsstartdate>
39
                <obsenddate/>
40
            </locationevent>
41
        </locationevent_id>
42
        <taxondetermination>
43
            <isoriginal>true</isoriginal>
44
            <iscurrent>true</iscurrent>
45
            <role>identifier</role>
46
            <plantconcept_id>
47
                <plantconcept>
48
                    <plantname_id>
49
                        <plantname>
50
                            <rank>species</rank>
51
                            <plantname>nulo</plantname>
52
                            <parent_id>
53
                                <plantname>
54
                                    <rank>genus</rank>
55
                                    <plantname>nulo</plantname>
56
                                    <parent_id>
57
                                        <plantname>
58
                                            <rank>family</rank>
59
                                            <plantname>Acanthaceae</plantname>
60
                                        </plantname>
61
                                    </parent_id>
62
                                </plantname>
63
                            </parent_id>
64
                        </plantname>
65
                    </plantname_id>
66
                </plantconcept>
67
            </plantconcept_id>
68
        </taxondetermination>
69
        <verbatimcollectorname>B. Guerrero C.</verbatimcollectorname>
70
        <collectioncode_dwc>XAL</collectioncode_dwc>
71
        <sourceaccessioncode>1764</sourceaccessioncode>
72
    </specimenreplicate>
73
    <specimenreplicate id="1">
74
        <datasource_id><party><organizationname>REMIB</organizationname></party></datasource_id>
75
        <locationevent_id>
76
            <locationevent>
77
                <location_id>
78
                    <location>
79
                        <datasource_id><party><organizationname>REMIB</organizationname></party></datasource_id>
80
                        <locationdetermination>
81
                            <namedplace_id>
82
                                <namedplace>
83
                                    <rank>county</rank>
84
                                    <placename>TOMATLAN</placename>
85
                                    <parent_id>
86
                                        <namedplace>
87
                                            <rank>stateProvince</rank>
88
                                            <placename>Jalisco</placename>
89
                                            <parent_id>
90
                                                <namedplace>
91
                                                    <rank>country</rank>
92
                                                    <placename>MEXICO</placename>
93
                                                </namedplace>
94
                                            </parent_id>
95
                                        </namedplace>
96
                                    </parent_id>
97
                                </namedplace>
98
                            </namedplace_id>
99
                            <latitude>99</latitude>
100
                            <longitude>-999</longitude>
101
                        </locationdetermination>
102
                        <locationnarrative>ND; habitat: ND</locationnarrative>
103
                        <centerlatitude>99</centerlatitude>
104
                        <centerlongitude>-999</centerlongitude>
105
                        <sourceaccessioncode>1479</sourceaccessioncode>
106
                    </location>
107
                </location_id>
108
                <obsstartdate>1982-02-11</obsstartdate>
109
                <obsenddate/>
110
            </locationevent>
111
        </locationevent_id>
112
        <taxondetermination>
113
            <isoriginal>true</isoriginal>
114
            <iscurrent>true</iscurrent>
115
            <role>identifier</role>
116
            <plantconcept_id>
117
                <plantconcept>
118
                    <plantname_id>
119
                        <plantname>
120
                            <rank>species</rank>
121
                            <plantname>nulo</plantname>
122
                            <parent_id>
123
                                <plantname>
124
                                    <rank>genus</rank>
125
                                    <plantname>nulo</plantname>
126
                                    <parent_id>
127
                                        <plantname>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff