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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

jleroux@apache.org
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");