Project

General

Profile

« Previous | Next » 

Revision 13947

fix: mappings/VegCore-VegBIEN.csv: mapped DwC year/month/day, which are split-date alternatives to eventDate. this fixes the missing eventDate in FIA.

View differences:

test.xml.ref
9 9
                    <location>
10 10
                        <authorlocationcode>$locationName</authorlocationcode>
11 11
                        <sourceaccessioncode>$locationID</sourceaccessioncode>
12
                        <locationevent>
13
                            <obsenddate>
14
                                <_date>
15
                                    <day>
16
                                        <_nullIf>
17
                                            <null>0</null>
18
                                            <type>float</type>
19
                                            <value>$day</value>
20
                                        </_nullIf>
21
                                    </day>
22
                                    <month>
23
                                        <_nullIf>
24
                                            <null>0</null>
25
                                            <type>float</type>
26
                                            <value>$month</value>
27
                                        </_nullIf>
28
                                    </month>
29
                                    <year>
30
                                        <_nullIf>
31
                                            <null>0</null>
32
                                            <type>float</type>
33
                                            <value>$year</value>
34
                                        </_nullIf>
35
                                    </year>
36
                                </_date>
37
                            </obsenddate>
38
                            <obsstartdate>
39
                                <_date>
40
                                    <day>
41
                                        <_nullIf>
42
                                            <null>0</null>
43
                                            <type>float</type>
44
                                            <value>$day</value>
45
                                        </_nullIf>
46
                                    </day>
47
                                    <month>
48
                                        <_nullIf>
49
                                            <null>0</null>
50
                                            <type>float</type>
51
                                            <value>$month</value>
52
                                        </_nullIf>
53
                                    </month>
54
                                    <year>
55
                                        <_nullIf>
56
                                            <null>0</null>
57
                                            <type>float</type>
58
                                            <value>$year</value>
59
                                        </_nullIf>
60
                                    </year>
61
                                </_date>
62
                            </obsstartdate>
63
                        </locationevent>
12 64
                        <locationplace>
13 65
                            <place_id>
14 66
                                <place>
......
63 115
        </path>
64 116
    </_setDefault>
65 117
</VegBIEN>
66
Inserted 10 new rows into database
118
Inserted 12 new rows into database

Also available in: Unified diff