[sword-devel] CzeCSP xref encoding error

Matěj Cepl mcepl at redhat.com
Thu Apr 10 08:32:45 MST 2014

On Thu, 2014-04-10 at 10:09 -0400, Karl Kleinpaste wrote:
> I got a Xiphos crash report this morning from someone using CzeCSP.  The
> error is that there are xref encoding glitches that Sword fails to
> parse, which cause Xiphos to crash when trying to process them.  Oops.

I am the author of CzeCSP conversion into OSIS XML format. The problem
is that I don’t have in my source texts anything to hang on other than a
free text. I have absolutely no clue who to do the parsing in XSLT
(which is what I used for XML-to-XML conversion) and I will have a
really hard time to parse this free text in Python (but I may try
eventually; it has been
https://luther.ceplovi.cz/bugzilla/show_bug.cgi?id=180 for some time).

However, I don't see anything in
http://img.forministry.com/7/7B/7BB51FB8-84B3-4FF3-939ED473FA90A632/DOC/OSIS2_1UserManual_06March2006_-_with_O%27Donnell_edits.PDF which would indicate that content of <note> should be anything else than a plain text, so I am afraid it is a bug libsword if it requires something else than it has right to expect.

> So as I said, the crash is fixed.  But I believe the example above is
> bad due to this target error.  Am I correct?
> $ mod2imp CzeCSP | grep '>v\.' | wc
>    2434  117012 1539356

Of course it just documents how difficult it is to require from all
modules to produce perfect parseable code in the conent of <note>.



http://www.ceplovi.cz/matej/, Jabber: mcepl at ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
Two things fill the heart with renewed and increasing awe and
reverence the more often and the more steadily that they are
meditated on: the starry skies above me and the moral law inside
    -- Immanuel Kant: Critique of Practical Reason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20140410/59f7f444/attachment.sig>

More information about the sword-devel mailing list