|
|
|
@ -24,6 +24,7 @@ public class XML extends AbstractComponent {
|
|
|
|
|
if (xmlMapper == null) {
|
|
|
|
|
xmlMapper = new XmlMapper();
|
|
|
|
|
xmlMapper.configure(ToXmlGenerator.Feature.WRITE_XML_DECLARATION, true);
|
|
|
|
|
xmlMapper.configure(ToXmlGenerator.Feature.WRITE_XML_1_1, true);
|
|
|
|
|
}
|
|
|
|
|
return xmlMapper;
|
|
|
|
|
}
|
|
|
|
|