<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">An osisID can be multiple verses. This represents Bibles such as The Message, which number the first verse of each paragraph, if at all. When encoding an osisID it has space separated verse references. Typically, the set is contiguous, but there is no requirement that it be so. (There are a few translations, such as the ESV, that use the KJV numbering for the most part, but will have no text for some verses, deeming those as not part of the original text.)<div><br></div><div>In Him,</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>DM<br><div><br></div><div>On Nov 21, 2012, at 3:57 PM, <a href="mailto:davidtroidl@aol.com">davidtroidl@aol.com</a> wrote:</div><div><div><br class="Apple-interchange-newline"><blockquote type="cite"><font size="2" face="arial"><font color="#990000">Deut. 32:15,17,22–26<font size="2"> could be marked up<br>
<font size="2">&lt;reference osisRef="Deut.32.15"&gt;Deut. 32:15&lt;/reference&gt;, </font></font></font><font color="#990000"><font size="2"><font size="2"><font color="#990000"><font size="2"><font size="2">&lt;reference osisRef="Deut.32.17"&gt;17&lt;/reference&gt;, </font></font></font></font></font></font></font><font color="#990000"><font size="2">&lt;reference osisRef="Deut.32.22-Deut.32.26"&gt;22-26&lt;/reference&gt;<br>
<br>
<font size="2">osisID's are meant to be unique identifiers for <font size="2">book, chapter and verse elements in a bible.&nbsp; They should not be used in notes<font size="2">, and they should not cont<font size="2">ain multiple references.<br>
<br>
<font size="2">Peace,<br>
<br>
<font size="2">David</font><br>
</font></font></font></font></font></font></font><font face="arial" size="2">

<div> <br>

</div>



<div style="font-family: arial, helvetica; font-size: 10pt; "><blockquote style="border-left: 2px solid blue; padding-left: 3px;">Deut. 32:15,17,22–26</blockquote></div>



<div> <br>

</div>



<div> <br>

</div>



<div> <br>

</div>



<div style="font-family: arial, helvetica; font-size: 10pt; ">-----Original Message-----<br>

From: Markku Pihlaja &lt;<a href="mailto:markku.pihlaja@sempre.fi">markku.pihlaja@sempre.fi</a>&gt;<br>

To: osis-users &lt;<a href="mailto:osis-users@crosswire.org">osis-users@crosswire.org</a>&gt;<br>

Sent: Wed, Nov 21, 2012 11:34 am<br>

Subject: Re: [osis-users] OSIS cross-reference questions<br>

<br>









<div id="AOLMsgPart_2_1f3dd31f-019e-464a-adbf-8c3641617e4f">



<div><br>

</div>



<div>Well, no replies to my previous message.</div>



<div>My explanations might have been too long for anyone to take the effort of reading - sorry about that. So now I'll try reducing and simplyfying the questions that I still need an answer for. Read further to previous conversations if you need more details.</div>




<div>------------------------------------------------------------</div>



<div><br>

</div>



<div><font color="#3333ff"><b>1)</b> How do I make a difference between a list of three separate crossreferences and a single compound crossreference that consists of three separate verses (or even ranges)?</font></div>




<div>Example:</div>



<div><font color="#990000">Deut. 32:15; Deut. 32:17;&nbsp;Deut. 32:22–26</font></div>



<div>

<div>vs.</div>



<div><font color="#990000">Deut. 32:15,17,22–26</font></div>

</div>



<div><br>

</div>



<div>I emphasize that the second example is just a single reference to a non-contiguous set of verses, and can also be one of several separate references on a list like the first example.</div>




<div><br>

</div>



<div>------------------------------------------------------------</div>



<div><br>

</div>



<div><font color="#3333ff"><b>2)</b> Is listing multiple individual verses separated by a space really allowed in <b>a)</b> osisIDs <b>b)</b> osisRefs?</font>&nbsp;</div>




<div>I tried parsing the OSIS schema for osisIDRegex and osisRefRegex but couldn't find anything that would allow this - probably missed just the crucial character somewhere.&nbsp;The Durusau manual does give an example about <b>a)</b> under "15.4. Grouping". But the manual says that "a&nbsp;single osisRef cannot identify a discontiguous range of a work", so the answer to&nbsp;<b>b)</b>&nbsp;is probably "no" and the latter of the two examples below incorrect?</div>




<div><br>

</div>



<div>Example:</div>



<div>

<div><font color="#990000">&lt;note type="crossReference" osisID="<b>Deut.32.15 Deut.32.17</b>"&gt;</font></div>

</div>



<div>

<div><font color="#990000">&lt;reference osisRef="<b>Deut.32.15 Deut.32.17</b>"&gt;</font></div>


</div>



<div><font color="#990000"><br>

</font></div>



<div>------------------------------------------------------------</div>



<div><br>

</div>



<div><font color="#3333ff"><b>3)</b> If the answer to 2a) is yes, what is allowed with a compound ID like that? Specifically, can I use sub-identifiers?</font>&nbsp;</div>




<div>If I name a note with such a grouped osisID, can I append&nbsp;!crossReference to it - and where should I place it? After an extra space after the last verse listed or connected to the las verse (in which case it looks like it only applies to that verse)?</div>




<div><br>

</div>



<div>Example:</div>



<div><span style="color:rgb(153,0,0)">&lt;note type="crossReference" osisID="</span><b style="color:rgb(153,0,0)">Deut.32.15 Deut.32.17 !crossReference</b><span style="color:rgb(153,0,0)">"&gt;</span></div>




<div>or&nbsp;</div>



<div>

<div><span style="color:rgb(153,0,0)">&lt;note type="crossReference" osisID="</span><b style="color:rgb(153,0,0)">Deut.32.15 Deut.32.17!crossReference</b><span style="color:rgb(153,0,0)">"&gt;</span></div>


</div>



<div>or something else?</div>



<div><br>

</div>



<div>Merely&nbsp;<span style="color:rgb(153,0,0)">&lt;note type="crossReference" osisID="</span><b style="color:rgb(153,0,0)">Deut.32.15!crossReference</b><span style="color:rgb(153,0,0)">"&gt;&nbsp;</span>won't do because I need to make a difference between a note attached to just verse 15 and to verses 15 and 17 together. And I do need to refer to the very note instead of the verses, that's why I need that sub-identifier.</div>




<div><br>

</div>



<div>------------------------------------------------------------</div>



<div><br>

</div>



<div>

<div><font color="#3333ff"><b>4)</b>&nbsp;If the answer to 2b) is yes, what is allowed in that compound ref? Specifically,&nbsp;are ranges allowed in such compound refs?</font></div>




<div>

<div><br>

</div>



<div>Example:</div>



<div><span style="color:rgb(153,0,0)">&lt;reference osisRef="</span><b style="color:rgb(153,0,0)">Deut.32.15 Deut.32.17&nbsp;</b><b style="color:rgb(153,0,0)">Deut.32.22-Deut.32.26</b><span style="color:rgb(153,0,0)">"&gt;</span></div>


</div>



<div><span style="color:rgb(153,0,0)"><br>

</span></div>



<div>I guess this goes back to question 1)&nbsp;especially&nbsp;if 2b) was wrong.</div>



<div><br>

</div>



<div>

<div>------------------------------------------------------------</div>




<div><br>

</div>



<div></div>

</div>



<div>

<div><font color="#3333ff"><b>5)</b>&nbsp;If 2b (and thus also 4) is wrong, how do I make a cross-reference to a <b>note</b> whose <b>source</b> passage&nbsp;</font><span style="color:rgb(51,51,255)">consists of incontiguous verses? Also, since annotateRef takes an osisRef value, how can I indicate an incontiguous source in that?</span></div>




<div></div>

</div>



<div><br>

</div>



<div>Example, apparently with at least an invalid osisRef:</div>



<div><span style="color:rgb(153,0,0)">&lt;note type="crossReference" osisID="</span><b style="color:rgb(153,0,0)">Deut.32.15 Deut.32.17 !crossReference</b><span style="color:rgb(153,0,0)">"&gt;</span></div>




<div><span style="color:rgb(153,0,0)">...</span></div>



<div><span style="color:rgb(153,0,0)">&lt;reference osisRef="</span><b style="color:rgb(153,0,0)">Deut.32.15 Deut.32.17 !crossReference</b><span style="color:rgb(153,0,0)">"&gt;Deut. 32.15,17&lt;/reference&gt;</span></div>




<div><span style="color:rgb(153,0,0)"><br>

</span></div>



<div>------------------------------------------------------------</div>



<div><br>

</div>

<font color="#3333ff"><b>6) </b>Is it possible to have a reference's osisRef with a sub-identifier without a corresponding osisID having that (or any) sub-identifier?</font></div>




<div><b><br>

</b></div>



<div>Example:</div>



<div><font color="#990000">&lt;verse osisID="<b>Deut.32.15</b>" sID="Deut.32.15" /&gt;Jeshurun grew fat&nbsp;and kicked; filled with food, he became heavy and sleek. He abandoned the God who made him and rejected the Rock his Savior.&lt;verse eID="Deut.32.15" /&gt;</font></div>




<div>...</div>



<div><font color="#990000">&lt;reference osisRef="<b>Deut.32.15!part2</b>"&gt;</font></div>



<div><br>

</div>



<div>------------------------------------------------------------</div>



<div><br>

</div>



<div>
Complicated questions, I hope you have some answers or at least workarounds!</div>



<div><br>

</div>



<div>Markku</div>



<div><br>

</div>



