Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-96

Handle character encoding properly in makeHtmlValid()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.4.2
    • API
    • None
    • Patch

    Description

      The current usage of JTidy has some bugs:

      • Non-ASCII characters are translated into HTML entities, making an ordinary XML parser (like the Plexus' MXParser) fail to parse the XDoc (see exception.txt)
      • Non-Latin1 characters won't make it through the StringInput-/StringOutputStream (two further classes an international app should avoid...)

      Attachments

        1. exception.txt
          1 kB
          Benjamin Bentmann
        2. jtidy-character-encoding.patch
          4 kB
          Benjamin Bentmann

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: