Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-357

FO: NoSuchElementException with a table caption

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.1
    • 1.1.2
    • Module - FO
    • None

    Description

      When parsing a table with a caption like the following

      <table>
      <caption>caption table</caption>
      <tr>
      <td>foo</td>
      </tr>
      <tr>
      <td>bar</td>
      </tr>
      </table>
      

      we could have:

      java.util.NoSuchElementException
              at java.util.LinkedList.remove(LinkedList.java:644)
              at java.util.LinkedList.removeLast(LinkedList.java:144)
              at org.codehaus.plexus.util.xml.PrettyPrintXMLWriter.endElement(PrettyPrintXMLWriter.java:276)
              at org.apache.maven.doxia.module.fo.FoSink.writeEndTag(FoSink.java:1702)
              at org.apache.maven.doxia.module.fo.FoAggregateSink.writeEndTag(FoAggregateSink.java:520)
              at org.apache.maven.doxia.module.fo.FoSink.tableRows_(FoSink.java:1002)
      

      Attachments

        Activity

          People

            siveton Siveton Vincent
            siveton Siveton Vincent
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: