typeThis attribute can have any valid value or even be absent. osis2mod will not use this value.

annotateTypeThis attribute must have the value commentary and will be used to know that we are processing an entry for a commentary.

annotateRefThis attribute can contain any valid osisRef, but the references must not have a work prefix, such as 'Bible:'. The default for all references and the only ones that SWORD supports at this time are Bible references. We'll tackle work prefixes at a later date.

A single reference uses single "osisID":

annotateRef="Gen.1.1"

A range will be of the form, "osisID-osisID":

annotateRef="Gen.1.1-Gen.2.3"

where the first and the second reference are complete osisIDs and they are separated by a - (and no spaces). And the first reference must precede the second.

Discontinuous references are to be separated by whitespace, "osisRef osisRef". For example:

annotateRef="Gen.1.1 Gen1.5"

Importing

osis2mod (>= 1.5.11) is used for both Bibles and Commentaries. See osis2mod for details.

Config file

It's very important that all the necessary properties are included in the .conf file, otherwise the commentary module may not behave as required.
e.g. The module being made from OSIS source text, this property should be specified:

SourceType=OSIS

Otherwise, it would default to Plaintext. For further details, please refer to DevTools:conf Files.