Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-572

The default encoding is not set to UTF-8 for JibxMarshaller

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.8
    • Fix Version/s: 1.5.9
    • Component/s: OXM
    • Labels:
      None

      Description

      In the class "org.springframework.oxm.jibx.JibxMarshaller" the default encoding is not set to UTF-8 as specified in the Java-Doc of the method 'setEncoding()'.

      Therefore, when we marshal an object with "org.springframework.oxm.jibx.JibxMarshaller", the output XML does not contain the encoding attribute:

      <?xml version="1.0"?>

      instead of

      <?xml version="1.0" encoding="UTF-8"?>

        Activity

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            alex.arica@gmail.com Alexandre Arica
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 10m
              10m
              Remaining:
              Time Spent - 1m Remaining Estimate - 0.15h
              0.15h
              Logged:
              Time Spent - 1m Remaining Estimate - 0.15h
              1m