[sword-devel] Milestoned forms of <lg> and <l> ?

Chris Little chrislit at crosswire.org
Mon Jan 2 10:04:05 MST 2012

On Jan 2, 2012, at 12:28 AM, David Haslam <dfhmch at googlemail.com> wrote:

> Some of the files from Myanmar Bibles have line groups within line groups.
> I doubt if these are unique within the world of translations.
> The OSIS Reference Manual states:
> The lg element allows the following elements to occur within it:
> • chapter • index • l • lb • lg • milestone • q • verse
> It is a milestoneable element. In its container form, it allows only for
> element content.
> It would be impossible to meet the OSIS Bible milestone rules for any source
> text file that has line groups within line groups. 
> Surely that's a further reason why the milestoned form of lg would give
> validation errors?

I don't follow. Why is that problematic? As long as every <l> element is encapsulated in an <lg> container, the markup will be valid. Higher order <lg> elements can be containers or milestones, so long as the ones containing <l>'s as their immediate children are all containers.


More information about the sword-devel mailing list