srophe / srophe-eXist-app

DEPRECATED eXist code for Syriaca.org: The Syriac Reference Portal
GNU General Public License v3.0
10 stars 12 forks source link

Issue with relationship display when nested in other types of factoids #1162

Closed wsalesky closed 4 years ago

wsalesky commented 4 years ago

Issue with relations nested in events. example:

<div type="factoid" xml:id="factoid-18" resp="#dschwartz">
                <idno type="URI">http://syriaca.org/spear/8559-18</idno>
                <listEvent>
                    <event ana="http://syriaca.org/keyword/natural-disasters">
                        <desc><persName ref="http://syriaca.org/person/2228"> Two thousand people
                            </persName> were killed in <placeName ref="http://syriaca.org/place/78">
                                Edessa </placeName> by the flooding of <placeName
                                ref="http://syriaca.org/place/191"> the Daisan river </placeName> in <choice>
                                <reg><date when="0201-11" calendar="Gregorian"
                                        syriaca-computed-start="0201-11-01">November A. D.
                                        201</date></reg>
                                <orig><date when-custom="0513-02"
                                        datingMethod="Seleucid-SyriacMonths">Teshri II A. Gr.
                                        513</date></orig>
                            </choice>. </desc>
                    </event>
                    <listRelation>
                        <relation ref="syriaca:SameEvent" ana="event"
                            mutual="http://syriaca.org/spear/8559-18 http://syriaca.org/spear/8559-545"
                        />
                    </listRelation>
                </listEvent>
                <bibl type="primary"><ptr target="http://syriaca.org/bibl/633"/><citedRange
                        unit="pp">2</citedRange></bibl>
                <bibl type="urn"><ptr target="urn:cts:syriacLit:nhsl8559.syriacCorpus57:1"/></bibl>
                <bibl type="primary"><ptr target="http://syriaca.org/bibl/657"/><citedRange
                        unit="part">8</citedRange></bibl>
            </div>
wsalesky commented 4 years ago

Need to pass relationship generated data to XSLT or move SPEAR display into XQuery.