Remove validation in DOM building.

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

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(true); dbf.setValidating(false);
dbf.setIgnoringComments(true); dbf.setIgnoringComments(true);
dbf.setIgnoringElementContentWhitespace(false); dbf.setIgnoringElementContentWhitespace(false);
dbf.setCoalescing(false); dbf.setCoalescing(false);