Project

General

Profile

« Previous | Next » 

Revision 4566

mappings/: Moved year/month/dayCollected mappings from Veg+-VegCore.csv to VegCore-VegBIEN.csv so that Veg+-VegCore.csv contains only renamings, not business logic. Note that this allows the year/month/dayCollected values to bypass the additional _dateRangeStart filter that is applied to text dates. The priority of the plain dateCollected field is now higher than the year/month/dayCollected fields when both are specified, because the dateCollected field presumably contains verbatim text while the year/month/dayCollected fields contain parsed date parts.

View differences:

test.xml.ref
141 141
                <aggregateoccurrence>
142 142
                    <collectiondate>
143 143
                        <_date>
144
                            <date>
145
                                <_date>
146
                                    <day>
147
                                        <_nullIf>
148
                                            <null>0</null>
149
                                            <type>float</type>
150
                                            <value>$DayCollected</value>
151
                                        </_nullIf>
152
                                    </day>
153
                                    <month>
154
                                        <_nullIf>
155
                                            <null>0</null>
156
                                            <type>float</type>
157
                                            <value>$MonthCollected</value>
158
                                        </_nullIf>
159
                                    </month>
160
                                    <year>
161
                                        <_nullIf>
162
                                            <null>0</null>
163
                                            <type>float</type>
164
                                            <value>$YearCollected</value>
165
                                        </_nullIf>
166
                                    </year>
167
                                </_date>
168
                            </date>
144
                            <day>
145
                                <_nullIf>
146
                                    <null>0</null>
147
                                    <type>float</type>
148
                                    <value>$DayCollected</value>
149
                                </_nullIf>
150
                            </day>
151
                            <month>
152
                                <_nullIf>
153
                                    <null>0</null>
154
                                    <type>float</type>
155
                                    <value>$MonthCollected</value>
156
                                </_nullIf>
157
                            </month>
158
                            <year>
159
                                <_nullIf>
160
                                    <null>0</null>
161
                                    <type>float</type>
162
                                    <value>$YearCollected</value>
163
                                </_nullIf>
164
                            </year>
169 165
                        </_date>
170 166
                    </collectiondate>
171 167
                    <count>$IndividualCount</count>

Also available in: Unified diff