Alexandre Arica opened SWS-572 and commented
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"?>
Affects: 1.5.8