[sword-devel] 2BabDict parse error
Mon, 08 Sep 2003 00:00:54 +0100
Um. OK, well I've since found some more many of the entries in Torry are
I just checked and found "AFFLICTIONS OF THE WICKED, THE" to be
similarly broken and several others.
It would probably be possible to write a test harness to list all the
sections with broken markup, and it is vaguely possible that we could
deturmine a common way they are broken, and manage to fix them
automatically too. I'm guessing that it might be quite a bit of work to
do it by hand.
Chris Little wrote:
>It's a module error, so the module should be fixed.
>On Sun, 7 Sep 2003, Joe Walker wrote:
>>I'm coding away on JSword and discovered, what I think is a bugette in
>>2BabDict:Flowers. The THML for the Flowers entry looks like this:
>> <i>See: <term>The Two Babylons / Clothing &</term>; <term>Crowning
>>And my XML parser (correctly, I think) complains:
>> The reference to entity "amp" must end with the ';' delimiter.
>>I assume that the Sword THML parser isn't strict on the XML it works
>>with, because it just displays:
>> "See: The Two Babylons / Clothing ; Crowning of Images"
>>I would guess that correctly it should be:
>> "See: The Two Babylons / Clothing & Crowning of Images"
>>The question is; What is the correct response to this? Do we fix the
>>module (assuming my analysis is correct), or do I write a fuzzy XML
>>parser, or both?
>>sword-devel mailing list
>sword-devel mailing list