[sword-devel] How to test (tei) module
ZdPo Ster
zdposter at gmail.com
Sat Oct 29 09:30:49 EDT 2022
Hi,
actually I am referring to wiki.crosswire.org, so I hope I read it ;-)
Regarding dictionary: I would like to create tei formatted dictionary that
works also outside of The Sword Project. e.g. like a simple greek-slovak
dictionary. As far as I understand, The Sword used only a subset of tei.
When I make my tests (like in the original post) I am not sure if there is
a problem in the fronted app, or The Sword library does not support it or
there is a flaw). So I need to have some test tools based on the library
(to eliminate possible problems with fronteds).
My target is to follow The TEI Guidelines but the module should work with
The Sword without modification.
Yours,
Zdenko
On Thu, 27 Oct 2022 at 20:49, Peter von Kaehne <refdoc at gmx.net> wrote:
> Hi,
>
> Have you checked our wiki?
>
> CrossWire Bible Society <http://wiki.crosswire.org/Main_Page>
> wiki.crosswire.org <http://wiki.crosswire.org/Main_Page>
> <http://wiki.crosswire.org/Main_Page>
> <http://wiki.crosswire.org/Main_Page>
>
> Lots of info on module making - including TEI
>
> Yours
>
> Peter
>
> Sent from my phone. Please forgive misspellings and weird “corrections”
>
> On 27 Oct 2022, at 19:28, ZdPo Ster <zdposter at gmail.com> wrote:
>
>
> Hello,
>
> As I got a strong suggestion to use the TEI as the format for the
> dictionary I face the problem of how to test the created module.
>
> For example:
> wiki (https://wiki.crosswire.org/TEI_Dictionaries) suggest to use for
> Internal references this:
>
> <xr type="see">See: <ref target="self:key">key text</ref></xr>
>
>
> When I have a look at
> https://gitlab.com/crosswire-bible-society/strongsgreek/-/blob/master/tei/strongsgreek.tei.xml
> I see usage like this:
> <ref target="StrongsGreek:427">427</ref>
>
> I tried to avoid 'hardcoding' a module name in the dictionary, so I used
> <ref target="self:00427">427</ref>
> but it does not work (in Xiphos) - maybe I got it wrong.
>
>
> In The TEI Guidelines (
> https://tei-c.org/release/doc/tei-p5-doc/ko/html/DI.html) I found this
> example:
> <ref target="#locution">s.v. <term>locution</term></ref>
>
> so I tried:
> <ref target="#00427">427</ref>
>
> And - it does not work... After try and test I found variants that works ('strongsgreek_sk.tei' is name of my test module):
> <ref target="strongsgreek_sk.tei:00427">427</ref>
> <ref target=":00427">:427</ref>
> <ref target="427">427</ref>
> <ref target="00427">427</ref>
>
> I am not sure if this is a problem with the frontend or the library or my module, so I am looking for a way to test tei formatting without needing to test various sword frontends...
>
> Also I am not sure if somebody is interested in these findings/experiences (where to report it?).
>
> BR,
>
> Zdenko
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20221029/2ae9d8a1/attachment-0001.htm>
More information about the sword-devel
mailing list