Re: [sword-devel] ERV issues in And Bible

2017-03-07 Thread Kahunapule Michael Johnson
Is this a problem handling footnotes, perhaps?


Show that you are 
loyal to his son,
2:12
Show … his son
Literally, “Kiss the son.”
or the Lord will be angry and destroy you.
He is almost angry enough to do that now,
but those who go to him for protection will be blessed.


Or is it something to do with the conversion from OSIS to module back to OSIS 
again? (A fragment of the actual input OSIS is shown above.)
Note that there are no duplicate milestone IDs in the file anywhere in the OSIS 
source.


On 03/07/2017 12:57 PM, Kahunapule Michael Johnson wrote:
> I'm pretty sure the OSIS is valid, but if someone can point out a specific 
> problem with the OSIS, I'll look into it.
>
> On 03/07/2017 09:12 AM, Martin Denham wrote:
>> Would somebody mind checking the OSIS of the ERV in the eBible repository 
>> because it is breaking the And Bible OSIS processor in verses at the end of 
>> some chapters.
>>
>> Example problem verses are Psalm 2:12 and Psalm 3:8 but there are many more.
>>
>> The problem is that many verses at the end of chapters have a div with 
>> pre-verse and start-milestone attributes but there is no matching 
>> end-milestone div and the div does not appear to contain anything anyway.
>>
>> Other front ends seem to cope fine with the format so if the OSIS is valid I 
>> will need to change And Bible.
>>
>> Thanks
>> Martin
>>
>>
>> ___
>> sword-devel mailing list: sword-devel@crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>
>



-- 
signature

