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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        48d 40m 1 Arjen Poutsma 10/Nov/09 8:28 PM
        In Progress In Progress Resolved Resolved
        1m 29s 1 Arjen Poutsma 10/Nov/09 8:29 PM
        Resolved Resolved Closed Closed
        905d 10h 33m 1 Arjen Poutsma 04/May/12 7:03 AM

          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