From 8f34295782790bcae32d783610b7fc039c7a5972 Mon Sep 17 00:00:00 2001 From: "honfika@gmail.com" Date: Thu, 10 Mar 2016 21:56:30 +0100 Subject: [PATCH] fix2 --- .../src/com/jpexs/decompiler/flash/xfl/XFLConverter.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java index 8e2b4e508..4a78409f2 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java @@ -1266,10 +1266,10 @@ public class XFLConverter { for (int i = maxDepth; i >= 1; i--) { symbolStr.writeStartElement("DOMLayer", new String[]{"name", "Layer " + (maxDepth - i + 1)}); if (i == 1) { - symbolStr.writeStartElement("current", "true"); - symbolStr.writeStartElement("isSelected", "true"); + symbolStr.writeAttribute("current", true); + symbolStr.writeAttribute("isSelected", true); } - symbolStr.writeStartElement("color", randomOutlineColor()); + symbolStr.writeAttribute("color", randomOutlineColor()); symbolStr.writeStartElement("frames"); int lastFrame = 0; loopframes: @@ -3615,7 +3615,7 @@ public class XFLConverter { private void putText(String txt) { try { result.writeStartElement("DOMTextRun"); - result.writeElementValue("characters>", txt); + result.writeElementValue("characters", txt); result.writeStartElement("textAttrs"); result.writeStartElement("DOMTextAttrs"); if (alignment != null) {