Project

General

Profile

« Previous | Next » 

Revision 5109

mappings/VegCore-VegBIEN.csv: Don't combine taxonRank with infraspecificEpithet if there is no infraspecificEpithet, because the taxonRank is only the infraspecificEpithet's prefix when there is an actual infraspecificEpithet. Often, taxonRank contains values like "genus" or "species" which cannot be used for this purpose.

View differences:

test.xml.ref
124 124
                                    <species>$Species</species>
125 125
                                    <subspecies>
126 126
                                        <_join_words>
127
                                            <1>$infra_rank_1</1>
127
                                            <1>
128
                                                <_if name="if has infraspecificEpithet">
129
                                                    <cond>$infra_ep_1</cond>
130
                                                    <then>$infra_rank_1</then>
131
                                                </_if>
132
                                            </1>
128 133
                                            <2>$infra_ep_1</2>
129 134
                                        </_join_words>
130 135
                                    </subspecies>
......
137 142
                                                    <3>$Species</3>
138 143
                                                    <5>
139 144
                                                        <_join_words>
140
                                                            <1>$infra_rank_1</1>
145
                                                            <1>
146
                                                                <_if name="if has infraspecificEpithet">
147
                                                                    <cond>$infra_ep_1</cond>
148
                                                                    <then>$infra_rank_1</then>
149
                                                                </_if>
150
                                                            </1>
141 151
                                                            <2>$infra_ep_1</2>
142 152
                                                        </_join_words>
143 153
                                                    </5>

Also available in: Unified diff