Project

General

Profile

« Previous | Next » 

Revision 3919

VegBIEN mappings: Wrapped dates in _date() and _dateRangeStart()/_dateRangeEnd(), to assist in importing date and date range values that PostgreSQL cannot parse. This will increase the import time, but hopefully also decrease the # of invalid values in the errors tables. (These functions can later be optimized to reduce the impact on import time.)

View differences:

import.specimens.xml.ref
58 58
        <locationevent>
59 59
            <taxonoccurrence>
60 60
                <aggregateoccurrence>
61
                    <collectiondate><_date><date><_alt><2>$eventDate</2></_alt></date></_date></collectiondate>
61
                    <collectiondate><_date><date><_dateRangeStart><value><_alt><2>$eventDate</2></_alt></value></_dateRangeStart></date></_date></collectiondate>
62 62
                    <plantobservation>
63 63
                        <specimenreplicate>
64 64
                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>

Also available in: Unified diff