From 73f645bb439e21f8db1cf63507a49382cce0742e Mon Sep 17 00:00:00 2001 From: Adrian Crum Date: Wed, 18 Jul 2012 11:34:41 +0000 Subject: [PATCH] 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 --- framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java b/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java index 20e8328904..fc40ade794 100644 --- a/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java +++ b/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java @@ -127,7 +127,7 @@ public final class SimpleMethod extends MiniLangElement { Map 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 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); }