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
86 86
                                    <species>$specificEpithet</species>
87 87
                                    <subspecies>
88 88
                                        <_join_words>
89
                                            <1>$taxonRank</1>
89
                                            <1>
90
                                                <_if name="if has infraspecificEpithet">
91
                                                    <cond>$infraspecificEpithet</cond>
92
                                                    <then>$taxonRank</then>
93
                                                </_if>
94
                                            </1>
90 95
                                            <2>$infraspecificEpithet</2>
91 96
                                        </_join_words>
92 97
                                    </subspecies>
......
102 107
                                                            <3>$specificEpithet</3>
103 108
                                                            <5>
104 109
                                                                <_join_words>
105
                                                                    <1>$taxonRank</1>
110
                                                                    <1>
111
                                                                        <_if name="if has infraspecificEpithet">
112
                                                                            <cond>$infraspecificEpithet</cond>
113
                                                                            <then>$taxonRank</then>
114
                                                                        </_if>
115
                                                                    </1>
106 116
                                                                    <2>$infraspecificEpithet</2>
107 117
                                                                </_join_words>
108 118
                                                            </5>

Also available in: Unified diff