Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-5922

If JTidy fails to clean the HTML input, all further steps fail because of whitespace before the XML declaration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0 M1
    • Fix Version/s: 3.0 M2
    • Component/s: {Unused} Export
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      This happens for example when including non-HTML elements in the source, such as SVG. A simple fix would be to trim the content before feeding it to the various processing tools.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              sdumitriu Sergiu Dumitriu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: