fixes bug 40163: Don't use xercesImpl XML parser factory in update.database
authorCarlos Aristu <carlos.aristu@openbravo.com>
Wed, 06 Feb 2019 16:27:17 +0100
changeset 35437 25c609294e5e
parent 35436 7d8efc4cd8e1
child 35438 6f33ffa453d5
fixes bug 40163: Don't use xercesImpl XML parser factory in update.database

Specify the com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl as the SAXParserFactory implementation to be used in update.database.java. It provides an XML parser which is faster than the implementation provided by the xercesImpl library.
src-db/database/build.xml
--- a/src-db/database/build.xml	Wed Feb 06 14:36:33 2019 +0100
+++ b/src-db/database/build.xml	Wed Feb 06 16:27:17 2019 +0100
@@ -104,6 +104,7 @@
       <syspropertyset>
          <propertyref name="java.security.egd" />
       </syspropertyset>
+      <sysproperty key="javax.xml.parsers.SAXParserFactory" value="com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl" />
     </java>
     <antcall target="database.postupdate.${bbdd.rdbms}" />
     <antcall target="update.dbupdate.timestamp" />