Author: henning
Date: Sat Sep 10 10:11:01 2005
New Revision: 280020

URL: http://svn.apache.org/viewcvs?rev=280020&view=rev
Log:
Removing the xerces references from the xmlrpc service. This is no longer needed
since xml-rpc 2.0 contains MinML.


Modified:
    
jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/src/java/org/apache/turbine/services/xmlrpc/TurbineXmlRpcService.java
    jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/xdocs/changes.xml

Modified: 
jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/src/java/org/apache/turbine/services/xmlrpc/TurbineXmlRpcService.java
URL: 
http://svn.apache.org/viewcvs/jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/src/java/org/apache/turbine/services/xmlrpc/TurbineXmlRpcService.java?rev=280020&r1=280019&r2=280020&view=diff
==============================================================================
--- 
jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/src/java/org/apache/turbine/services/xmlrpc/TurbineXmlRpcService.java
 (original)
+++ 
jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/src/java/org/apache/turbine/services/xmlrpc/TurbineXmlRpcService.java
 Sat Sep 10 10:11:01 2005
@@ -31,19 +31,16 @@
 import org.apache.commons.lang.StringUtils;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-
-import org.apache.xerces.parsers.SAXParser;
+import org.apache.turbine.services.InitializationException;
+import org.apache.turbine.services.TurbineBaseService;
+import org.apache.turbine.services.xmlrpc.util.FileTransfer;
+import org.apache.turbine.util.TurbineException;
 import org.apache.xmlrpc.WebServer;
 import org.apache.xmlrpc.XmlRpc;
 import org.apache.xmlrpc.XmlRpcClient;
 import org.apache.xmlrpc.XmlRpcServer;
 import org.apache.xmlrpc.secure.SecureWebServer;
 
-import org.apache.turbine.services.InitializationException;
-import org.apache.turbine.services.TurbineBaseService;
-import org.apache.turbine.services.xmlrpc.util.FileTransfer;
-import org.apache.turbine.util.TurbineException;
-
 /**
  * This is a service which will make an xml-rpc call to a remote
  * server.
@@ -156,9 +153,12 @@
 
             // Set the XML driver to the correct SAX parser class
             String saxParserClass =
-                    conf.getString("parser", SAXParser.class.getName());
+                    conf.getString("parser", null);
 
-            XmlRpc.setDriver(saxParserClass);
+            if (saxParserClass != null)
+            {
+                XmlRpc.setDriver(saxParserClass);
+            }
 
             // Check if there are any handlers to register at startup
             for (Iterator keys = conf.getKeys("handler"); keys.hasNext();)

Modified: jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/xdocs/changes.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/xdocs/changes.xml?rev=280020&r1=280019&r2=280020&view=diff
==============================================================================
--- jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/xdocs/changes.xml 
(original)
+++ jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/xdocs/changes.xml Sat Sep 
10 10:11:01 2005
@@ -25,6 +25,13 @@
 
 <body>
   <release version="2.3.2-dev" date="in CVS">
+    <action type="update" dev="henning">
+      XML-RPC 2.0 contains the MinML parser which is used as default.
+      Remove the code from the XML-RPC service, which references
+      xerces thus removing this implicit dependency. Another SAX
+      compliant parser can still be selected using the parser property
+      of the XML-RPC service.
+    </action>
     <action type="fix" dev="henning" issue="TTWS62" due-to="Dan Price">
       Added a change to the Localization facade class which should help
       Jetspeed 1.x with Localization.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to