You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2008/01/03 07:41:26 UTC

svn commit: r608361 - /ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/UtilXml.java

Author: jleroux
Date: Wed Jan  2 22:41:25 2008
New Revision: 608361

URL: http://svn.apache.org/viewvc?rev=608361&view=rev
Log:
Merged by hand from trunk 607833

Modified:
    ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/UtilXml.java

Modified: ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/UtilXml.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/UtilXml.java?rev=608361&r1=608360&r2=608361&view=diff
==============================================================================
--- ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/UtilXml.java (original)
+++ ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/UtilXml.java Wed Jan  2 22:41:25 2008
@@ -223,8 +223,8 @@
         factory.setValidating(validate);
         factory.setNamespaceAware(true);
 
-        factory.setAttribute("http://xml.org/sax/features/validation", Boolean.TRUE);
-        factory.setAttribute("http://apache.org/xml/features/validation/schema", Boolean.TRUE);
+        factory.setAttribute("http://xml.org/sax/features/validation", validate);
+        factory.setAttribute("http://apache.org/xml/features/validation/schema", validate);
         
         // with a SchemaUrl, a URL object
         //factory.setAttribute("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");