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

Transformer treats invalid encoding as a warning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • xml
    • None

      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.

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

              Created:
              Updated: