[sword-devel] Issue with notes in titles after chapter

DM Smith dmsmith at crosswire.org
Sat Jul 8 17:59:16 MST 2017


JSword supports notes where ever they occur in the module.

In Him,
	DM Smith

> On Jul 8, 2017, at 11:22 AM, David Haslam <dfhmch at googlemail.com> wrote:
> 
> OSIS certainly allows note elements within a title element.  SWORD/JSword
> should support them.
> 
> Rather than posting the USFM snippets, it would be helpful to post the OSIS
> snippet for the title containing the note which Xiphos allegedly fails to
> display.
> 
> Aside: 
> 
> The reported problem set me thinking in connection with the KJV work that I
> & DM Smith have done...
> 
> For the unreleased (work in progress towards the next iteration of the) KJV
> module, two book titles contain a note. These are found in Job and Psalms.
> 
> Xiphos 4.0.5 (Windows) displays spurious content in the preview pane for
> both these notes.
> 
> This is not something that either I or DM had noticed before.
> 
> For the book of Job, the XML reads:
> 
> <div canonical="true" type="book" osisID="Job">
> <title type="main"><note type="study"><hi type="italic">Moses</hi> is
> thought to have wrote The Book of Job, whilst among the <hi
> type="italic">Madianites</hi>, Before Christ <abbr
> expansion="circa">cir</abbr> 1520</note>The Book of <hi
> type="spaced-letters">JOB</hi>.</title>
> 
> When the note tag is selected, in the preview pane under Footnote, I see
> "*CHAP. X.*".
> 
> For the book of Psalms, the XML reads:
> 
> <div canonical="true" type="book" osisID="Ps">
> <title type="main">The Book of <hi type="spaced-letters">PSALMS</hi><note
> type="study">Luke 20.42 Acts 1 20.</note>.</title>
> 
> When the note tag is selected, in the preview pane under Footnote, I see
> "*CHAP. XLII.*".
> 
> Both these observations are anomalous. 
> 
> I think we need help from Karl to better understand what's causing the
> symptoms.
> 
> However, in the same version of the KJV XML, one of the *revisionDesc* list
> items states:
> 
> <item>Moved 47 notes from Psalms verse 1 to the canonical title
> element.</item>
> 
> Here's one such example: 
> 
> A canonical Psalm title containing two notes.
> 
> <chapter osisID="Ps.6">
> <title type="chapter"><abbr expansion="Psalm"><hi
> type="spaced-letters">PSAL</hi>.</abbr> VI.</title>
> <title canonical="true" type="psalm" osisID="Ps.6.1!title"><w
> lemma="strong:H05329" morph="strongMorph:TH8764">To the chief Musician</w>
> <w lemma="strong:H05058">on Neginoth</w> <w lemma="strong:H08067">upon
> Sheminith</w>, <w lemma="strong:H04210">A Psalm</w> <w
> lemma="strong:H01732">of David</w>.<note
> type="study"><catchWord>chief…</catchWord>: or, <rdg
> type="alternate">overseer</rdg>.</note><note
> type="study"><catchWord>Sheminith</catchWord>: or, <rdg type="alternate">the
> eighth</rdg>.</note></title>
> 
> This displays correctly in Xiphos. So it should be feasible to achieve
> Cyrille's objective.
> 
> Best regards,
> 
> David
> 
> 
> 
> --
> View this message in context: http://sword-dev.350566.n4.nabble.com/Issue-with-notes-in-titles-after-chapter-tp4657377p4657380.html
> Sent from the SWORD Dev mailing list archive at Nabble.com.
> 
> _______________________________________________
> 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




More information about the sword-devel mailing list