Author: jleroux
Date: Wed Jan 2 22:41:25 2008
New Revision: 608361
URL:
http://svn.apache.org/viewvc?rev=608361&view=revLog:
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");