[sword-devel] Map Compatibility Suggestions

DM Smith dmsmith at crosswire.org
Tue Mar 14 20:11:37 MST 2017


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 <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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20170314/005fb954/attachment-0001.html>


More information about the sword-devel mailing list