You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ad...@apache.org on 2012/07/18 13:34:41 UTC
svn commit: r1362889 -
/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java
Author: adrianc
Date: Wed Jul 18 11:34:41 2012
New Revision: 1362889
URL: http://svn.apache.org/viewvc?rev=1362889&view=rev
Log:
Revert some local modifications that were unintentionally committed in rev 1360283.
Modified:
ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java
Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java?rev=1362889&r1=1362888&r2=1362889&view=diff
==============================================================================
--- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java (original)
+++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java Wed Jul 18 11:34:41 2012
@@ -127,7 +127,7 @@ public final class SimpleMethod extends
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
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);
}