Project

General

Profile

« Previous | Next » 

Revision 10758

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

View differences:

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>

Also available in: Unified diff