Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8229005

Transformer treats invalid encoding as a warning

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: xml
    • Labels:
      None

      Description

      The Transformer issues a warning upon getting an invalid encoding, and moves on to use the default (UTF-8). It had been an issue for java.util.Properties since it required an UnsupportedEncodingException to be thrown. Since then, Properties has resolved the issue outside JAXP.

      For JAXP, this issue remains. At some point, we may want to change the behavior to throw an Exception.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              joehw Joe Wang
              Reporter:
              joehw Joe Wang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: