From 7c7630caf4dd9232028de9f6ddb2dcbf7a5b49e1 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Fri, 2 Aug 2013 16:37:08 +0200 Subject: [PATCH] Add DOM validation in building. --- src/fr/devinsy/xidyn/utils/XidynUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fr/devinsy/xidyn/utils/XidynUtils.java b/src/fr/devinsy/xidyn/utils/XidynUtils.java index 570e55e..1b4404d 100644 --- a/src/fr/devinsy/xidyn/utils/XidynUtils.java +++ b/src/fr/devinsy/xidyn/utils/XidynUtils.java @@ -63,7 +63,7 @@ public class XidynUtils DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); // Set various configuration options. - dbf.setValidating(false); + dbf.setValidating(true); dbf.setIgnoringComments(true); dbf.setIgnoringElementContentWhitespace(false); dbf.setCoalescing(false);