From b6ee7e61b8dd826fac6731fbc5095843283c28cc Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sun, 10 Mar 2013 19:45:21 -0300 Subject: [PATCH] Fix SVG export tests... --- pom.xml | 4 +- .../wisemapping/exporter/ExporterFactory.java | 46 +++++++++---------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/pom.xml b/pom.xml index c3b2844d..33f79974 100644 --- a/pom.xml +++ b/pom.xml @@ -105,8 +105,8 @@ maven-compiler-plugin 2.3.2 - 1.6 - 1.6 + 1.7 + 1.7 UTF-8 diff --git a/wise-webapp/src/main/java/com/wisemapping/exporter/ExporterFactory.java b/wise-webapp/src/main/java/com/wisemapping/exporter/ExporterFactory.java index 903de72c..6ece42b7 100644 --- a/wise-webapp/src/main/java/com/wisemapping/exporter/ExporterFactory.java +++ b/wise-webapp/src/main/java/com/wisemapping/exporter/ExporterFactory.java @@ -140,9 +140,7 @@ public class ExporterFactory { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); final DocumentBuilder documentBuilder = factory.newDocumentBuilder(); - if (!svgXml.trim().startsWith("