Add DOM validation in building.

This commit is contained in:
Christian P. MOMON 2013-08-02 16:37:08 +02:00
parent 2d005a017c
commit 7c7630caf4

View file

@ -63,7 +63,7 @@ public class XidynUtils
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
// Set various configuration options. // Set various configuration options.
dbf.setValidating(false); dbf.setValidating(true);
dbf.setIgnoringComments(true); dbf.setIgnoringComments(true);
dbf.setIgnoringElementContentWhitespace(false); dbf.setIgnoringElementContentWhitespace(false);
dbf.setCoalescing(false); dbf.setCoalescing(false);