I'm seeing a crash on the XML file below.  Tried with several versions
of XXE, including 4.6 pro and 4.9.1 personal, using the DTBook
extension, and keep getting the same error.  I trimmed down the XML to a
close-to-minimal valid file that shows the problem.

Backtrace that I am seeing starts with:

Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException:
com.xmlmind.xmledit.styledview.DivisionVP cannot be cast to
com.xmlmind.xmledit.styledgadget.Paragraph
at
com.xmlmind.xmledit.styledview.InlineGroupView.appendGadgets(InlineGroupView.java:117)


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dtbook PUBLIC "-//NISO//DTD dtbook 2005-2//EN"
"http://www.daisy.org/z3986/2005/dtbook-2005-2.dtd";>
<dtbook xmlns="http://www.daisy.org/z3986/2005/dtbook/"; version="2005-2"
xml:lang="En-US">
<head>
</head>
<book>
<bodymatter>
<level1>
  <h1>LESSON 1</h1>
  <list type="ol" enum="1">
    <li>List:
    <list type="ul">
      <li><lic>*</lic> Conservation<pagenum id="p006"
page="normal">6</pagenum></li>
      <li><lic>*</lic> Minimizing the carbon footprint of the site</li>
    </list>
    </li>
  </list>
</level1>
</bodymatter>
</book>
</dtbook>


Any clues what's wrong here?  The XML is valid, as far as I can see, and
the extension has loaded lots of other DTBook files properly.

Thank you

Boris

 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to