Aloha,
*/Michael Johnson/**
PO BOX 881143 • PUKALANI HI 96788-1143*• USA
mljohnson.org  • Phone: +1 808-333-6921 • Skype: 
kahunapule


___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] ERV issues in And Bible

2017-03-07 Thread David Haslam
Corrigdendum: mod2impm was used, not mod2osis.

David



--
View this message in context: 
http://sword-dev.350566.n4.nabble.com/ERV-issues-in-And-Bible-tp4656923p4656929.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] ERV issues in And Bible

2017-03-07 Thread David Haslam
I already did describe the issues in the OSIS, which become evident even from
the mod2imp dump.

David



--
View this message in context: 
http://sword-dev.350566.n4.nabble.com/ERV-issues-in-And-Bible-tp4656923p4656928.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] ERV issues in And Bible

2017-03-07 Thread Kahunapule Michael Johnson
I'm pretty sure the OSIS is valid, but if someone can point out a specific 
problem with the OSIS, I'll look into it.

On 03/07/2017 09:12 AM, Martin Denham wrote:
> Would somebody mind checking the OSIS of the ERV in the eBible repository 
> because it is breaking the And Bible OSIS processor in verses at the end of 
> some chapters.
>
> Example problem verses are Psalm 2:12 and Psalm 3:8 but there are many more.
>
> The problem is that many verses at the end of chapters have a div with 
> pre-verse and start-milestone attributes but there is no matching 
> end-milestone div and the div does not appear to contain anything anyway.
>
> Other front ends seem to cope fine with the format so if the OSIS is valid I 
> will need to change And Bible.
>
> Thanks
> Martin
>
>
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page



-- 
signature

Aloha,
*/Michael Johnson/**
PO BOX 881143 • PUKALANI HI 96788-1143*• USA
mljohnson.org  • Phone: +1 808-333-6921 • Skype: 
kahunapule


___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] ERV issues in And Bible

2017-03-07 Thread David Haslam
Whenever I test a module, I usually run our emptyvss utility as well.

Job 24:9
Isaiah 38:21
Isaiah 38:22
Mark 9:44
Mark 9:46
John 5:4
Acts 8:37
II Corinthians 13:14

The NT missing verses are not unusual. 
https://en.wikipedia.org/wiki/List_of_Bible_verses_not_included_in_modern_translations

The 3 in the OT ought to be checked.

David



--
View this message in context: 
http://sword-dev.350566.n4.nabble.com/ERV-issues-in-And-Bible-tp4656923p4656926.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] ERV issues in And Bible

2017-03-07 Thread David Haslam
I just wrote a simple TextPipe filter to extract and count all the milestoned
div elements in the IMP file.

There are 503 instances out of 33016 lines where the count equals 2.

That's just over 1.5% of the total.  See inside the .7z file for details.

Best regards,

David

engerv2006eb.7z
  







--
View this message in context: 
http://sword-dev.350566.n4.nabble.com/ERV-issues-in-And-Bible-tp4656923p4656925.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] ERV issues in And Bible

2017-03-07 Thread David Haslam
Martin,

I'm sure you're right.

Just did a mod2osis dump of the whole module.

I think there are problems such as you describe whereby there are three
milestones with the same ID value.

$$$Psalms 2:12
Show that you are loyal to his son, 2:12 Show … his son Literally, “Kiss the son.” or the Lord will be angry and destroy you. He is almost angry enough to do that now, but those who go to him for protection will be blessed.
$$$Psalms 3:0
$$$Psalms 3:1
A song of David^ written during the time he was running from his son Absalom.
LORD, I have so many enemies. So many people have turned against me. If you search in this part of the file for the string *ID=""pv6984"* there are three matches when there should only be two. The problem is that the *start milestone div* appears twice in such problem areas. I suspect that Michael has somehow introduced a fresh bug in Haiola, and that once this is fixed, the module will behave correctly again. I don't think you need to tweak *And Bible* even though some other front-ends can somehow cope with this anomaly. Michael reads the messages sent to this list, so I'm confident that he will take action accordingly. For all we know, it may be affecting many more modules at eBible.org because they are generated automatically by one of the scripts he uses with Haiola. Even so, there seems to be a more fundamental problem. Elements that are ‘milestoneable’ in the OSIS schema are: *• abbr • chapter • closer • foreign • l • lg • q • salute • seg • signed • speech • verse* Observe that this does not include the *div* element. Yet that is exactly what he has used, and I presume that in his Modified OSIS schema this will validate. There's probably never been any discussion as to how SWORD will behave with /milestoned/ *div* elements, but this is quite a different matter than there being an extra start milestone *div* at several locations. Good catch! Best regards, David -- View this message in context: http://sword-dev.350566.n4.nabble.com/ERV-issues-in-And-Bible-tp4656923p4656924.html Sent from the SWORD Dev mailing list archive at Nabble.com. ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page

[sword-devel] ERV issues in And Bible

2017-03-07 Thread Martin Denham
Would somebody mind checking the OSIS of the ERV in the eBible repository
because it is breaking the And Bible OSIS processor in verses at the end of
some chapters.

Example problem verses are Psalm 2:12 and Psalm 3:8 but there are many more.

The problem is that many verses at the end of chapters have a div with
pre-verse and start-milestone attributes but there is no matching
end-milestone div and the div does not appear to contain anything anyway.

Other front ends seem to cope fine with the format so if the OSIS is valid
I will need to change And Bible.

Thanks
Martin
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] lemma-only xhtml display shows no lemmas

2017-03-07 Thread David Haslam
Now that the tracker's working again, I've created an issue about this
*savlm* problem.

See http://tracker.crosswire.org/browse/API-199

David



--
View this message in context: 
http://sword-dev.350566.n4.nabble.com/lemma-only-xhtml-display-shows-no-lemmas-tp4656829p4656922.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


[sword-devel] diatheke option filters e and n are implemented wrongly

2017-03-07 Thread David Haslam
OK, I've been tinkering more with *diatheke* and just found a bug in how
these two option filters act:

*-o e* should be Word *E*numerations
*-o n* should be Strongs *N*umbers

What actually happens with (say) output filter OSIS, is as follows:

*-o e* doesn't add anything
*-o n* adds Word E*n*umerations

This was with diatheke.exe version 4.7 as supplied with Xiphos 4.0.4 for
Windows.

Looks like somebody goofed in parsing the CL parameters and handled one of
them wrong and in effect masked the other.

If one of you can confirm the bug is real, I'll create an issue in the
tracker.


Best regards,

David





--
View this message in context: 
http://sword-dev.350566.n4.nabble.com/diatheke-option-filters-e-and-n-are-implemented-wrongly-tp4656921.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] diatheke search type regex and the dot ?

2017-03-07 Thread David Haslam
Thanks, Karl,

Xiphos 4.0.4 in Windows 7 x64 gave this:

S:\>xiphos\diatheke -b KJV -s regex -k Abed...nego
Verses containing "Abed...nego"-- Daniel 1:7 ; Daniel 2:49 ; Daniel 3:12 ;
Daniel 3:13 ; Daniel 3:14 ; Daniel 3:16 ; Daniel 3:19 ; Daniel 3:20 ; Daniel
3:22 ; Daniel 3:23 ; Daniel 3:26 ; Daniel 3:28 ; Daniel 3:29 ; Daniel 3:30
-- 14 matches total (KJV)

It's evident that in Windows it behaves like it did in Linux after you
recompiled without cxx11regex.

Question: Does *regex* mean the same to diatheke search as it does for
Xiphos advanced search?

Best regards,

David

PS. I'm sure we can all forgive Greg for the mistaken "off by 2" claim. 




--
View this message in context: 
http://sword-dev.350566.n4.nabble.com/diatheke-search-type-regex-and-the-dot-tp4656879p4656920.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page