[sword-devel] OSIS Variants

Chris Burrell chris at burrell.me.uk
Fri Feb 8 11:09:26 MST 2013


Hi

Is there are standard subType pattern that modules are supposed to follow?

It seems Byz and WHNU are using x-<n> where n is the variant number.

    <seg subType="x-1" type="x-variant">αχας | αχαζ | 881 {N-PRI} |
αχας</seg>
    <seg subType="x-2" type="x-variant">αχαζ</seg>


I'm seeing some code taken originally from BibleDesktop which suggests
subType can be x-class-1 ?

A post on the sword list (
http://sword-dev.350566.n4.nabble.com/OSIS-variants-td1009209.html)
suggests, there is also a third subtly different form:

<seg type="x-variant" subType="x-class:1">

(i.e. a colon separating "class" from the number.


Is one more appropriate than the other form? Does a UI have to cater
for all possible forms of subtypes? Is there a page somewhere listing
the mutlitple forms this can take?

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20130208/af915188/attachment.html>


More information about the sword-devel mailing list