[sword-devel] 2BabDict parse error
Joe Walker
sword-devel@crosswire.org
Mon, 08 Sep 2003 00:00:54 +0100
Um. OK, well I've since found some more many of the entries in Torry are
the same.
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.
Joe.
Chris Little wrote:
>Joe,
>
>It's a module error, so the module should be fixed.
>
>--Chris
>
>On Sun, 7 Sep 2003, Joe Walker wrote:
>
>
>
>>Hi,
>>
>>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
>>of Images</term></i>
>>
>>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?
>>Thanks,
>>
>>Joe.
>>
>>
>>
>>_______________________________________________
>>sword-devel mailing list
>>sword-devel@crosswire.org
>>http://www.crosswire.org/mailman/listinfo/sword-devel
>>
>>
>>
>
>_______________________________________________
>sword-devel mailing list
>sword-devel@crosswire.org
>http://www.crosswire.org/mailman/listinfo/sword-devel
>
>