<div><br>

</div>

<br>

<br>



<div class="gmail_quote">2012/11/19 Markku Pihlaja <span dir="ltr">&lt;<a href="mailto:markku.pihlaja@sempre.fi">markku.pihlaja@sempre.fi</a>&gt;</span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>Thanks DM,</div>



<div><br>

</div>



<div>(Others are also welcome to share their views! And also to check the one new question at the end, after the second &nbsp;"-----------" marker)</div>




<div><br>

</div>



<div>That didn't quite solve my problem. You say I shouldn't nest references. But I do need some way of making a difference between a compound reference and a list of separate references. An example:</div>





<div><br>

</div>



<div>In Gen. 46:12, we have three references:&nbsp;</div>



<div><font color="#990000">Gen. 38:7,10; Num. 26:19-21; 1. Chr. 4:1</font></div>



<div><br>

</div>



<div>The first one, to Gen., is indeed just one reference even though it refers to separate verses. As far as I can figure out, an unnested note wouldn't be able to tell whether Gen.38.7 and Gen.38.10 are parts of the same reference or two independent references:</div>





<div><span style="color:rgb(153,0,0)">&lt;note type="crossreference"&gt;</span></div>



<div>

<div class="gmail_quote">

<div><span style="color:rgb(153,0,0)">&nbsp; &nbsp; &nbsp; &nbsp; &lt;reference&nbsp;osisRef="</span>Gen.38.7<span style="color:rgb(153,0,0)">"&gt;</span>Gen. 38:7<span style="color:rgb(153,0,0)">&lt;/reference&gt;,</span></div>





<div>

<div><span style="color:rgb(153,0,0)">&nbsp; &nbsp; &nbsp; &nbsp; &lt;reference&nbsp;osisRef="</span>Gen.38.10<span style="color:rgb(153,0,0)">"&gt;</span>10<span style="color:rgb(153,0,0)">&lt;/reference&gt;;</span></div>

</div>



<div>

<span style="color:rgb(153,0,0)">&nbsp; &nbsp; &nbsp; &nbsp; &lt;reference&nbsp;osisRef="</span>Num. 26:19-21<span style="color:rgb(153,0,0)">"</span><span style="color:rgb(153,0,0)">&gt;</span>Num. 26:19-21<span style="color:rgb(153,0,0)">&lt;/reference&gt;;</span></div>





<div><span style="color:rgb(153,0,0)">&nbsp; &nbsp; &nbsp; &nbsp; &lt;reference&nbsp;osisRef="</span>1Chr.4.1<span style="color:rgb(153,0,0)">"</span><span style="color:rgb(153,0,0)">&gt;</span>1. Chr. 4:1<span style="color:rgb(153,0,0)">&lt;/reference&gt;</span></div>





<div><span style="color:rgb(153,0,0)">&lt;/note&gt;</span></div>

</div>

</div>



<div><br>

</div>



<div>Of course, to a human those first two refs would&nbsp;probably&nbsp;look like one reference, but the computer needs to rely solely on the markup and not what's between.</div>





<div><br>

</div>



<div>If, on the other hand, I list that as three subsequent notes, the semicolons wouldn't be embedded in any tags and thus would be rendered even when reference notes should be hidden.</div>



<div><br>

</div>





<div>

<div class="gmail_quote">

<div><span style="color:rgb(153,0,0)">&lt;note type="crossreference"&gt;</span></div>



<div><span style="color:rgb(153,0,0)">&nbsp; &nbsp; &nbsp; &nbsp; &lt;reference&nbsp;osisRef="</span>Gen.38.7<span style="color:rgb(153,0,0)">"&gt;</span>Gen. 38:7<span style="color:rgb(153,0,0)">&lt;/reference&gt;,</span></div>





<div><span style="color:rgb(153,0,0)">&nbsp; &nbsp; &nbsp; &nbsp; &lt;reference&nbsp;osisRef="</span>Gen.38.10<span style="color:rgb(153,0,0)">"&gt;</span>10<span style="color:rgb(153,0,0)">&lt;/reference&gt;</span></div>



<div><span style="color:rgb(153,0,0)">&lt;/note&gt;</span></div>





<div>;</div>



<div>&nbsp;<span style="color:rgb(153,0,0)">&lt;note type="crossreference"&gt;</span></div>



<div><span style="color:rgb(153,0,0)">&nbsp; &nbsp; &nbsp; &nbsp; &lt;reference&nbsp;osisRef="</span>Num. 26:19-21<span style="color:rgb(153,0,0)">"</span><span style="color:rgb(153,0,0)">&gt;</span>Num. 26:19-21<span style="color:rgb(153,0,0)">&lt;/reference&gt;</span></div>





<div><span style="color:rgb(153,0,0)">&lt;/note&gt;</span></div>



<div>;</div>



