[sword-devel] Map Compatibility Suggestions

Greg Hellings greg.hellings at gmail.com
Tue Mar 14 23:09:13 MST 2017


On Mar 14, 2017 10:12 PM, "DM Smith" <dmsmith at crosswire.org> 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 <karl at kleinpaste.org> 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 <img> specification.
That is, the difference between
<img src="/images/map7.jpg">
and
<img src="/images/map7.jpg"/>

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 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/20170315/77707b36/attachment.html>


More information about the sword-devel mailing list