> Evidently some folk could not read the original message, part of which read:
> Trouble is that in the example provided, one of the attributes does not
> validate against the OSIS 2.1.1 schema.
> The example given is
> <verse osisID="Ps.3.1" sID="Ps.3.1" n="1"/>
> <title canonical="true" subType="x-preverse" type="section">A Psalm
> of David, when he fled from Absalom his son.</title>
> <verse eID="Ps.3.1"/>
> Validating this within an otherwise valid OSIS XML file reports as follows:
> Value 'section' does not match any member types (of the union).
> This prompts the obvious question, should the attribute value be
> rather than
It could be x-section, but it'd be better to be absent or one of the
The title's type value is ignored by the SWORD engine. It is used by
osis2mod when the title is before the first verse in a chapter. Here are
those rules, taken from osis2mod:
// 2) Between the opening of a chapter and the first
verse, the material is split between the introduction of the chapter
// and the first verse of the chapter.
// A <div> with a type of section will be taken as
// A <title> of type other than main, chapter or
sub, will be taken as a title for the verse.
// Once one of these conditions is met, the division
between chapter introduction and pre-verse is set.
Everywhere else in osis2mod, it is ignored.
Currently, the SWORD engine uses subType="x-preverse" to know that the
verse number should follow the heading.
There is code in there that is supposed to recognize everything between
two markers as being pre-verse material, but it does not work. When that
works, the subType="x-preverse" should not be needed. (It shouldn't be
needed now as osis2mod knows when a title is pre-verse and can mark it
Evidently some folk could not read the original message, part of which read:
This seems to happen because fixed width text doesn't get through Nabble into
the email list (it's been observable with your emails for a while). Is there a reason you don't use it as an email list
rather than using Nabble?
God Bless, Ben -------------------------------------------------------------
For I have no pleasure in the death of anyone, declares the Lord God; so turn, and live.” Ezekiel 18:32 (ESV)