<div>&nbsp;<span style="color:rgb(153,0,0)">&lt;note type="crossreference"&gt;</span></div>



<div><span style="color:rgb(153,0,0)">&nbsp; &nbsp; &nbsp; &nbsp; &lt;reference&nbsp;osisRef="</span>1Chr.4.1<span style="color:rgb(153,0,0)">"</span><span style="color:rgb(153,0,0)">&gt;</span>1. Chr. 4:1<span style="color:rgb(153,0,0)">&lt;/reference&gt;</span></div>





<div><span style="color:rgb(153,0,0)">&lt;/note&gt;</span></div>



<div><span style="color:rgb(153,0,0)"><br>

</span></div>

</div>

</div>



<div>I guess it is also true what you wrote about note tags: they represent the marker(s) in the text (even though most of our printed Finnish Bibles don't include markers within the text; the notes are listed after certain passages with references to the position of the note instead). Also this would&nbsp;imply that I shouldn't use the later example with three subsequent notes.</div>





<div><br>

</div>



<div><br>

</div>



<div>You mentioned one more approach, listing all parts of the compound reference in one osisRef. That would seem to work somehow:</div>



<div><br>

</div>



<div>

<div class="gmail_quote">

<div>&nbsp;<span style="color:rgb(153,0,0)">&lt;note type="crossreference"&gt;</span></div>





<div><span style="color:rgb(153,0,0)">&nbsp; &nbsp; &nbsp; &nbsp; &lt;reference&nbsp;osisRef="</span>Gen.38.7 Gen.38.10<span style="color:rgb(153,0,0)">"&gt;</span>Gen. 38:7,10<span style="color:rgb(153,0,0)">&lt;/reference&gt;;</span></div>





<div><span style="color:rgb(153,0,0)">&nbsp; &nbsp; &nbsp; &nbsp; &lt;reference&nbsp;osisRef="</span>Num. 26:19-21<span style="color:rgb(153,0,0)">"</span><span style="color:rgb(153,0,0)">&gt;</span>Num. 26:19-21<span style="color:rgb(153,0,0)">&lt;/reference&gt;;</span></div>





<div><span style="color:rgb(153,0,0)">&nbsp; &nbsp; &nbsp; &nbsp; &lt;reference&nbsp;osisRef="</span>1Chr.4.1<span style="color:rgb(153,0,0)">"</span><span style="color:rgb(153,0,0)">&gt;</span>1. Chr. 4:1<span style="color:rgb(153,0,0)">&lt;/reference&gt;</span></div>





<div><span style="color:rgb(153,0,0)">&lt;/note&gt;</span></div>



<div><span style="color:rgb(153,0,0)"><br>

</span></div>

</div>

</div>



<div>This osisRef / osisID style, however, is missing from Durusau's User Manual.&nbsp;There is section "15.4 Grouping" that does give an example of such notation with osisIDs, but "Appendix J - osisIDs: Construction Rules" doesn't say anything about this. And I've found nothing whatsoever about osisRefs like this.&nbsp;So is this certainly valid markup?</div>





<div><br>

</div>



<div>Also, assuming <font color="#990000">"Gen.38.7 Gen.38.10"</font> would be&nbsp;a valid osisRef, would also for example <font color="#990000">"Gen.38.7 Gen.38.10-Gen.38.12" </font>be? We also have a few compound references consisting of separate verses AND one or more ranges.</div>





<div><br>

</div>



<div>-----------</div>



<div><br>

</div>



<div>As for my question number 3) - the subdivision of &nbsp;a referenced verse - I tried to explain that there is no automatic or even easy manual way of determining where each subdivision of the verse begins. We would need a Bible content expert to do that, and we don't have one for this project.</div>





<div><br>

</div>



<div>So referring to a fine-grained position of a verse is no option since we don't know where each exact position would be.</div>



<div><br>

</div>



<div>I'll refine my question:</div>



<div>Is there any way of determining a "vague" division of a verse? For example, does the extension part of an osisRef always need to have a corresponding osisID somewhere? Or could we have a verse like this:</div>





<div><span style="color:rgb(153,0,0)">&nbsp; &lt;verse osisID="</span>Xxx.2.14<span style="color:rgb(153,0,0)">" sID=.... /&gt;</span></div>



<div><span style="color:rgb(153,0,0)">&nbsp; Some text here. Some more text here. Even some more text here. And more and more text.</span></div>





<div><span style="color:rgb(153,0,0)">&nbsp; &lt;verse eID="... /&gt;</span></div>



<div>

<div><br>

</div>



<div>and then have a reference like this:</div>

</div>



<div><span style="color:rgb(153,0,0)">&nbsp; &lt;reference&nbsp;osisRef="</span>Xxx.2.14!c<span style="color:rgb(153,0,0)">"&gt;Xxx 2:14</span><span style="color:rgb(153,0,0)">&lt;/reference&gt;</span></div>





