Re: [sword-devel] Map Compatibility Suggestions

2017-03-14 Thread Greg Hellings
On Mar 14, 2017 10:12 PM, "DM Smith"  wrote:

Regarding JSword: If the module is ThML the tag should not have to be self
closed. If it doesn’t handle it properly because of that, it is a bug.

I’m not sure, but I think the leading / may be a problem. We set the base
URI for the module to be the dataPath (appropriately modified) and lookup
the image relative to that. Having a leading / indicates to lookup the
image according to an absolute path.


For most web browsers, if you omit the scheme and host, the URL should
resolve relative to the web root for a leading slash. I would think that
setting the dataPath should be the same as that web root. I would call that
a bug in your widget if it interpreted that as an absolute path on the file
system.

--Greg


DM

On Mar 14, 2017, at 5:18 PM, Karl Kleinpaste  wrote:

On 03/14/2017 04:11 PM, Matt Zabojnik wrote:

Can someone give some input on whether this is a front-end issue, or if
it's something else?

I'm not really sure, but my maps modules have images including a trailing
'/' in the  specification.
That is, the difference between

and


Your examples are missing that. Perhaps that's the problem. But frankly
it's a bit of a guess. And the display difference between AndBible and
BPBible is surely an operational difference between JSword and Sword.

___
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 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 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] Map Compatibility Suggestions

2017-03-14 Thread DM Smith
Regarding JSword: If the module is ThML the tag should not have to be self 
closed. If it doesn’t handle it properly because of that, it is a bug.

I’m not sure, but I think the leading / may be a problem. We set the base URI 
for the module to be the dataPath (appropriately modified) and lookup the image 
relative to that. Having a leading / indicates to lookup the image according to 
an absolute path.

DM

> On Mar 14, 2017, at 5:18 PM, Karl Kleinpaste  wrote:
> 
> On 03/14/2017 04:11 PM, Matt Zabojnik wrote:
>> Can someone give some input on whether this is a front-end issue, or if it's 
>> something else?
> I'm not really sure, but my maps modules have images including a trailing '/' 
> in the  specification.
> That is, the difference between
> 
> and
> 
> 
> Your examples are missing that. Perhaps that's the problem. But frankly it's 
> a bit of a guess. And the display difference between AndBible and BPBible is 
> surely an operational difference between JSword and Sword.
> 
> ___
> 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 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-14 Thread Karl Kleinpaste
On 03/14/2017 04:48 PM, Martin Denham wrote:
> There also seems to be unusual formatting in 1 Chronicles 1 of ERV
> which even Xiphos struggles with.

I'm looking at ERV 1Chr.1 in Xiphos and I don't see a problem. What
display artifact am I missing?

___
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] Map Compatibility Suggestions

2017-03-14 Thread Karl Kleinpaste
On 03/14/2017 04:11 PM, Matt Zabojnik wrote:
> Can someone give some input on whether this is a front-end issue, or
> if it's something else?
I'm not really sure, but my maps modules have images including a
trailing '/' in the  specification.
That is, the difference between

and


Your examples are missing that. Perhaps that's the problem. But frankly
it's a bit of a guess. And the display difference between AndBible and
BPBible is surely an operational difference between JSword and Sword.

___
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-14 Thread Martin Denham
There also seems to be unusual formatting in 1 Chronicles 1 of ERV which
even Xiphos struggles with.

1 Chronicles 1 issues were first reported to me as affecting the HIN2010
module but not the HindiERV module although they 'appear' to have the same
source text.  If we know how these 2 similar modules were generated, and
yet only one has issues, it might help us solve the issues in the ERV, and
also HIN2010.

Martin

On 9 March 2017 at 19:18, David Haslam  wrote:

> The transformations made by *osis2mod* actually insert line break elements
> in
> the form ** in many places.
>
> This aspect of the "under the hood" transformations is not documented in
> our
> wiki page!
>
> So even when I removed from the XML file all the line break elements in the
> form ** before I rebuilt the module without them, the resulting
> *mod2imp* output includes all the line break elements added by *osis2mod*.
>
> The total number of  added thus and hence found the IMP file was 1342.
>
> When I did a search of the IMP file for the following regexp, there were
> exactly 103 matches.
>
> ^.+
>
> The same count as the number of unequal counts in my Excel analysis.
>
> These are for when the milestone div element is
> (a) not at the start of a line, and
> (b) immediately succeeded by an added ** element
>
> Moreover, there are simply no delinquent div elements that are not
> succeeded
> by one of these.
>
> These are the *duplicate* /preverse milestone/ div elements that should not
> have been made during module build.
>
> The proper ones that follow in a subsequent verse are all located at the
> start of a line,
> immediately after the IMP format $$$Reference line.
>
> Best regards,
>
> David
>
>
>
>
>
>
>
> --
> View this message in context: http://sword-dev.350566.n4.
> nabble.com/ERV-issues-in-And-Bible-tp4656923p4656946.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 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] Map Compatibility Suggestions

2017-03-14 Thread Matt Zabojnik
I built a few map modules using a number of images from the satellite and
aerial photography from Bibleplaces.com, using ThML and imp2ld.

They work great in AndBible, but in BPBible I can only see titles and none
of the images.

Can someone give some input on whether this is a front-end issue, or if
it's something else?



Conf contains:
[BiblePlaces]
DataPath=./modules/lexdict/rawld/BiblePlaces/BiblePlaces
ModDrv=RawLD
Lang=en
Feature=Images
Category=Maps
Encoding=UTF-8
Font=FreeSerif
Fontsize=+1
SourceType=ThML
Description=Bible Places Atlas Maps
About=Aerial Photos of Biblical Locations from Bibleplaces.com

imp sample:
$$$04. Jezreel Valley

$$$05. Sea of Galilee and Golan

___
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