Project

General

Profile

« Previous | Next » 

Revision 4018

mappings/DwC2-VegBIEN.specimens.csv, VegCSV-VegBIEN.specimens.csv: eventDate: collectiondate mapping: Removed _dateRangeStart filter because the eventDate (obsstartdate) is only valid as the date the specimen was collected if it is a single date, not a date range. (It is still valid as the obsstartdate/obsenddate if it's a range.)

View differences:

import.specimens.xml.ref
176 176
                    <collectiondate>
177 177
                        <_date>
178 178
                            <date>
179
                                <_dateRangeStart>
180
                                    <value>
181
                                        <_alt>
182
                                            <0>$VerbatimCollectingDate</0>
183
                                            <1>
184
                                                <_date>
185
                                                    <day>
186
                                                        <_nullIf>
187
                                                            <null>0</null>
188
                                                            <type>float</type>
189
                                                            <value>$DayCollected</value>
190
                                                        </_nullIf>
191
                                                    </day>
192
                                                    <month>
193
                                                        <_nullIf>
194
                                                            <null>0</null>
195
                                                            <type>float</type>
196
                                                            <value>$MonthCollected</value>
197
                                                        </_nullIf>
198
                                                    </month>
199
                                                    <year>
200
                                                        <_nullIf>
201
                                                            <null>0</null>
202
                                                            <type>float</type>
203
                                                            <value>$YearCollected</value>
204
                                                        </_nullIf>
205
                                                    </year>
206
                                                </_date>
207
                                            </1>
208
                                        </_alt>
209
                                    </value>
210
                                </_dateRangeStart>
179
                                <_alt>
180
                                    <0>$VerbatimCollectingDate</0>
181
                                    <1>
182
                                        <_date>
183
                                            <day>
184
                                                <_nullIf>
185
                                                    <null>0</null>
186
                                                    <type>float</type>
187
                                                    <value>$DayCollected</value>
188
                                                </_nullIf>
189
                                            </day>
190
                                            <month>
191
                                                <_nullIf>
192
                                                    <null>0</null>
193
                                                    <type>float</type>
194
                                                    <value>$MonthCollected</value>
195
                                                </_nullIf>
196
                                            </month>
197
                                            <year>
198
                                                <_nullIf>
199
                                                    <null>0</null>
200
                                                    <type>float</type>
201
                                                    <value>$YearCollected</value>
202
                                                </_nullIf>
203
                                            </year>
204
                                        </_date>
205
                                    </1>
206
                                </_alt>
211 207
                            </date>
212 208
                        </_date>
213 209
                    </collectiondate>

Also available in: Unified diff