[sword-devel] osisID for merged verses

Greg Hellings greg.hellings at gmail.com
Thu May 17 15:47:31 MST 2018


On Thu, May 17, 2018 at 5:10 PM, Michael H <cmahte at gmail.com> wrote:

> This is a question:
>
> Is there anything in OSIS (or Sword coding) that limits the osisID 1 to 1
> to a milestone?  Would including more than one osisID within a milestone
> create errors?
>
> ----
> <verse sID="Gen.6.9-Gen.6.10" *osisID="Gen.6.9" osisID="Gen.6.10*" n="10"
> />Dieu dit à Noé de construire un grand bateau</title></p>
>

If I'm remembering my XML correctly, this is not well-formed. Although it
might be well-formed, but it would probably parse as values overwriting one
another and not resulting in a list of values.

--Greg


> <p>9-10Voici l’histoire de Noé. Noé est le père de trois fils : Sem, Cham
> et Japhet. Parmi les hommes de son époque, Noé est un homme juste, il fait
> ce qui plaît à Dieu. Il suit le chemin de Dieu.</p>
> <p>
> <verse eID="Gen.6.9-Gen.6.10" />
> ____
>
>
> On Thu, May 17, 2018 at 2:06 PM, Troy A. Griffitts <scribe at crosswire.org>
> wrote:
>
>> Hi John,
>>
>> Yes, an osisID does not allow a range.  I believe our import tool
>> osis2mod will accept a range even though it is not valid OSIS.  Give it a
>> try and see how it goes.
>>
>> Troy
>>
>> On 05/17/2018 11:59 AM, John Dudeck wrote:
>>
>> Greetings,
>>
>> I am trying to create a module for a Bible (French Parole de Vie) that
>> has about 160 verses that are merges of two or more verses. My source file
>> (from Logos) has milestones that give the verse range.
>>
>> I converted these to OSIS milestones such as:
>>
>> <verse sID="Gen.6.9-Gen.6.10" osisID="Gen.6.9-Gen.6.10" n="10" />Dieu dit
>> à Noé de construire un grand bateau</title></p>
>> <p>9-10Voici l’histoire de Noé. Noé est le père de trois fils : Sem, Cham
>> et Japhet. Parmi les hommes de son époque, Noé est un homme juste, il fait
>> ce qui plaît à Dieu. Il suit le chemin de Dieu.</p>
>> <p>
>> <verse eID="Gen.6.9-Gen.6.10" />
>>
>> When I validate this with http://www.crosswire.org/osis/
>> osisCore.2.1.1.xsd I get errors of not being valid osisIDtype.
>>
>> How should I tag verse milestones for verses that cover more than one
>> verse reference?
>>
>> Thanks.
>>
>> John Dudeck
>> Programmer at Editions Cle                             Lyon, France
>> john.dudeck at sim.org                            john at editionscle.com
>> --
>> It's not a bug; it's an undocumented feature.
>>
>>
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.orghttp://www.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://www.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://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20180517/0c06c9d2/attachment-0001.html>


More information about the sword-devel mailing list