create domdocument.xml with xml writer 2 fix

This commit is contained in:
honfika@gmail.com
2016-03-10 11:53:50 +01:00
parent 2a450be7d1
commit 07ee304706

View File

@@ -2298,7 +2298,9 @@ public class XFLConverter {
if (ret2.length() > 0) {
writer.writeStartElement("DOMLayer", new String[]{"name", "Layer " + layerIndex, "color", randomOutlineColor()});
writer.writeElementValue("frames", ret2.toString());
writer.writeStartElement("frames");
writer.writeCharactersRaw(ret2.toString());
writer.writeEndElement();
writer.writeEndElement();
}
}