Re: How to test (tei) module

Peter von Kaehne <[email protected]>
Newsgroups gmane.comp.literature.sword.devel
Message-ID <[email protected]>
Hi,

Have you checked our wiki?

CrossWire Bible Society

wiki.crosswire.org

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 <[email protected]> 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: [email protected]
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

_______________________________________________
sword-devel mailing list: [email protected]
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.