Fix embedded view.

This commit is contained in:
Paulo Veiga
2011-10-16 21:42:02 -03:00
parent cb6302bf50
commit 0133f127b8
26 changed files with 713 additions and 235 deletions

View File

@@ -134,7 +134,9 @@ public class ExporterFactory {
final DocumentBuilder documentBuilder = getDocumentBuilder();
svgXml = svgXml.replaceFirst("<svg ", "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" ");
// @Todo: This must not happen...
svgXml = svgXml.replaceAll("NaN,", "0");
svgXml = svgXml.replaceAll(",NaN", "0");
Document document;
try {