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

DocBookParser swallows significant whitespace

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Labels:
      None
    • Flags:
      Patch

      Description

      The same as DOXIA-222 just for another XML parser. The patch is defensive and copies the fix from XhtmlBaseParser around just like the orginal code was copy&paste. However, I believe it would make sense to move this implementation of handleText() into AbstractXmlParser such that the various XML parsers get this behaviour out-of-the-box. Those that need different handling can still override the method.

        Attachments

        1. significant-whitespace.patch
          2 kB
          Benjamin Bentmann

          Issue Links

            Activity

              People

              • Assignee:
                ltheussl Lukas Theussl
                Reporter:
                bentmann Benjamin Bentmann
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: