Project

General

Profile

« Previous | Next » 

Revision 1426

Added inputs/UNC-NCSC/test with initial accepted test outputs

View differences:

inputs/UNC-NCSC/test/import.specimens.out.ref
1
Inserted 22 new rows into database
inputs/UNC-NCSC/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>UNC-NCSC</institutionID>
5
        <CatalogNumber>NCU00090254</CatalogNumber>
6
        <CollectedDate>25-Jun-94</CollectedDate>
7
        <CollectionCode>NCU</CollectionCode>
8
        <Country>USA</Country>
9
        <County>Lancaster</County>
10
        <PreparationType>Specimen</PreparationType>
11
        <ScientificName>Sanguinaria canadensis</ScientificName>
12
        <StateProvince>Virginia</StateProvince>
13
        <establishmentMeans/>
14
        <occurrenceID>0</occurrenceID>
15
    </list>
16
    <list id="1">
17
        <institutionID>UNC-NCSC</institutionID>
18
        <CollectedDate>8-May-65</CollectedDate>
19
        <CollectionCode>WEWO</CollectionCode>
20
        <CoordinateUncertaintyInMeters>1000</CoordinateUncertaintyInMeters>
21
        <Country>USA</Country>
22
        <County>Moore</County>
23
        <Latitude>35.1611111</Latitude>
24
        <Longitude>-79.3486111</Longitude>
25
        <PreparationType>Specimen</PreparationType>
26
        <ScientificName>Senecio anonymus</ScientificName>
27
        <StateProvince>North Carolina</StateProvince>
28
        <establishmentMeans/>
29
        <occurrenceID>1</occurrenceID>
30
    </list>
31
</DwC>
inputs/UNC-NCSC/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>county</rank>
14
                                            <placename>Lancaster</placename>
15
                                            <parent_id>
16
                                                <namedplace>
17
                                                    <rank>stateProvince</rank>
18
                                                    <placename>Virginia</placename>
19
                                                    <parent_id>
20
                                                        <namedplace>
21
                                                            <rank>country</rank>
22
                                                            <placename>USA</placename>
23
                                                        </namedplace>
24
                                                    </parent_id>
25
                                                </namedplace>
26
                                            </parent_id>
27
                                        </namedplace>
28
                                    </namedplace_id>
29
                                </locationdetermination>
30
                            </location>
31
                        </location_id>
32
                        <obsstartdate>1994-06-25</obsstartdate>
33
                        <obsenddate/>
34
                    </locationevent>
35
                </locationevent_id>
36
                <taxondetermination>
37
                    <role>identifier</role>
38
                    <isoriginal>true</isoriginal>
39
                    <iscurrent>true</iscurrent>
40
                    <plantconcept_id>
41
                        <plantconcept>
42
                            <plantname_id>
43
                                <plantname>
44
                                    <rank>binomial</rank>
45
                                    <plantname>Sanguinaria canadensis</plantname>
46
                                </plantname>
47
                            </plantname_id>
48
                        </plantconcept>
49
                    </plantconcept_id>
50
                </taxondetermination>
51
            </taxonoccurrence>
52
        </taxonoccurrence_id>
53
        <collectioncode_dwc>NCU</collectioncode_dwc>
54
        <datasource_id><party><organizationname>UNC-NCSC</organizationname></party></datasource_id>
55
        <catalognumber_dwc>NCU00090254</catalognumber_dwc>
56
        <sourceaccessioncode>0</sourceaccessioncode>
57
    </specimenreplicate>
58
    <specimenreplicate id="1">
59
        <taxonoccurrence_id>
60
            <taxonoccurrence>
61
                <locationevent_id>
62
                    <locationevent>
63
                        <location_id>
64
                            <location>
65
                                <locationdetermination>
66
                                    <coordsaccuracy>1000</coordsaccuracy>
67
                                    <namedplace_id>
68
                                        <namedplace>
69
                                            <rank>county</rank>
70
                                            <placename>Moore</placename>
71
                                            <parent_id>
72
                                                <namedplace>
73
                                                    <rank>stateProvince</rank>
74
                                                    <placename>North Carolina</placename>
75
                                                    <parent_id>
76
                                                        <namedplace>
77
                                                            <rank>country</rank>
78
                                                            <placename>USA</placename>
79
                                                        </namedplace>
80
                                                    </parent_id>
81
                                                </namedplace>
82
                                            </parent_id>
83
                                        </namedplace>
84
                                    </namedplace_id>
85
                                    <latitude>35.1611111</latitude>
86
                                    <longitude>-79.3486111</longitude>
87
                                </locationdetermination>
88
                                <centerlatitude>35.1611111</centerlatitude>
89
                                <centerlongitude>-79.3486111</centerlongitude>
90
                            </location>
91
                        </location_id>
92
                        <obsstartdate>1965-05-08</obsstartdate>
93
                        <obsenddate/>
94
                    </locationevent>
95
                </locationevent_id>
96
                <taxondetermination>
97
                    <role>identifier</role>
98
                    <isoriginal>true</isoriginal>
99
                    <iscurrent>true</iscurrent>
100
                    <plantconcept_id>
101
                        <plantconcept>
102
                            <plantname_id>
103
                                <plantname>
104
                                    <rank>binomial</rank>
105
                                    <plantname>Senecio anonymus</plantname>
106
                                </plantname>
107
                            </plantname_id>
108
                        </plantconcept>
109
                    </plantconcept_id>
110
                </taxondetermination>
111
            </taxonoccurrence>
112
        </taxonoccurrence_id>
113
        <collectioncode_dwc>WEWO</collectioncode_dwc>
114
        <datasource_id><party><organizationname>UNC-NCSC</organizationname></party></datasource_id>
115
        <sourceaccessioncode>1</sourceaccessioncode>
116
    </specimenreplicate>
117
</VegBIEN>

Also available in: Unified diff