ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jler...@apache.org
Subject svn commit: r608361 - /ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/UtilXml.java
Date Thu, 03 Jan 2008 06:41:26 GMT
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");



Mime
View raw message