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

DocBookParser swallows significant whitespace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: