ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lekt...@apache.org
Subject svn commit: r607833 - /ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilXml.java
Date Tue, 01 Jan 2008 12:53:59 GMT
Author: lektran
Date: Tue Jan  1 04:53:58 2008
New Revision: 607833

URL: http://svn.apache.org/viewvc?rev=607833&view=rev
Log:
Finally got around to getting rid of those annoying xml validation errors, should resolve
OFBIZ-244 although I didn't test specifically for that error

Modified:
    ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilXml.java

Modified: ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilXml.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilXml.java?rev=607833&r1=607832&r2=607833&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilXml.java (original)
+++ ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilXml.java Tue Jan  1 04:53:58
2008
@@ -221,8 +221,8 @@
         factory.setValidating(validate);
         factory.setNamespaceAware(true);
 
-        factory.setAttribute("http://xml.org/sax/features/validation", true);
-        factory.setAttribute("http://apache.org/xml/features/validation/schema", 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