The previous version was checked in by mistake. Going back to what we had before.
This commit is contained in:
parent
efa4512055
commit
b5bce7b51d
1 changed files with 1 additions and 2 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue