Skip to content

Commit

Permalink
[test] visibleBy attribute tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marmoure committed Oct 18, 2023
1 parent 3a5901e commit d77251d
Show file tree
Hide file tree
Showing 4 changed files with 292 additions and 113 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:r="http://raskovnik.org">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Title</title>
</titleStmt>
<publicationStmt>
<p>Publication Information</p>
</publicationStmt>
<sourceDesc>
<p>Information about the source</p>
</sourceDesc>
</fileDesc>
<xenoData>
<r:visibleBy>visibility</r:visibleBy>
</xenoData>
</teiHeader>
<text>
<body>
<div xml:id="VSK.SR.letter.а" xml:base="VSK.SR.letter.%D0%B0.xml">
<entryFree xml:id="VSK.SR.Adam">
<form type="lemma">
<orth>Adam</orth>
</form>
<pc>,</pc>
<gramGrp>
<pos>m</pos>
</gramGrp>
<sense xml:id="d1e403">
<cit type="tr">
<quote>Адам</quote>
</cit>
<pc>.</pc>
</sense>
</entryFree>
<entryFree xml:id="VSK.SR.Addam">
<form type="lemma">
<orth>Addam</orth>
</form>
<pc>,</pc>
<gramGrp>
<pos>m</pos>
</gramGrp>
<sense xml:id="d1e404">
<cit type="tr">
<quote>Аддам</quote>
</cit>
<pc>.</pc>
</sense>
</entryFree>
<entryFree xml:id="VSK.SR.Adamm">
<form type="lemma">
<orth>Adamm</orth>
</form>
<pc>,</pc>
<gramGrp>
<pos>m</pos>
</gramGrp>
<sense xml:id="d1e4043">
<cit type="tr">
<quote>Адамм</quote>
</cit>
<pc>.</pc>
</sense>
</entryFree>
<entryFree xml:id="VSK.SR.Adammm">
<form type="lemma">
<orth>Adammm</orth>
</form>
<pc/>
<gramGrp>
<pos>m</pos>
</gramGrp>
<sense xml:id="d1e40443">
<cit type="tr">
<quote>Адаммм</quote>
</cit>
<pc>.</pc>
</sense>
</entryFree>
<entryFree xml:id="VSK.SR.Adammmm">
<form type="lemma">
<orth>Adammmmm</orth>
</form>
<pc/>
<gramGrp>
<pos>m.</pos>
</gramGrp>
<sense xml:id="d1e404443">
<cit type="tr">
<quote>Адамммм</quote>
</cit>
<pc>.</pc>
</sense>
</entryFree>
</div>
</body>
</text>
</TEI>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<collection xmlns="http://exist-db.org/collection-config/1.0">
<index xmlns:r="http://raskovnik.org" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<algolia>
<namespaceMappings>
<namespaceMapping>
<prefix>tei</prefix>
<namespace>http://www.tei-c.org/ns/1.0</namespace>
</namespaceMapping>
<namespaceMapping>
<prefix>xml</prefix>
<namespace>http://www.w3.org/XML/1998/namespace</namespace>
</namespaceMapping>
<namespaceMapping>
<prefix>r</prefix>
<namespace>http://raskovnik.org</namespace>
</namespaceMapping>
</namespaceMappings>
<index name="raskovnik-test-integration-user-visibleBy" visibleBy="/tei:TEI/tei:teiHeader/tei:xenoData/r:visibleBy">
<rootObject path="/tei:TEI/tei:text/tei:body/tei:div/tei:entryFree">
<attribute name="lemma" path="/tei:form/tei:orth"/>
<attribute name="dict" path="@xml:id"/>
<attribute name="tr" path="/tei:sense/tei:cit/tei:quote"/>
</rootObject>
</index>
</algolia>
</index>
</collection>
Loading

0 comments on commit d77251d

Please # to comment.