Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0
-
Component/s: book display
-
Labels:None
-
Environment:
Linux / Windows
Description
I have found two bugs in BD that affect ThML-based genbooks.
In particular, there are a two tags which are valid ThML, but cause internal errors in BD. In particular, they are the <verse> tag (which is specifically ThML), and the <cite> tag (which is carried over from the html DTD). When the user navigates to a <div> section which includes either of these elements, they are presented with the following error dialog:
An error has occurred:
Unexpected internal problem. You may need to restart.
This was caused by:
org.jdom.Text cannot be cast to org.jdom.Element
I can provide a sample ThML file which highlights the issue, if it would help. I have verified:
1. This happens in BD under Windows or Linux
2. This does not happen using (non-j)sword-based viewers: BT, GS, Sword for Windows
3. I can change the behavior by simply removing the <cite> tag or the <verse> tag without changing anything else
4. The files in question pass an xml validity test against the ThML DTD using xmllint
I am using BD 1.6. Is there anything else that might help to track this bug?