ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jler...@apache.org
Subject svn commit: r608444 - /ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/util/UtilXml.java
Date Thu, 03 Jan 2008 10:54:10 GMT
Author: jleroux
Date: Thu Jan  3 02:54:08 2008
New Revision: 608444

URL: http://svn.apache.org/viewvc?rev=608444&view=rev
Log:
Needed in Java 1.4

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=608444&r1=608443&r2=608444&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 Thu
Jan  3 02:54:08 2008
@@ -223,8 +223,8 @@
         factory.setValidating(validate);
         factory.setNamespaceAware(true);
 
-        factory.setAttribute("http://xml.org/sax/features/validation", validate);
-        factory.setAttribute("http://apache.org/xml/features/validation/schema", validate);
+        factory.setAttribute("http://xml.org/sax/features/validation", new Boolean(validate));
+        factory.setAttribute("http://apache.org/xml/features/validation/schema", new Boolean(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