<div>

<div>with just the osisID "Xxx.2.14" declared but not "Xxx.2.14!c"?</div>

</div>



<div><br>

</div>



<div>I know this is vague, but so is our current notation, and I'm trying to find some means of including the info in the current notation also in the markup. My plan B would then be to just encode all the references to the whole verse and let only the | separators indicate to the reader that the references point to different parts of the verse, just as in the printed versions now.</div>





<div><br>

</div>



<div><br>

</div>



<div>-----------</div>



<div><br>

</div>



<div>And now for one new somewhat related question.</div>



<div><br>

</div>



<div>We also have something that could be called indirect references. Our notation</div>





<div><font color="#990000">Gen. 24:7+</font></div>



<div>tells us that this reference doesn't refer to Gen. 24:7 itself, but it shares the references listed for that verse instead. For example, this Gen. 24:7 has references:</div>





<div><font color="#990000">&lt;note osisID="</font>Gen.24.7!crossReference<font color="#990000">"&gt;</font></div>



<div>

<div><font color="#990000">&nbsp; &nbsp; &lt;reference osisRef="Gen.50.24"&gt;Gen. 50:24&lt;/reference&gt;;</font></div>



</div>



<div>

<div><font color="#990000">&nbsp; &nbsp; &lt;reference&nbsp;</font><span style="color:rgb(153,0,0)">osisRef</span><span style="color:rgb(153,0,0)">="Deut.1.8"&gt;Deut. 1:8&lt;/reference&gt;;</span></div>

</div>



<div>


<div>
<font color="#990000">&nbsp; &nbsp; &lt;reference&nbsp;</font><span style="color:rgb(153,0,0)">osisRef</span><span style="color:rgb(153,0,0)">="Josh.1.6"&gt;Josh. 1:6&lt;/reference&gt;;</span></div>

</div>



<div>

<div><font color="#990000">&nbsp; &nbsp; &lt;reference&nbsp;</font><span style="color:rgb(153,0,0)">osisRef</span><span style="color:rgb(153,0,0)">="Judg.2.1"&gt;Judg.2:1&lt;/reference&gt;</span></div>



</div>



<div><font color="#990000">&lt;/note&gt;</font></div>



<div><br>

</div>



<div>Now when another verse lists "<font color="#990000">Gen. 24:7+</font>" as its reference, it means that this reference list should be used as the reference list for this verse, too. Unfortunately replacing the plus notation with the complete list isn't an option here - apparently the fact that these verses share the same references is of importance itself.</div>





<div><br>

</div>



<div>In normal cases, this would probably be rather simple:&nbsp;refer to the note&nbsp;in Gen. 24:7&nbsp;with</div>



<div><font color="#990000">&lt;reference osisRef="Gen.24.7!crossReference" ...&gt;Gen. 24:7+&lt;/reference&gt;</font>.</div>





<div><br>

</div>



<div>But things get tricky when the referred verse in the plus notation is more than a single verse. We have notations like&nbsp;</div>



<div>"<font color="#990000">Deut. 4:41,43+</font>". or "<font color="#990000">Gen. 15:19–21+</font>".</div>





<div><br>

</div>



<div>We might be able to cope with the first one, assuming the "Grouping" notation discussed earlier is valid. But is it ok to add the sub-identifier "<font color="#990000">!crossReference</font>" to an ID like this: "<font color="#990000">Deut.4.41 Deut.4.43</font>", and where do I add it?</div>





<div><br>

</div>



<div>But it gets worse with the&nbsp;latter notation, since ranges aren't allowed in osisIDs - and thus I also can't create an osisRef "<font color="#990000">Gen.15.19-Gen.15.21!crossReference</font>". Or that osisRef might still be valid, but at least the corresponding osisID wouldn't, and thus that reference wouldn't make sense.</div>





<div><br>

</div>



<div>One solution would obviously be to use the osisID of just the first verse - that would mean "<font color="#990000">Deut.4.41!crossReference</font>" or "<font color="#990000">Gen.15.19!crossReference</font>" in my examples. But that is not possible since&nbsp;there might already be references for that verse alone.&nbsp;Also, omitting the other verses from the ID would mean that nothing at all in the markup would tell that this note is related to more than one verse:</div>





<div><span style="color:rgb(153,0,0)">&lt;note osisid="Gen.15.19!crossReference"&gt;</span></div>



<div><span style="color:rgb(153,0,0)">&nbsp; &nbsp; &lt;reference osisRef="Exod.3.8"&gt;Exod. 3:8&lt;/reference&gt;</span></div>





<div><span style="color:rgb(153,0,0)">&lt;/note&gt;</span></div>



<div><br>

</div>



<div>Any ideas?</div>



<div><br>

</div>



<div><br>

</div>



