Skip to content

The default encoding is not set to UTF-8 for JibxMarshaller [SWS-572] #692

@gregturn

Description

@gregturn

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions