[sword-devel] osisID for merged verses

DM Smith dmsmith at crosswire.org
Thu May 17 16:00:37 MST 2018


XML doesn’t allow for an attribute to be listed twice. It will either error or use one. 

— DM Smith
From my phone. Brief. Weird autocorrections. 

> On May 17, 2018, at 6: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>
> <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.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
> 
> _______________________________________________
> 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/91c54b05/attachment-0001.html>


More information about the sword-devel mailing list