<div>Phew, these things are complicated to explain in an understandable manner... And impossible to do it with only a few short lines.</div>





<div><br>

</div>



<div>Once again, thanks in advance to those who take the effort of reading all this!</div>

<span class="HOEnZb"><font color="#888888">

<div><br>

</div>



<div>Markku</div>

</font></span>

<div class="HOEnZb">

<div class="h5">


<div><br>

</div>



<div><br>

</div>



<div><br>

</div>



<div><br>

</div>



<div><br>

</div>



<div><br>


</div>

<br>

<br>



<div class="gmail_quote"><br>

</div>



<div class="gmail_quote"><br>

</div>



<div class="gmail_quote">2012/11/14 DM Smith <span dir="ltr">&lt;<a href="mailto:dmsmith@crosswire.org">dmsmith@crosswire.org</a>&gt;</span><br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word"><br>



<div>

<div>

<div>On Nov 14, 2012, at 8:54 AM, Markku Pihlaja &lt;<a href="mailto:markku.pihlaja@sempre.fi">markku.pihlaja@sempre.fi</a>&gt; wrote:</div>



<br>

<blockquote type="cite">I'll also need to return to some questions that already got answered ages ago - halfway to meet my final needs, as it now turned out.

<div><br>

</div>



<div><br>

</div>



<div>

<div class="gmail_quote">

2012/4/26 David Troidl <span dir="ltr">&lt;<a href="mailto:DavidTroidl@aol.com">DavidTroidl@aol.com</a>&gt;</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div bgcolor="#FFFFFF" text="#000000">

<div><blockquote type="cite">
      

<div class="gmail_extra">
        

<div class="gmail_quote">
          <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font color="#999999" size="1">1)<br>


            How should I encode cross-references to non-contiguous verse
            ranges? For example, I have this reference (in our standard
            notation): Matt. 27:17,22. This is formally just one
            reference to verses 17 and 22, not two separate references.
            OSIS requires that "a single osisRef cannot identify a
            discontiguous range of a work". So how should this be done?
            Making one note that contains two references might be a step
            towards what I want, but there would still be two separate
            references.<br>

</font></blockquote></div>

</div>

</blockquote></div>

<font color="#999999" size="1">Here is the way to encode discontiguous references:<br>


    &lt;note type="crossReference"&gt;&lt;reference
    osisRef="Matt.27.17"&gt;Matt. 27:17&lt;/reference&gt;, &lt;reference
    osisRef="Matt.27.22"&gt;22&lt;/reference&gt;&lt;/note&gt;</font><br>


    </div>

</blockquote>

<div><br>

</div>



<div>So, when I have a list of separate references, some of which are non-contiguous ones such as above, should I create a nested note to contain the different notes?</div>



<div><br>

</div>






<div>For example, if I have the following three references for one verse:</div>



<div><font color="#990000">Matt. 27:17,22 ; 2. Sam. 7:16; Matt. 9:27</font></div>



<div><br>

</div>



<div>should that be coded as:</div>



<div><br>

</div>






<div><font color="#990000">&lt;note type="crossreference"&gt;</font></div>



<div>

<div><font color="#990000">&nbsp; &nbsp; &nbsp; &nbsp; &lt;note type="crossreference"&gt;</font></div>



<div><font color="#990000">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;reference&nbsp;osisRef="Matt.27.17"&gt;Matt. 27:17&lt;/reference&gt;,&nbsp;</font></div>






<div><font color="#990000">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;reference osisRef="Matt.27.22"&gt;22&lt;/reference&gt;</font></div>



<div><font color="#990000">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/note&gt;;</font></div>

</div>



<div>

<div><font color="#990000">&nbsp; &nbsp; &nbsp; &nbsp; &lt;note type="crossreference"&gt;</font></div>






<div><font color="#990000">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;reference&nbsp;osisRef="2Sam.7.16"&gt;2. Sam. 7:16&lt;/reference&gt;</font></div>



<div><font color="#990000">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/note&gt;;</font></div>

</div>



<div>

<div>

<div><font color="#990000">&nbsp; &nbsp; &nbsp; &nbsp; &lt;note type="crossreference"&gt;</font></div>






<div><font color="#990000">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;reference&nbsp;osisRef="Matt.9.27"&gt;Matt. 9:27&lt;/reference&gt;</font></div>



<div><font color="#990000">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/note&gt;</font></div>

</div>



<div></div>

</div>



<div>

<font color="#990000">&lt;/note&gt;</font></div>

</div>

</div>

</blockquote>

<div><br>

</div>

</div>

No. Don't nest.</div>



<div>You can also use references such as &lt;reference osisRef="Matt.27.17 Matt.27.22 2Sam.7.16 Matt.9.27"&gt;Matt 27:17,22; 2 Sam 7:16; Matt 9:27&lt;/reference&gt;.</div>





