The previous version was checked in by mistake. Going back to what we had before.

This commit is contained in:
hns 2002-10-30 16:38:46 +00:00
parent efa4512055
commit b5bce7b51d

View file

@ -30,7 +30,6 @@ public class XmlUtil {
return domBuilder;
} else {
try {
// domBuilderFactory.setExpandEntityReferences (false);
domBuilder = domBuilderFactory.newDocumentBuilder();
domBuilders.put (Thread.currentThread(), domBuilder);
return domBuilder;
@ -49,7 +48,7 @@ public class XmlUtil {
DocumentBuilder d = getDocumentBuilder();
try {
Document doc = d.parse (in);
// doc.normalize();
doc.normalize();
return doc;
} catch (SAXException e) {
throw new RuntimeException ("Bad xml-code: "+e.toString());