axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/message SOAPDocumentImpl.java
Date Tue, 06 Jan 2004 15:14:37 GMT
ias         2004/01/06 07:14:37

  Modified:    java/src/org/apache/axis/message SOAPDocumentImpl.java
  Log:
  Removed dependency on Xerces and instead use XMLUtils.newDocument()
  
  Revision  Changes    Path
  1.3       +7 -1      ws-axis/java/src/org/apache/axis/message/SOAPDocumentImpl.java
  
  Index: SOAPDocumentImpl.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/message/SOAPDocumentImpl.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SOAPDocumentImpl.java	6 Jan 2004 10:42:16 -0000	1.2
  +++ SOAPDocumentImpl.java	6 Jan 2004 15:14:37 -0000	1.3
  @@ -41,11 +41,13 @@
   
   package org.apache.axis.message;
   
  +import javax.xml.parsers.ParserConfigurationException;
   import javax.xml.soap.SOAPException;
   
   import org.apache.axis.AxisFault;
   import org.apache.axis.Constants;
   import org.apache.axis.SOAPPart;
  +import org.apache.axis.utils.XMLUtils;
   import org.w3c.dom.Attr;
   import org.w3c.dom.CDATASection;
   import org.w3c.dom.Comment;
  @@ -87,7 +89,11 @@
        * @param soapPart
        */
       public SOAPDocumentImpl(SOAPPart sp) {
  -        delegate = new org.apache.xerces.dom.CoreDocumentImpl();
  +        try {
  +            delegate = XMLUtils.newDocument();
  +        } catch (ParserConfigurationException e) {
  +            // Do nothing
  +        }
           soapPart = sp;
       }
   
  
  
  

Mime
View raw message