ExtMXSerializer.startDocument(): new line depends on serializer setup.

This commit is contained in:
Ryszard Wiśniewski 2010-03-25 21:01:12 +01:00
parent d42798fd92
commit ac1bc7ca54

View File

@ -29,7 +29,7 @@ public class ExtMXSerializer extends MXSerializer {
public void startDocument(String encoding, Boolean standalone) throws
IOException, IllegalArgumentException, IllegalStateException {
super.startDocument(encoding != null ? encoding : "UTF-8", standalone);
super.out.write(System.getProperty("line.separator"));
super.out.write(lineSeparator);
}
@Override