<div>Note that some systems (e.g. SWORD Project) cannot handle this. And&nbsp;having 4 refs is better.</div>



<div>

<div><br>

<blockquote type="cite">

<div>

<div class="gmail_quote">


<div><br>

</div>



<div>Putting all the &lt;reference&gt;'s within just one &lt;note&gt; container would to me mean one reference to extremely non-contiguous verses. And if I omit the outer &lt;note&gt; tags, then the semicolon separators between the different notes would fall outside any note and be rendered even when notes are hidden.</div>






<div><br>

</div>



<div>If that suggestion was right, what should we do in simpler cases where there is a group of contiguous references?Should I still enclose them in a second level of &lt;note&gt;'s for consistency, or would it be ok to use only one level like this (assuming here that there is no 27:22 in the first reference):</div>






<div><br>

</div>



<div>

<div><font color="#990000">&lt;note type="crossreference"&gt;</font></div>



<div>

<div><font color="#990000">&nbsp; &nbsp; &nbsp; &nbsp; &lt;reference&nbsp;osisRef="Matt.27.17"&gt;Matt. 27:17&lt;/reference&gt;;</font></div>






<div><font color="#990000">&nbsp; &nbsp; &nbsp; &nbsp; &lt;reference&nbsp;osisRef="2Sam.7.16"&gt;2. Sam. 7:16&lt;/reference&gt;;</font></div>

</div>



<div>

<div><font color="#990000">&nbsp; &nbsp; &nbsp; &nbsp; &lt;reference&nbsp;osisRef="Matt.9.27"&gt;Matt. 9:27&lt;/reference&gt;</font></div>




</div>



<div><font color="#990000">&lt;/note&gt;</font></div>

</div>

</div>

</div>

</blockquote>

<div><br>

</div>

</div>

Just one level. Just like this.</div>



<div>

<div>

<div><br>

<blockquote type="cite">

<div>

<div class="gmail_quote">



<div><br>

</div>



<div><br>

</div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div bgcolor="#FFFFFF" text="#000000">


<div></div>



<div><blockquote type="cite">

<div class="gmail_extra">

<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<font color="#999999" size="1">3)<br>


            Our cross-references are currently listed on a
            verse-by-verse basis in a separate file. Each verse might
            have a number of references, most of them separated by a
            semi-colon. However, in some cases the separator is the
            vertical line character, | (or the pipe sign). This
            indicates a fine grained division of the source verse.
            That's *source*, not target. For example,<br>


            &nbsp;&nbsp; Luuk. 2:4-7 ¦ Dan. 1:20<br>


            would say that the beginning of the referring verse refers
            to Luke 2:4-7, and the end to Daniel 1:20. There can be up
            to 4 divisions like this in one verse. However, there is no
            automatic way of determining what the exact division of the
            source verse is. In fact, in some cases even I can't read
            the verse and tell the division without reading the
            referenced verses first.<br>


            <br>


            This means that in any case I'll probably need to leave the
            OSIS coding vague in this respect. My question here: is
            there a way to somehow indicate the existence of this
            division within the tags, or is the only way to continue
            marking it like it was done until now, like this:<br>


            &lt;reference section1a.... /&gt;; &lt;reference
            section1b.... /&gt; | &lt;reference section2.... /&gt; |&nbsp;
            &lt;reference section3a.... /&gt;; &lt;reference
            section3b.... /&gt;<br>


            <br>


            Could that be done by using osisID's like<br>


            Matt.1.1!crossReference.section1.a<br>


            Matt.1.1!crossReference.section1.b etc.<br>


            or is there a better way?<span><br>


              </span></font></blockquote>
        </div>


      </div>


    </blockquote></div>

<font color="#999999" size="1">
    I'm not exactly clear what you are asking here.&nbsp; If you want to mark
    up the notes, without changing the markup of the Bible text, you
    could use word numbers within the verse, to indicate where the note
    applies.</font></div>

</blockquote>

<div><br>

</div>



<div>And I'm not quite clear if I got your point :).</div>



<div>Let me give you a quite precise example.</div>



<div><br>

</div>



<div>

<div>This&nbsp;is Acts&nbsp;3:13:</div>



<div>


<font color="#990000">"The God of Abraham, Isaac and Jacob, the God of our fathers, has glorified his servant Jesus. You handed him over to be killed, and you disowned him before Pilate, though he had decided to let him go."</font></div>






<div><br>

</div>

</div>



<div>For that verse, we have three different references which are marked like this:</div>



<div><font color="#990000">Exod. 3:6 | &nbsp;Isa. 52:13 | Luke 23:16</font></div>



<div>The | separators (as opposed to semicolons that are normally used as separators in reference lists) indicate that the Exodus reference is related to the beginning of our verse, the Isaiah reference to the middle part and the Luke reference to the end.</div>






