[sword-devel] OSIS quote marker attribute type="x-doNotGeneratePunctuation"
David Haslam
d.haslam at ukonline.co.uk
Fri Oct 15 04:55:55 MST 2010
The XML file generated by
mod2osis WEB > WEB.xml
reads like this for Matt 3:15
<verse osisID="Matt.3.15">But Jesus, answering, said to him, <q n=""
sID="Matt.3.15.1" type="x-doNotGeneratePunctuation" who="Jesus"/>“Allow it
now, for this is the fitting way for us to fulfill all righteousness.”<q
eID="Matt.3.15.1" n=""/> Then he allowed him.</verse>
Observe that the quote marker includes the XML attribute
type="x-doNotGeneratePunctuation"
When viewed with xiphos.exe 3.1.3-gtkhtml3, with red lettering on as a
module option, the ordinary punctuation for the quotation is displayed as
well as the curly quote marks within the source text. Here is the exported
text for the same verse.
HMTL format:
<HTML><HEAD><META HTTP-EQUIV="content-type" CONTENT="text/html;
CHARSET=utf-8"><STYLE TYPE="text/css"><!-- A { text-decoration:none } %s
--></STYLE></HEAD><BODY>WEB: Matthew 3:15. But Jesus, answering, said to
him, "“Allow it now, for this is the fitting way for us to fulfill all
righteousness.”" Then he allowed him.<BR></BODY></HTML>
Plain text:
WEB: Matthew 3:15. But Jesus, answering, said to him, “Allow it now, for
this is the fitting way for us to fulfill all righteousness.” Then he
allowed him.
Thus it would seem that the HTML rendering of the quotation actually ignores
the instruction
type="x-doNotGeneratePunctuation"
even though the plain text export to clipboard does obey this instruction.
Moreover, this verse is where the long-standing red-letter issue for the WEB
module starts, and continues to the end of the Bible.
Now, the exported OSIS does have a proper end of quote tag before the words,
Then he allowed him.
Yet the Rendering in Xiphos gets it wrong at this place, there being no
corresponding in the HTML.
I am therefore wondering whether there is an issue with how the SWORD engine
handles
type="x-doNotGeneratePunctuation"
such that the red letter display error is not a module issue after all,
but is really an artefact of using this separate OSIS attribute.
Does the same thing happen in Xiphos on other OS platforms?
Does the same thing occur with other front-ends?
David Haslam
--
View this message in context: http://sword-dev.350566.n4.nabble.com/OSIS-quote-marker-attribute-type-x-doNotGeneratePunctuation-tp2996890p2996890.html
Sent from the SWORD Dev mailing list archive at Nabble.com.
More information about the sword-devel
mailing list