Project

General

Profile

« Previous | Next » 

Revision 3227

xml_func.py: process(): Fixed bug where an evaluated XML function might create a node of the same name as an existing node, but these nodes would not be merged even though they referred to the same object, by merging siblings of a newly-evaluated (replaced) node if they have the same name

View differences:

VegBIEN.organisms.xml.ref
12 12
                            </specimenreplicate>
13 13
                        </specimenreplicate_id>
14 14
                    </voucher>
15
                </taxonoccurrence>
16
            </taxonoccurrence_id>
17
        </aggregateoccurrence>
18
        <aggregateoccurrence>
19
            <taxonoccurrence_id>
20
                <taxonoccurrence>
21 15
                    <locationevent_id>
22 16
                        <locationevent>
23 17
                            <obsstartdate>2001-01-01</obsstartdate>
......
131 125
                            </specimenreplicate>
132 126
                        </specimenreplicate_id>
133 127
                    </voucher>
134
                </taxonoccurrence>
135
            </taxonoccurrence_id>
136
        </aggregateoccurrence>
137
        <aggregateoccurrence>
138
            <taxonoccurrence_id>
139
                <taxonoccurrence>
140 128
                    <locationevent_id>
141 129
                        <locationevent>
142 130
                            <obsstartdate>2001-01-01</obsstartdate>

Also available in: Unified diff