Project

General

Profile

« Previous | Next » 

Revision 10758

inputs/*/Specimen/test.xml.ref with eventDate->dateCollected mappings: updated test outputs to match mapping

View differences:

inputs/ACAD/Specimen/test.xml.ref
43 43
                            </_locationnarrative_is_cultivated>
44 44
                        </iscultivated>
45 45
                        <locationevent>
46
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
47
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
48 46
                            <taxonoccurrence>
49 47
                                <aggregateoccurrence>
48
                                    <collectiondate>$dateCollected</collectiondate>
50 49
                                    <notes>$occurrenceRemarks</notes>
51 50
                                    <plantobservation>
52 51
                                        <authorplantcode>$collectorNumber</authorplantcode>
inputs/QFA/Specimen/test.xml.ref
43 43
                            </_locationnarrative_is_cultivated>
44 44
                        </iscultivated>
45 45
                        <locationevent>
46
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
47
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
48 46
                            <taxonoccurrence>
49 47
                                <aggregateoccurrence>
48
                                    <collectiondate>$dateCollected</collectiondate>
50 49
                                    <notes>$occurrenceRemarks</notes>
51 50
                                    <plantobservation>
52 51
                                        <authorplantcode>$collectorNumber</authorplantcode>
inputs/JBM/Specimen/test.xml.ref
37 37
                            </_locationnarrative_is_cultivated>
38 38
                        </iscultivated>
39 39
                        <locationevent>
40
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
41
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
42 40
                            <taxonoccurrence>
43 41
                                <aggregateoccurrence>
42
                                    <collectiondate>$dateCollected</collectiondate>
44 43
                                    <plantobservation>
45 44
                                        <authorplantcode>$collectorNumber</authorplantcode>
46 45
                                        <definedvalue fkey="tablerecord_id">
inputs/HIBG/Specimen/test.xml.ref
43 43
                            </_locationnarrative_is_cultivated>
44 44
                        </iscultivated>
45 45
                        <locationevent>
46
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
47
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
48 46
                            <taxonoccurrence>
49 47
                                <aggregateoccurrence>
48
                                    <collectiondate>$dateCollected</collectiondate>
50 49
                                    <notes>$occurrenceRemarks</notes>
51 50
                                    <plantobservation>
52 51
                                        <authorplantcode>$collectorNumber</authorplantcode>
inputs/ARIZ/omoccurrences/test.xml.ref
42 42
                        </iscultivated>
43 43
                        <locationevent>
44 44
                            <method_id><method><name>$samplingProtocol</name></method></method_id>
45
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
46
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
47 45
                            <taxonoccurrence>
48 46
                                <aggregateoccurrence>
47
                                    <collectiondate>
48
                                        <_alt>
49
                                            <1>$dateCollected</1>
50
                                            <2>
51
                                                <_date>
52
                                                    <day>
53
                                                        <_nullIf>
54
                                                            <null>0</null>
55
                                                            <type>float</type>
56
                                                            <value>$dayCollected</value>
57
                                                        </_nullIf>
58
                                                    </day>
59
                                                    <month>
60
                                                        <_nullIf>
61
                                                            <null>0</null>
62
                                                            <type>float</type>
63
                                                            <value>$monthCollected</value>
64
                                                        </_nullIf>
65
                                                    </month>
66
                                                    <year>
67
                                                        <_nullIf>
68
                                                            <null>0</null>
69
                                                            <type>float</type>
70
                                                            <value>$yearCollected</value>
71
                                                        </_nullIf>
72
                                                    </year>
73
                                                </_date>
74
                                            </2>
75
                                        </_alt>
76
                                    </collectiondate>
49 77
                                    <count>$individualCount</count>
50 78
                                    <notes>$occurrenceRemarks</notes>
51 79
                                    <plantobservation>
inputs/TRT/Specimen/test.xml.ref
53 53
                            </_locationnarrative_is_cultivated>
54 54
                        </iscultivated>
55 55
                        <locationevent>
56
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
57
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
58 56
                            <taxonoccurrence>
59 57
                                <aggregateoccurrence>
58
                                    <collectiondate>$dateCollected</collectiondate>
60 59
                                    <notes>$occurrenceRemarks</notes>
61 60
                                    <plantobservation>
62 61
                                        <authorplantcode>$collectorNumber</authorplantcode>
inputs/TRTE/Specimen/test.xml.ref
43 43
                            </_locationnarrative_is_cultivated>
44 44
                        </iscultivated>
45 45
                        <locationevent>
46
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
47
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
48 46
                            <taxonoccurrence>
49 47
                                <aggregateoccurrence>
48
                                    <collectiondate>$dateCollected</collectiondate>
50 49
                                    <notes>$occurrenceRemarks</notes>
51 50
                                    <plantobservation>
52 51
                                        <authorplantcode>$collectorNumber</authorplantcode>

Also available in: Unified diff