chrislit at crosswire.org
Sun Jul 25 20:02:42 MST 2010
Biblical cross-references? Such as Exodus ch. 5 vs. 2?
Such references are marked with a <reference/> element. Its osisRef
attribute will indicate the referent. Its CDATA will be some (presumably
localized) representation of the reference.
<reference osisRef="Exod.5.2">2. Mose 5,2</reference>
The osisRef is non-linguistic data, so it doesn't ever get localized.
It's just coincidence that it looks exactly like the English language
SBL Bible book abbreviations.
All front ends /should/ use the osisRef to decode the reference. Some
might use the CDATA, which would work fine, assuming the locale of the
module matches the user's current loaded locale. (I would call that a
bug, but I don't know that any front ends do or do not exhibit this bug.)
On 7/25/2010 6:28 PM, Peter von Kaehne wrote:
> What is the correct way to encode OSIS crossreferences?
> Specifically - does/should it matter which locale is used? Are all
> frontends capable of reading and dealing with non-English cross-references?
> sword-devel mailing list: sword-devel at crosswire.org
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel