Project

General

Profile

« Previous | Next » 

Revision 1393

Added inputs/GBIF/test with accepted test outputs

View differences:

inputs/GBIF/test/import.specimens.out.ref
1
Inserted 25 new rows into database
inputs/GBIF/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>GBIF</institutionID>
5
        <CatalogNumber>3390</CatalogNumber>
6
        <CollectionCode>Type herbarium, Gottingen (GOET)</CollectionCode>
7
        <Collector>PRINGLE</Collector>
8
        <Country>MX</Country>
9
        <DateLastModified>2008-12-21 18:14:47</DateLastModified>
10
        <Family>Malvaceae</Family>
11
        <Genus>Abutilon</Genus>
12
        <InfraspecificEpithet>13741370</InfraspecificEpithet>
13
        <InstitutionCode>GOET-Typen</InstitutionCode>
14
        <ScientificName>Abutilon abutiloides</ScientificName>
15
        <SpecificEpithet>58096712</SpecificEpithet>
16
        <originalNameUsage>Abutilon abutiloides (Jacquin) Garcke</originalNameUsage>
17
    </list>
18
    <list id="1">
19
        <institutionID>GBIF</institutionID>
20
        <CatalogNumber>3395</CatalogNumber>
21
        <CollectionCode>Type herbarium, Gottingen (GOET)</CollectionCode>
22
        <Collector>ANDERSSON</Collector>
23
        <Country>EC</Country>
24
        <DateLastModified>2008-12-21 18:14:47</DateLastModified>
25
        <Family>Malvaceae</Family>
26
        <Genus>Abutilon</Genus>
27
        <InfraspecificEpithet>15600637</InfraspecificEpithet>
28
        <InstitutionCode>GOET-Typen</InstitutionCode>
29
        <ScientificName>Abutilon depauperatum</ScientificName>
30
        <SpecificEpithet>58096713</SpecificEpithet>
31
        <originalNameUsage>Abutilon depauperatum (Hook.f.) Andersson</originalNameUsage>
32
    </list>
33
</DwC>
inputs/GBIF/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>country</rank>
14
                                            <placename>MX</placename>
15
                                        </namedplace>
16
                                    </namedplace_id>
17
                                </locationdetermination>
18
                            </location>
19
                        </location_id>
20
                    </locationevent>
21
                </locationevent_id>
22
                <taxondetermination>
23
                    <role>identifier</role>
24
                    <isoriginal>true</isoriginal>
25
                    <iscurrent>true</iscurrent>
26
                    <plantconcept_id>
27
                        <plantconcept>
28
                            <plantname_id>
29
                                <plantname>
30
                                    <rank>binomial</rank>
31
                                    <plantname>Abutilon abutiloides</plantname>
32
                                    <parent_id>
33
                                        <plantname>
34
                                            <rank>subspecies</rank>
35
                                            <plantname>13741370</plantname>
36
                                            <parent_id>
37
                                                <plantname>
38
                                                    <rank>species</rank>
39
                                                    <plantname>58096712</plantname>
40
                                                    <parent_id>
41
                                                        <plantname>
42
                                                            <rank>genus</rank>
43
                                                            <plantname>Abutilon</plantname>
44
                                                            <parent_id>
45
                                                                <plantname>
46
                                                                    <rank>family</rank>
47
                                                                    <plantname>Malvaceae</plantname>
48
                                                                </plantname>
49
                                                            </parent_id>
50
                                                        </plantname>
51
                                                    </parent_id>
52
                                                </plantname>
53
                                            </parent_id>
54
                                        </plantname>
55
                                    </parent_id>
56
                                </plantname>
57
                            </plantname_id>
58
                        </plantconcept>
59
                    </plantconcept_id>
60
                </taxondetermination>
61
            </taxonoccurrence>
62
        </taxonoccurrence_id>
63
        <collectioncode_dwc>Type herbarium, Gottingen (GOET)</collectioncode_dwc>
64
        <verbatimcollectorname>PRINGLE</verbatimcollectorname>
65
        <datasource_id><party><organizationname>GBIF</organizationname></party></datasource_id>
66
        <catalognumber_dwc>3390</catalognumber_dwc>
67
    </specimenreplicate>
68
    <specimenreplicate id="1">
69
        <taxonoccurrence_id>
70
            <taxonoccurrence>
71
                <locationevent_id>
72
                    <locationevent>
73
                        <location_id>
74
                            <location>
75
                                <locationdetermination>
76
                                    <namedplace_id>
77
                                        <namedplace>
78
                                            <rank>country</rank>
79
                                            <placename>EC</placename>
80
                                        </namedplace>
81
                                    </namedplace_id>
82
                                </locationdetermination>
83
                            </location>
84
                        </location_id>
85
                    </locationevent>
86
                </locationevent_id>
87
                <taxondetermination>
88
                    <role>identifier</role>
89
                    <isoriginal>true</isoriginal>
90
                    <iscurrent>true</iscurrent>
91
                    <plantconcept_id>
92
                        <plantconcept>
93
                            <plantname_id>
94
                                <plantname>
95
                                    <rank>binomial</rank>
96
                                    <plantname>Abutilon depauperatum</plantname>
97
                                    <parent_id>
98
                                        <plantname>
99
                                            <rank>subspecies</rank>
100
                                            <plantname>15600637</plantname>
101
                                            <parent_id>
102
                                                <plantname>
103
                                                    <rank>species</rank>
104
                                                    <plantname>58096713</plantname>
105
                                                    <parent_id>
106
                                                        <plantname>
107
                                                            <rank>genus</rank>
108
                                                            <plantname>Abutilon</plantname>
109
                                                            <parent_id>
110
                                                                <plantname>
111
                                                                    <rank>family</rank>
112
                                                                    <plantname>Malvaceae</plantname>
113
                                                                </plantname>
114
                                                            </parent_id>
115
                                                        </plantname>
116
                                                    </parent_id>
117
                                                </plantname>
118
                                            </parent_id>
119
                                        </plantname>
120
                                    </parent_id>
121
                                </plantname>
122
                            </plantname_id>
123
                        </plantconcept>
124
                    </plantconcept_id>
125
                </taxondetermination>
126
            </taxonoccurrence>
127
        </taxonoccurrence_id>
128
        <collectioncode_dwc>Type herbarium, Gottingen (GOET)</collectioncode_dwc>
129
        <verbatimcollectorname>ANDERSSON</verbatimcollectorname>
130
        <datasource_id><party><organizationname>GBIF</organizationname></party></datasource_id>
131
        <catalognumber_dwc>3395</catalognumber_dwc>
132
    </specimenreplicate>
133
</VegBIEN>

Also available in: Unified diff