<div><br>

</div>



<div>As you can see, even though the reference list applies that there are three sections in the verse,&nbsp;there is no automatic way of determining what exactly are "the beginning", "the middle" and "the end", or sections 1, 2 and 3 of that verse. In some cases it is even unclear after you've carefully read the verse and the references and tried to use common sense&nbsp;based on the contents&nbsp;to manually figure out what those sections are. So the aim of placing the reference notes separately&nbsp;in the text&nbsp;exactly where they should appear is rather impossible.</div>






<div><br>

</div>



<div>My question is: is there a way of indicating in a reference itself that the source of the reference is some sub-part of the verse? In this way, applications might be able to e.g. show an extra tag "from middle of verse" or something like that. Could we use subdivided osisID's for this purpose, like this:</div>






<div><br>

</div>



<div><font color="#990000">&lt;note type="cross-reference"&gt;</font></div>



<div><font color="#990000">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;reference osisID="Acts.3.13!crossReference.1" osisRef="Exod.3.6"&gt;Exod. 3:6&lt;/reference&gt; |</font></div>






<div><font color="#990000">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;reference&nbsp;osisID="Acts.3.13.crossreference.2"&nbsp;osisRef="Isa.52.13"&gt;Isa. 52:13&lt;/reference&gt; |</font></div>



<div><font color="#990000">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;reference&nbsp;osisID="Acts.3.13.crossreference.3"&nbsp;osisRef="Luke.23.16"&gt;Luke 23:16&lt;/reference&gt;</font></div>






<div><font color="#990000">&lt;/note&gt;</font></div>



<div><br>

</div>



<div>and with even further fine-tuning if there were for example two references before the first "|":</div>



<div><font color="#990000">osisID="Acts.3.13!crossReference.1.a"</font> and&nbsp;<font color="#990000">osisID="Acts.3.13!crossReference.1.b"&nbsp;</font>?</div>



</div>

</div>

</blockquote>

<div><br>

</div>

</div>

</div>

&gt;From memory, there is a grain part of the osisID/osisRef that can be used to indicate the code points (think characters) that comprise the sub-part. It is used like SUBSTR in many programming languages.</div>





<div><br>

</div>



<div>However, If you are going to go to that much trouble then I'd suggest that you split the note into various parts and put them into the proper locations in the file.</div>



<div><br>

</div>



<div>The basic idea of the &lt;note&gt; element is that it appears in the source at the position that you want the marker(s). If you want one marker, then you have one note. If you want 3 then you have 3.</div>





<div><br>

</div>



<div>Hope this helps,</div>



<div><span style="white-space:pre-wrap">        </span>DM</div>



<div><br>

<blockquote type="cite">

<div>

<div>

<div class="gmail_quote">


<div><br>

</div>



<div><br>

</div>



<div><br>

</div>



<div>Thanks for your patience, these are rather hard to explain exactly and understandably but in short :).</div>

</div>

</div>



<div><br>

</div>



<div>Markku</div>



<div><br>

</div>

</div>





<div>
_______________________________________________<br>

osis-users mailing list<br>

<a href="mailto:osis-users@crosswire.org">osis-users@crosswire.org</a><br>

<a target="_blank" href="http://www.crosswire.org/mailman/listinfo/osis-users">http://www.crosswire.org/mailman/listinfo/osis-users</a><br>



</div>

</blockquote></div>

<br>

</div>

<br>

_______________________________________________<br>


osis-users mailing list<br>


<a href="mailto:osis-users@crosswire.org">osis-users@crosswire.org</a><br>


<a target="_blank" href="http://www.crosswire.org/mailman/listinfo/osis-users">http://www.crosswire.org/mailman/listinfo/osis-users</a><br>


<br>

</blockquote></div>

<br>


</div>

</div>

</blockquote></div>

<br>



</div>

 <!-- end of AOLMsgPart_2_1f3dd31f-019e-464a-adbf-8c3641617e4f -->



<div id="AOLMsgPart_3_1f3dd31f-019e-464a-adbf-8c3641617e4f" style="margin: 0px; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255); ">

<pre style="font-size: 9pt;"><tt>_______________________________________________
osis-users mailing list
<a href="mailto:osis-users@crosswire.org">osis-users@crosswire.org</a>
<a href="http://www.crosswire.org/mailman/listinfo/osis-users" target="_blank">http://www.crosswire.org/mailman/listinfo/osis-users</a>
</tt></pre>
</div>

 <!-- end of AOLMsgPart_3_1f3dd31f-019e-464a-adbf-8c3641617e4f -->



</div>

</font>_______________________________________________<br>osis-users mailing list<br><a href="mailto:osis-users@crosswire.org">osis-users@crosswire.org</a><br>http://www.crosswire.org/mailman/listinfo/osis-users<br></blockquote></div><br></div></div></body></html>