Revert some local modifications that were unintentionally committed in rev 1360283.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1362889 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrian Crum
2012-07-18 11:34:41 +00:00
parent 3df18870cc
commit 73f645bb43
@@ -127,7 +127,7 @@ public final class SimpleMethod extends MiniLangElement {
Map<String, SimpleMethod> simpleMethods = FastMap.newInstance();
Document document = null;
try {
document = UtilXml.readXmlDocument(content, MiniLangValidate.validationOn(), true);
document = UtilXml.readXmlDocument(content, true, true);
} catch (Exception e) {
throw new MiniLangException("Could not read SimpleMethod XML document [" + name + "]: ", e);
}
@@ -139,7 +139,7 @@ public final class SimpleMethod extends MiniLangElement {
Map<String, SimpleMethod> simpleMethods = FastMap.newInstance();
Document document = null;
try {
document = UtilXml.readXmlDocument(xmlURL, MiniLangValidate.validationOn(), true);
document = UtilXml.readXmlDocument(xmlURL, true, true);
} catch (Exception e) {
throw new MiniLangException("Could not read SimpleMethod XML document [" + xmlURL + "]: ", e);
}