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

Encoding doesn't work with stax

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 6
    • 1.0, 2.0
    • xml
    • b90
    • generic
    • generic, linux

      XMLEventReader is created for UTF-16 xml file and it is used to write into UTF-8 XMLEventWriter. It doesn't write a proper xml declaration. This with FCS sjsxp.jar that is integrated into JAXWS workspace. I am attaching the program which produces this.

      The generated Encoded.wsdl contains xml declaration with encoding "UTF16-BE" instead of "UTF-8"

            sreddysunw Sunitha Reddy (Inactive)
            jkotamra Jitendra Kotamraju (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: