You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by as...@apache.org on 2005/08/03 12:53:17 UTC

svn commit: r227194 - /webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java

Author: ashutosh
Date: Wed Aug  3 03:53:09 2005
New Revision: 227194

URL: http://svn.apache.org/viewcvs?rev=227194&view=rev
Log: (empty)

Modified:
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java?rev=227194&r1=227193&r2=227194&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java Wed Aug  3 03:53:09 2005
@@ -354,6 +354,26 @@
     }
 
     /**
+     * Method createDTD
+     * 
+     * Overriding the default behaviour as a SOAPMessage
+     *  should not have a DTD
+     */
+    protected OMNode createDTD() throws OMException {
+    	throw new OMException("SOAP message MUST NOT contain a Document Type Declaration(DTD)");
+    }
+    
+    /**
+     * Method createPI
+     * 
+     * Overriding the default behaviour as a SOAP Message 
+     * should not have a PI
+     */
+    protected OMNode createPI() throws OMException {
+    	throw new OMException("SOAP message MUST NOT contain Processing Instructions(PI)");
+    }
+    
+    /**
      * Method getDocumentElement
      *
      * @return