-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
292 additions
and
113 deletions.
There are no files selected for viewing
99 changes: 99 additions & 0 deletions
99
src/test/resources/integration/user-specified-visibleBy/VSK.TEST.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
27 changes: 27 additions & 0 deletions
27
src/test/resources/integration/user-specified-visibleBy/collection.xconf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Oops, something went wrong.