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 di...@apache.org on 2005/09/15 21:07:03 UTC

svn commit: r289289 [128/134] - in /webservices/axis2/trunk/java: ./ etc/ modules/addressing/ modules/addressing/src/META-INF/ modules/addressing/src/org/apache/axis2/handlers/addressing/ modules/addressing/test-resources/ modules/addressing/test/org/a...

Modified: webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/bodyNotQualified.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/bodyNotQualified.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/bodyNotQualified.xml (original)
+++ webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/bodyNotQualified.xml Thu Sep 15 11:52:11 2005
@@ -1,19 +1,19 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-    <soapenv:Header>
-        <wsa:MessageID soapenv:mustUnderstand="0">
-            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
-        <wsa:To soapenv:mustUnderstand="0">
-            http://localhost:8081/axis/services/BankPort</wsa:To>
-        <wsa:From soapenv:mustUnderstand="0">
-            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
-            </Address>
-        </wsa:From>
-    </soapenv:Header>
-    <soapenv:Body>
-        <echoVoid></echoVoid>
-    </soapenv:Body>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    <soapenv:Header>
+        <wsa:MessageID soapenv:mustUnderstand="0">
+            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
+        <wsa:To soapenv:mustUnderstand="0">
+            http://localhost:8081/axis/services/BankPort</wsa:To>
+        <wsa:From soapenv:mustUnderstand="0">
+            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
+            </Address>
+        </wsa:From>
+    </soapenv:Header>
+    <soapenv:Body>
+        <echoVoid></echoVoid>
+    </soapenv:Body>
 </soapenv:Envelope>

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/bodyNotQualified.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/envelopeMissing.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/envelopeMissing.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/envelopeMissing.xml (original)
+++ webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/envelopeMissing.xml Thu Sep 15 11:52:11 2005
@@ -1,20 +1,20 @@
-<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-    <soapenv:Header>
-        <wsa:MessageID soapenv:mustUnderstand="0">
-            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
-        <wsa:To soapenv:mustUnderstand="0">
-            http://localhost:8081/axis/services/BankPort</wsa:To>
-        <wsa:From soapenv:mustUnderstand="0">
-            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
-            </Address>
-        </wsa:From>
-    </soapenv:Header>
-    <soapenv:Body>
-        <axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2">
-        </axis2:echoVoid>
-    </soapenv:Body>
+<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    <soapenv:Header>
+        <wsa:MessageID soapenv:mustUnderstand="0">
+            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
+        <wsa:To soapenv:mustUnderstand="0">
+            http://localhost:8081/axis/services/BankPort</wsa:To>
+        <wsa:From soapenv:mustUnderstand="0">
+            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
+            </Address>
+        </wsa:From>
+    </soapenv:Header>
+    <soapenv:Body>
+        <axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2">
+        </axis2:echoVoid>
+    </soapenv:Body>
 </soapenv:Body>

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/envelopeMissing.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/haederBodyWrongOrder.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/haederBodyWrongOrder.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/haederBodyWrongOrder.xml (original)
+++ webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/haederBodyWrongOrder.xml Thu Sep 15 11:52:11 2005
@@ -1,20 +1,20 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-    <soapenv:Body>
-        <axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2">
-        </axis2:echoVoid>
-    </soapenv:Body>
-    <soapenv:Header>
-        <wsa:MessageID soapenv:mustUnderstand="0">
-            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
-        <wsa:To soapenv:mustUnderstand="0">
-            http://localhost:8081/axis/services/BankPort</wsa:To>
-        <wsa:From soapenv:mustUnderstand="0">
-            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
-            </Address>
-        </wsa:From>
-    </soapenv:Header>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    <soapenv:Body>
+        <axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2">
+        </axis2:echoVoid>
+    </soapenv:Body>
+    <soapenv:Header>
+        <wsa:MessageID soapenv:mustUnderstand="0">
+            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
+        <wsa:To soapenv:mustUnderstand="0">
+            http://localhost:8081/axis/services/BankPort</wsa:To>
+        <wsa:From soapenv:mustUnderstand="0">
+            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
+            </Address>
+        </wsa:From>
+    </soapenv:Header>
 </soapenv:Envelope>

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/haederBodyWrongOrder.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/notnamespaceQualified.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/notnamespaceQualified.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/notnamespaceQualified.xml (original)
+++ webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/notnamespaceQualified.xml Thu Sep 15 11:52:11 2005
@@ -1,15 +1,15 @@
-<Envelope>
-    <Header>
-        <MessageID mustUnderstand="0">uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5
-        </MessageID>
-        <To mustUnderstand="0">http://localhost:8081/axis/services/BankPort</To>
-        <From mustUnderstand="0">
-            <Address>
-                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
-            </Address>
-        </From>
-    </Header>
-    <Body>
-        <echoVoid></echoVoid>
-    </Body>
+<Envelope>
+    <Header>
+        <MessageID mustUnderstand="0">uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5
+        </MessageID>
+        <To mustUnderstand="0">http://localhost:8081/axis/services/BankPort</To>
+        <From mustUnderstand="0">
+            <Address>
+                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
+            </Address>
+        </From>
+    </Header>
+    <Body>
+        <echoVoid></echoVoid>
+    </Body>
 </Envelope>

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/notnamespaceQualified.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/twoBodymessage.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/twoBodymessage.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/twoBodymessage.xml (original)
+++ webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/twoBodymessage.xml Thu Sep 15 11:52:11 2005
@@ -1,24 +1,24 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-    <soapenv:Header>
-        <wsa:MessageID soapenv:mustUnderstand="0">
-            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
-        <wsa:To soapenv:mustUnderstand="0">
-            http://localhost:8081/axis/services/BankPort</wsa:To>
-        <wsa:From soapenv:mustUnderstand="0">
-            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
-            </Address>
-        </wsa:From>
-    </soapenv:Header>
-    <soapenv:Body>
-        <axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2">
-        </axis2:echoVoid>
-    </soapenv:Body>
-    <soapenv:Body>
-        <axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2">
-        </axis2:echoVoid>
-    </soapenv:Body>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    <soapenv:Header>
+        <wsa:MessageID soapenv:mustUnderstand="0">
+            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
+        <wsa:To soapenv:mustUnderstand="0">
+            http://localhost:8081/axis/services/BankPort</wsa:To>
+        <wsa:From soapenv:mustUnderstand="0">
+            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
+            </Address>
+        </wsa:From>
+    </soapenv:Header>
+    <soapenv:Body>
+        <axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2">
+        </axis2:echoVoid>
+    </soapenv:Body>
+    <soapenv:Body>
+        <axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2">
+        </axis2:echoVoid>
+    </soapenv:Body>
 </soapenv:Envelope>

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/twoBodymessage.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/twoheaders.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/twoheaders.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/twoheaders.xml (original)
+++ webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/twoheaders.xml Thu Sep 15 11:52:11 2005
@@ -1,29 +1,29 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-    <soapenv:Header>
-        <wsa:MessageID soapenv:mustUnderstand="0">
-            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
-        <wsa:To soapenv:mustUnderstand="0">
-            http://localhost:8081/axis/services/BankPort</wsa:To>
-        <wsa:From soapenv:mustUnderstand="0">
-            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
-            </Address>
-        </wsa:From>
-    </soapenv:Header>
-    <soapenv:Header>
-        <wsa:MessageID soapenv:mustUnderstand="0">
-            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
-        <wsa:To soapenv:mustUnderstand="0">
-            http://localhost:8081/axis/services/BankPort</wsa:To>
-        <wsa:From soapenv:mustUnderstand="0">
-            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
-            </Address>
-        </wsa:From>
-    </soapenv:Header>
-    <soapenv:Body>
-    </soapenv:Body>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    <soapenv:Header>
+        <wsa:MessageID soapenv:mustUnderstand="0">
+            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
+        <wsa:To soapenv:mustUnderstand="0">
+            http://localhost:8081/axis/services/BankPort</wsa:To>
+        <wsa:From soapenv:mustUnderstand="0">
+            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
+            </Address>
+        </wsa:From>
+    </soapenv:Header>
+    <soapenv:Header>
+        <wsa:MessageID soapenv:mustUnderstand="0">
+            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
+        <wsa:To soapenv:mustUnderstand="0">
+            http://localhost:8081/axis/services/BankPort</wsa:To>
+        <wsa:From soapenv:mustUnderstand="0">
+            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
+            </Address>
+        </wsa:From>
+    </soapenv:Header>
+    <soapenv:Body>
+    </soapenv:Body>
 </soapenv:Envelope>

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/twoheaders.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/wrongSoapNs.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/wrongSoapNs.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/wrongSoapNs.xml (original)
+++ webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/wrongSoapNs.xml Thu Sep 15 11:52:11 2005
@@ -1,20 +1,20 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/badsoap/envelope/"
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-    <soapenv:Header>
-        <wsa:MessageID soapenv:mustUnderstand="0">
-            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
-        <wsa:To soapenv:mustUnderstand="0">
-            http://localhost:8081/axis/services/BankPort</wsa:To>
-        <wsa:From soapenv:mustUnderstand="0">
-            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
-            </Address>
-        </wsa:From>
-    </soapenv:Header>
-    <soapenv:Body>
-        <axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2">
-        </axis2:echoVoid>
-    </soapenv:Body>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/badsoap/envelope/"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    <soapenv:Header>
+        <wsa:MessageID soapenv:mustUnderstand="0">
+            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
+        <wsa:To soapenv:mustUnderstand="0">
+            http://localhost:8081/axis/services/BankPort</wsa:To>
+        <wsa:From soapenv:mustUnderstand="0">
+            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
+            </Address>
+        </wsa:From>
+    </soapenv:Header>
+    <soapenv:Body>
+        <axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2">
+        </axis2:echoVoid>
+    </soapenv:Body>
 </soapenv:Envelope>

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/badsoap/wrongSoapNs.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test-resources/non_soap.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test-resources/non_soap.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test-resources/non_soap.xml (original)
+++ webservices/axis2/trunk/java/modules/xml/test-resources/non_soap.xml Thu Sep 15 11:52:11 2005
@@ -1,35 +1,35 @@
-<ns1:Root xmlns:ns1="http://www.apache.org"
-    xmlns:ns2="http://www.opensource.lk">
-    <ns2:developers xmlns:ns3="http://www.whatever.com">
-        <ns3:developer>
-            <name>Davanum Srinivas</name>
-            <id>dims</id>
-            <email>dims@apache.org</email>
-            <organization>Computer Associates</organization>
-        </ns3:developer>
-        <ns3:developer>
-            <name>Glen Daniels</name>
-            <id>glen</id>
-            <email>glen@thoughtcraft.com</email>
-            <organization>Sonic Software</organization>
-        </ns3:developer>
-        <ns3:developer>
-            <name>Sanjiva Weerawarana</name>
-            <id>sanjiva</id>
-            <email>sanjiva@opensource.lk</email>
-            <organization>IBM/LSF</organization>
-        </ns3:developer>
-        <ns3:developer>
-            <name>Eran Chinthaka</name>
-            <id>chinthaka</id>
-            <email>chinthaka@apache.org</email>
-            <organization>LSF/Eurocenter DDC</organization>
-        </ns3:developer>
-        <ns3:developer>
-            <name>Jaliya Ekanayake</name>
-            <id>jaliya</id>
-            <email>jaliya@opensource.lk</email>
-            <organization>Virtusa/LSF</organization>
-        </ns3:developer>
-    </ns2:developers>
+<ns1:Root xmlns:ns1="http://www.apache.org"
+    xmlns:ns2="http://www.opensource.lk">
+    <ns2:developers xmlns:ns3="http://www.whatever.com">
+        <ns3:developer>
+            <name>Davanum Srinivas</name>
+            <id>dims</id>
+            <email>dims@apache.org</email>
+            <organization>Computer Associates</organization>
+        </ns3:developer>
+        <ns3:developer>
+            <name>Glen Daniels</name>
+            <id>glen</id>
+            <email>glen@thoughtcraft.com</email>
+            <organization>Sonic Software</organization>
+        </ns3:developer>
+        <ns3:developer>
+            <name>Sanjiva Weerawarana</name>
+            <id>sanjiva</id>
+            <email>sanjiva@opensource.lk</email>
+            <organization>IBM/LSF</organization>
+        </ns3:developer>
+        <ns3:developer>
+            <name>Eran Chinthaka</name>
+            <id>chinthaka</id>
+            <email>chinthaka@apache.org</email>
+            <organization>LSF/Eurocenter DDC</organization>
+        </ns3:developer>
+        <ns3:developer>
+            <name>Jaliya Ekanayake</name>
+            <id>jaliya</id>
+            <email>jaliya@opensource.lk</email>
+            <organization>Virtusa/LSF</organization>
+        </ns3:developer>
+    </ns2:developers>
 </ns1:Root>

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/non_soap.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test-resources/soap/OMElementTest.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test-resources/soap/OMElementTest.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test-resources/soap/OMElementTest.xml (original)
+++ webservices/axis2/trunk/java/modules/xml/test-resources/soap/OMElementTest.xml Thu Sep 15 11:52:11 2005
@@ -1,22 +1,22 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-    <soapenv:Header>
-        <wsa:MessageID soapenv:mustUnderstand="0">
-            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
-        <wsa:To soapenv:mustUnderstand="0">
-            http://localhost:8081/axis/services/BankPort</wsa:To>
-        <wsa:From soapenv:mustUnderstand="0">
-            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
-            </Address>
-        </wsa:From>
-    </soapenv:Header>
-    <soapenv:Body>
-        <axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2">This is some text
-            <axis2:input>2</axis2:input>
-            Some Other Text
-        </axis2:echoVoid>
-    </soapenv:Body>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    <soapenv:Header>
+        <wsa:MessageID soapenv:mustUnderstand="0">
+            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
+        <wsa:To soapenv:mustUnderstand="0">
+            http://localhost:8081/axis/services/BankPort</wsa:To>
+        <wsa:From soapenv:mustUnderstand="0">
+            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
+            </Address>
+        </wsa:From>
+    </soapenv:Header>
+    <soapenv:Body>
+        <axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2">This is some text
+            <axis2:input>2</axis2:input>
+            Some Other Text
+        </axis2:echoVoid>
+    </soapenv:Body>
 </soapenv:Envelope>

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/soap/OMElementTest.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test-resources/soap/emtyBodymessage.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test-resources/soap/emtyBodymessage.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test-resources/soap/emtyBodymessage.xml (original)
+++ webservices/axis2/trunk/java/modules/xml/test-resources/soap/emtyBodymessage.xml Thu Sep 15 11:52:11 2005
@@ -1,18 +1,18 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-    <soapenv:Header>
-        <wsa:MessageID soapenv:mustUnderstand="0">
-            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
-        <wsa:To soapenv:mustUnderstand="0">
-            http://localhost:8081/axis/services/BankPort</wsa:To>
-        <wsa:From soapenv:mustUnderstand="0">
-            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
-            </Address>
-        </wsa:From>
-    </soapenv:Header>
-    <soapenv:Body>
-    </soapenv:Body>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    <soapenv:Header>
+        <wsa:MessageID soapenv:mustUnderstand="0">
+            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
+        <wsa:To soapenv:mustUnderstand="0">
+            http://localhost:8081/axis/services/BankPort</wsa:To>
+        <wsa:From soapenv:mustUnderstand="0">
+            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
+            </Address>
+        </wsa:From>
+    </soapenv:Header>
+    <soapenv:Body>
+    </soapenv:Body>
 </soapenv:Envelope>

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/soap/emtyBodymessage.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test-resources/soap/invalidMustUnderstandSOAP12.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test-resources/soap/invalidMustUnderstandSOAP12.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test-resources/soap/invalidMustUnderstandSOAP12.xml (original)
+++ webservices/axis2/trunk/java/modules/xml/test-resources/soap/invalidMustUnderstandSOAP12.xml Thu Sep 15 11:52:11 2005
@@ -1,13 +1,13 @@
-<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:xml="http://www.w3.org/XML/1998/namespace">
-    <env:Header>
-        <test2:echoOk2 xmlns:test2="http://example2.org/ts-tests"
-            env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"
-            env:mustUnderstand="someOtherValue"
-            env:anyAttribute="any value">
-            foo
-        </test2:echoOk2>
-    </env:Header>
-    <env:Body>
-
-    </env:Body>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:xml="http://www.w3.org/XML/1998/namespace">
+    <env:Header>
+        <test2:echoOk2 xmlns:test2="http://example2.org/ts-tests"
+            env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"
+            env:mustUnderstand="someOtherValue"
+            env:anyAttribute="any value">
+            foo
+        </test2:echoOk2>
+    </env:Header>
+    <env:Body>
+
+    </env:Body>
 </env:Envelope>

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/soap/invalidMustUnderstandSOAP12.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/soap/minimalMessage.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/soap/reallyReallyBigMessage.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/soap/sample1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/soap/security2-soap.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test-resources/soap/soap11/soap11fault.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test-resources/soap/soap11/soap11fault.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test-resources/soap/soap11/soap11fault.xml (original)
+++ webservices/axis2/trunk/java/modules/xml/test-resources/soap/soap11/soap11fault.xml Thu Sep 15 11:52:11 2005
@@ -1,16 +1,16 @@
- <SOAP-ENV:Envelope
-     xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
-     <SOAP-ENV:Header>
-         <TestHeader>Test</TestHeader>
-     </SOAP-ENV:Header>
-     <SOAP-ENV:Body>
-         <SOAP-ENV:Fault>
-             <faultcode>SOAP-ENV:MustUnderstand</faultcode>
-             <faultstring>SOAP Must Understand Error</faultstring>
-             <faultactor>Actor</faultactor>
-             <detail>Detail text
-                 <SomeElement>Some Element Text</SomeElement>
-             </detail>
-         </SOAP-ENV:Fault>
-     </SOAP-ENV:Body>
+ <SOAP-ENV:Envelope
+     xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+     <SOAP-ENV:Header>
+         <TestHeader>Test</TestHeader>
+     </SOAP-ENV:Header>
+     <SOAP-ENV:Body>
+         <SOAP-ENV:Fault>
+             <faultcode>SOAP-ENV:MustUnderstand</faultcode>
+             <faultstring>SOAP Must Understand Error</faultstring>
+             <faultactor>Actor</faultactor>
+             <detail>Detail text
+                 <SomeElement>Some Element Text</SomeElement>
+             </detail>
+         </SOAP-ENV:Fault>
+     </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/soap/soap11/soap11fault.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test-resources/soap/soap11/soap11message.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test-resources/soap/soap11/soap11message.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test-resources/soap/soap11/soap11message.xml (original)
+++ webservices/axis2/trunk/java/modules/xml/test-resources/soap/soap11/soap11message.xml Thu Sep 15 11:52:11 2005
@@ -1,46 +1,46 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-    <soapenv:Header>
-        <wsa:From soapenv:mustUnderstand="0"
-            soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next">
-            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
-            </Address>
-        </wsa:From>
-        <test:MessageID xmlns:test="http://example.org/ts-tests"
-            soapenv:mustUnderstand="1"
-            soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
-            soapenv:anyAttribute="any value">
-            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5
-        </test:MessageID>
-        <wsa:To soapenv:mustUnderstand="0"
-            soapenv:anyAttribute="any value">
-            http://localhost:8081/axis/services/BankPort
-        </wsa:To>
-    </soapenv:Header>
-    <soapenv:Body>
-        <soapenv:Fault>
-            <soapenv:faultcode>
-                env:Sender
-            </soapenv:faultcode>
-            <soapenv:faultstring>Sender Timeout</soapenv:faultstring>
-            <soapenv:faultactor>
-                http://schemas.xmlsoap.org/soap/envelope/actor/ultimateReceiver
-            </soapenv:faultactor>
-            <soapenv:detail xmlns:m="http://www.sample.org">
-                Details of error
-                <m:MaxTime m:detail="This is only a test">
-                    P5M
-                </m:MaxTime>
-                <m:AveTime>
-                    <m:Time>
-                        P3M
-                    </m:Time>
-                </m:AveTime>
-            </soapenv:detail>
-        </soapenv:Fault>
-    </soapenv:Body>
-</soapenv:Envelope>
-
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    <soapenv:Header>
+        <wsa:From soapenv:mustUnderstand="0"
+            soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next">
+            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
+            </Address>
+        </wsa:From>
+        <test:MessageID xmlns:test="http://example.org/ts-tests"
+            soapenv:mustUnderstand="1"
+            soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
+            soapenv:anyAttribute="any value">
+            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5
+        </test:MessageID>
+        <wsa:To soapenv:mustUnderstand="0"
+            soapenv:anyAttribute="any value">
+            http://localhost:8081/axis/services/BankPort
+        </wsa:To>
+    </soapenv:Header>
+    <soapenv:Body>
+        <soapenv:Fault>
+            <soapenv:faultcode>
+                env:Sender
+            </soapenv:faultcode>
+            <soapenv:faultstring>Sender Timeout</soapenv:faultstring>
+            <soapenv:faultactor>
+                http://schemas.xmlsoap.org/soap/envelope/actor/ultimateReceiver
+            </soapenv:faultactor>
+            <soapenv:detail xmlns:m="http://www.sample.org">
+                Details of error
+                <m:MaxTime m:detail="This is only a test">
+                    P5M
+                </m:MaxTime>
+                <m:AveTime>
+                    <m:Time>
+                        P3M
+                    </m:Time>
+                </m:AveTime>
+            </soapenv:detail>
+        </soapenv:Fault>
+    </soapenv:Body>
+</soapenv:Envelope>
+

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/soap/soap11/soap11message.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test-resources/soap/soap12message.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test-resources/soap/soap12message.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test-resources/soap/soap12message.xml (original)
+++ webservices/axis2/trunk/java/modules/xml/test-resources/soap/soap12message.xml Thu Sep 15 11:52:11 2005
@@ -1,58 +1,58 @@
-<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:xml="http://www.w3.org/XML/1998/namespace">
-    <env:Header>
-        <test:echoOk xmlns:test="http://example.org/ts-tests"
-            env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"
-            env:mustUnderstand="true"
-            env:anyAttribute="any value">
-            foo
-        </test:echoOk>
-        <test1:echoOk1 xmlns:test1="http://example1.org/ts-tests"
-            env:role="http://www.w3.org/2003/05/soap-envelope/role/next"
-            env:mustUnderstand="false"
-            env:anyAttribute="any value">
-            foo
-        </test1:echoOk1>
-        <test2:echoOk2 xmlns:test2="http://example2.org/ts-tests"
-            env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"
-            env:mustUnderstand="1"
-            env:anyAttribute="any value">
-            foo
-        </test2:echoOk2>
-    </env:Header>
-    <env:Body>
-        <env:Fault>
-            <env:Code>
-                <env:Value>env:Sender</env:Value>
-                <env:SubCode>
-                    <env:Value>m:MessageTimeout In First SubCode</env:Value>
-                    <env:SubCode>
-                        <env:Value>m:MessageTimeout In Second SubCode</env:Value>
-                        <env:SubCode>
-                            <env:Value>m:MessageTimeout In Third SubCode</env:Value>
-                        </env:SubCode>
-                    </env:SubCode>
-                </env:SubCode>
-            </env:Code>
-            <env:Reason>
-                <env:Text xml:lang="en">Sender Timeout</env:Text>
-            </env:Reason>
-            <env:Node>
-                http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver
-            </env:Node>
-            <env:Role>
-                ultimateReceiver
-            </env:Role>
-            <env:Detail xmlns:m="http:www.sample.org">
-                Details of error
-                <m:MaxTime m:detail="This is only a test">
-                    P5M\n
-                </m:MaxTime>
-                <m:AveTime>
-                    <m:Time>
-                        P3M\n
-                    </m:Time>
-                </m:AveTime>
-            </env:Detail>
-        </env:Fault>
-    </env:Body>
+<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:xml="http://www.w3.org/XML/1998/namespace">
+    <env:Header>
+        <test:echoOk xmlns:test="http://example.org/ts-tests"
+            env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"
+            env:mustUnderstand="true"
+            env:anyAttribute="any value">
+            foo
+        </test:echoOk>
+        <test1:echoOk1 xmlns:test1="http://example1.org/ts-tests"
+            env:role="http://www.w3.org/2003/05/soap-envelope/role/next"
+            env:mustUnderstand="false"
+            env:anyAttribute="any value">
+            foo
+        </test1:echoOk1>
+        <test2:echoOk2 xmlns:test2="http://example2.org/ts-tests"
+            env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"
+            env:mustUnderstand="1"
+            env:anyAttribute="any value">
+            foo
+        </test2:echoOk2>
+    </env:Header>
+    <env:Body>
+        <env:Fault>
+            <env:Code>
+                <env:Value>env:Sender</env:Value>
+                <env:SubCode>
+                    <env:Value>m:MessageTimeout In First SubCode</env:Value>
+                    <env:SubCode>
+                        <env:Value>m:MessageTimeout In Second SubCode</env:Value>
+                        <env:SubCode>
+                            <env:Value>m:MessageTimeout In Third SubCode</env:Value>
+                        </env:SubCode>
+                    </env:SubCode>
+                </env:SubCode>
+            </env:Code>
+            <env:Reason>
+                <env:Text xml:lang="en">Sender Timeout</env:Text>
+            </env:Reason>
+            <env:Node>
+                http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver
+            </env:Node>
+            <env:Role>
+                ultimateReceiver
+            </env:Role>
+            <env:Detail xmlns:m="http:www.sample.org">
+                Details of error
+                <m:MaxTime m:detail="This is only a test">
+                    P5M\n
+                </m:MaxTime>
+                <m:AveTime>
+                    <m:Time>
+                        P3M\n
+                    </m:Time>
+                </m:AveTime>
+            </env:Detail>
+        </env:Fault>
+    </env:Body>
 </env:Envelope>

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/soap/soap12message.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test-resources/soap/soapmessage.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test-resources/soap/soapmessage.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test-resources/soap/soapmessage.xml (original)
+++ webservices/axis2/trunk/java/modules/xml/test-resources/soap/soapmessage.xml Thu Sep 15 11:52:11 2005
@@ -1,20 +1,20 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-    <soapenv:Header>
-        <wsa:MessageID soapenv:mustUnderstand="0">
-            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
-        <wsa:To soapenv:mustUnderstand="0">
-            http://localhost:8081/axis/services/BankPort</wsa:To>
-        <wsa:From soapenv:mustUnderstand="0">
-            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
-            </Address>
-        </wsa:From>
-    </soapenv:Header>
-    <soapenv:Body>
-        <axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2">
-        </axis2:echoVoid>
-    </soapenv:Body>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    <soapenv:Header>
+        <wsa:MessageID soapenv:mustUnderstand="0">
+            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
+        <wsa:To soapenv:mustUnderstand="0">
+            http://localhost:8081/axis/services/BankPort</wsa:To>
+        <wsa:From soapenv:mustUnderstand="0">
+            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
+            </Address>
+        </wsa:From>
+    </soapenv:Header>
+    <soapenv:Body>
+        <axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2">
+        </axis2:echoVoid>
+    </soapenv:Body>
 </soapenv:Envelope>

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/soap/soapmessage.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test-resources/soap/soapmessage1.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test-resources/soap/soapmessage1.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test-resources/soap/soapmessage1.xml (original)
+++ webservices/axis2/trunk/java/modules/xml/test-resources/soap/soapmessage1.xml Thu Sep 15 11:52:11 2005
@@ -1,27 +1,27 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-    <soapenv:Header>
-        <wsa:MessageID soapenv:mustUnderstand="0">
-            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
-        <wsa:To soapenv:mustUnderstand="0">
-            http://localhost:8081/axis/services/BankPort</wsa:To>
-        <wsa:From soapenv:mustUnderstand="0">
-            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
-                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
-            </Address>
-        </wsa:From>
-    </soapenv:Header>
-    <soapenv:Body>
-        <ns1:getBalance soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
-            xmlns:ns1="http://localhost:8081/axis/services/BankPort">
-            <ns1:accountNo href="#id0"/>
-        </ns1:getBalance>
-        <multiRef xmlns="tempUri" id="id0" soapenc:root="0"
-            soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
-            xsi:type="xsd:int"
-            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">1001
-        </multiRef>
-    </soapenv:Body>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    <soapenv:Header>
+        <wsa:MessageID soapenv:mustUnderstand="0">
+            uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
+        <wsa:To soapenv:mustUnderstand="0">
+            http://localhost:8081/axis/services/BankPort</wsa:To>
+        <wsa:From soapenv:mustUnderstand="0">
+            <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+                http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
+            </Address>
+        </wsa:From>
+    </soapenv:Header>
+    <soapenv:Body>
+        <ns1:getBalance soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+            xmlns:ns1="http://localhost:8081/axis/services/BankPort">
+            <ns1:accountNo href="#id0"/>
+        </ns1:getBalance>
+        <multiRef xmlns="tempUri" id="id0" soapenc:root="0"
+            soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+            xsi:type="xsd:int"
+            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">1001
+        </multiRef>
+    </soapenv:Body>
 </soapenv:Envelope>

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/soap/soapmessage1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/soap/whitespacedMessage.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test-resources/soap/wrongEnvelopeNamespace.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test-resources/soap/wrongEnvelopeNamespace.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test-resources/soap/wrongEnvelopeNamespace.xml (original)
+++ webservices/axis2/trunk/java/modules/xml/test-resources/soap/wrongEnvelopeNamespace.xml Thu Sep 15 11:52:11 2005
@@ -1,12 +1,12 @@
-<?xml version="1.0"?>
-<soap:Envelope
-xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
-soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
-
-  <soap:Body xmlns:m="http://www.stock.org/stock">
-    <m:GetStockPrice>
-      <m:StockName>IBM</m:StockName>
-    </m:GetStockPrice>
-  </soap:Body>
-
+<?xml version="1.0"?>
+<soap:Envelope
+xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
+soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
+
+  <soap:Body xmlns:m="http://www.stock.org/stock">
+    <m:GetStockPrice>
+      <m:StockName>IBM</m:StockName>
+    </m:GetStockPrice>
+  </soap:Body>
+
 </soap:Envelope>

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/soap/wrongEnvelopeNamespace.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test-resources/xml/spaces.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test-resources/xml/spaces.xml?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test-resources/xml/spaces.xml (original)
+++ webservices/axis2/trunk/java/modules/xml/test-resources/xml/spaces.xml Thu Sep 15 11:52:11 2005
@@ -1,10 +1,10 @@
-<?xml version="1.0"?>
-<foo>
-    <bar>baz
-        <cheese id="3"/>
-        baz
-        <cheese/>
-        baz
-    </bar>
-    <doc><![CDATA[<foo>]]></doc>
+<?xml version="1.0"?>
+<foo>
+    <bar>baz
+        <cheese id="3"/>
+        baz
+        <cheese/>
+        baz
+    </bar>
+    <doc><![CDATA[<foo>]]></doc>
 </foo>

Propchange: webservices/axis2/trunk/java/modules/xml/test-resources/xml/spaces.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/attachments/Base64Test.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/attachments/Base64Test.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/attachments/Base64Test.java (original)
+++ webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/attachments/Base64Test.java Thu Sep 15 11:52:11 2005
@@ -1,53 +1,53 @@
-/**
- * Copyright 2001-2004 The Apache Software Foundation.
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * <p/>
- */
-package org.apache.axis2.attachments;
-
-import junit.framework.TestCase;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.ObjectInputStream;
-import java.io.ObjectOutputStream;
-
-/**
- * @author <a href="mailto:thilina@opensource.lk">Thilina Gunarathne </a>
- */
-public class Base64Test extends TestCase {
-
-    Object expectedObject;
-
-    ByteArrayInputStream byteStream;
-
-    /*
-     * Class under test for String encode(byte[])
-     */
-
-    public void testEncodebyteArray() throws Exception {
-        Object actualObject;
-        String expectedBase64;
-        expectedObject = new String("Lanka Software Foundation");
-        ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
-        ObjectOutputStream objectOutStream = new ObjectOutputStream(byteStream);
-        objectOutStream.writeObject(expectedObject);
-        expectedBase64 = Base64.encode(byteStream.toByteArray());
-        byte[] tempa = Base64.decode(expectedBase64);
-        ObjectInputStream objectInStream = new ObjectInputStream(
-                new ByteArrayInputStream(tempa));
-        actualObject = objectInStream.readObject();
-        assertEquals("Base64 Encoding Check", expectedObject, actualObject);
-    }
+/**
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * <p/>
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * <p/>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p/>
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * <p/>
+ */
+package org.apache.axis2.attachments;
+
+import junit.framework.TestCase;
+
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.ObjectInputStream;
+import java.io.ObjectOutputStream;
+
+/**
+ * @author <a href="mailto:thilina@opensource.lk">Thilina Gunarathne </a>
+ */
+public class Base64Test extends TestCase {
+
+    Object expectedObject;
+
+    ByteArrayInputStream byteStream;
+
+    /*
+     * Class under test for String encode(byte[])
+     */
+
+    public void testEncodebyteArray() throws Exception {
+        Object actualObject;
+        String expectedBase64;
+        expectedObject = new String("Lanka Software Foundation");
+        ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
+        ObjectOutputStream objectOutStream = new ObjectOutputStream(byteStream);
+        objectOutStream.writeObject(expectedObject);
+        expectedBase64 = Base64.encode(byteStream.toByteArray());
+        byte[] tempa = Base64.decode(expectedBase64);
+        ObjectInputStream objectInStream = new ObjectInputStream(
+                new ByteArrayInputStream(tempa));
+        actualObject = objectInStream.readObject();
+        assertEquals("Base64 Encoding Check", expectedObject, actualObject);
+    }
 }

Propchange: webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/attachments/Base64Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/attachments/ImageSampleTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/attachments/MIMEHelperTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/om/AbstractOMSerializationTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/om/AbstractOMSerializationTest.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/om/AbstractOMSerializationTest.java (original)
+++ webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/om/AbstractOMSerializationTest.java Thu Sep 15 11:52:11 2005
@@ -1,181 +1,181 @@
-package org.apache.axis2.om;
-
-import org.apache.axis2.om.impl.OMOutputImpl;
-import org.apache.axis2.om.impl.llom.builder.StAXOMBuilder;
-import org.apache.axis2.om.impl.llom.factory.OMXMLBuilderFactory;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.custommonkey.xmlunit.Diff;
-import org.custommonkey.xmlunit.XMLTestCase;
-import org.w3c.dom.Document;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.transform.*;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
-import java.io.*;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * @author : Eran Chinthaka (chinthaka@apache.org)
- */
-
-public class AbstractOMSerializationTest extends XMLTestCase {
-
-    protected boolean ignoreXMLDeclaration = true;
-    protected boolean ignoreDocument = false;
-    protected Log log = LogFactory.getLog(getClass());
-
-
-    /**
-     * @param xmlString - remember this is not the file path. this is the xml string
-     */
-    public Diff getDiffForComparison(String xmlString) throws Exception {
-        return getDiffForComparison(new ByteArrayInputStream(xmlString.getBytes()));
-    }
-
-    public Diff getDiffForComparison(File xmlFile) throws Exception {
-        return getDiffForComparison(new FileInputStream(xmlFile));
-    }
-
-    public String getSerializedOM(String xmlString) throws Exception {
-        try {
-            XMLInputFactory factory = XMLInputFactory.newInstance();
-//            factory.setProperty("http://java.sun.com/xml/stream/properties/report-cdata-event", Boolean.TRUE);
-
-            ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(xmlString.getBytes());
-            StAXOMBuilder staxOMBuilder = OMXMLBuilderFactory.
-                    createStAXOMBuilder(OMAbstractFactory.getOMFactory(),
-                            factory.createXMLStreamReader(byteArrayInputStream));
-            staxOMBuilder.setDoDebug(true);
-            OMElement rootElement = staxOMBuilder.getDocumentElement();
-
-            ByteArrayOutputStream baos = new ByteArrayOutputStream();
-
-            OMOutputImpl omOutput = new OMOutputImpl(baos, false);
-            omOutput.ignoreXMLDeclaration(ignoreXMLDeclaration);
-
-//            rootElement.serializeWithCache(omOutput);
-            ((OMDocument) rootElement.getParent()).serializeWithCache(omOutput);
-            omOutput.flush();
-
-            return new String(baos.toByteArray());
-        } catch (Exception e) {
-            throw e;
-        }
-    }
-
-    public Diff getDiffForComparison(InputStream inStream) throws Exception {
-
-        try {
-            XMLInputFactory factory = XMLInputFactory.newInstance();
-//            factory.setProperty("http://java.sun.com/xml/stream/properties/report-cdata-event", Boolean.TRUE);
-
-            StAXOMBuilder staxOMBuilder = OMXMLBuilderFactory.
-                    createStAXOMBuilder(OMAbstractFactory.getOMFactory(),
-                            factory.createXMLStreamReader(inStream));
-            staxOMBuilder.setDoDebug(true);
-            OMElement rootElement = staxOMBuilder.getDocumentElement();
-
-            ByteArrayOutputStream baos = new ByteArrayOutputStream();
-
-            OMOutputImpl omOutput = new OMOutputImpl(baos, false);
-//            omOutput.ignoreXMLDeclaration(ignoreXMLDeclaration);
-
-            if (ignoreDocument) {
-                rootElement.serializeWithCache(omOutput);
-            } else {
-                ((OMDocument) rootElement.getParent()).serializeWithCache(omOutput);
-            }
-            omOutput.flush();
-
-            System.out.println("XML = " + new String(baos.toByteArray()));
-
-            InputSource resultXML = new InputSource(new InputStreamReader(
-                    new ByteArrayInputStream(baos.toByteArray())));
-
-            Document dom2 = newDocument(resultXML);
-            Document dom1 = newDocument(inStream);
-
-            return compareXML(dom1, dom2);
-//            assertXMLEqual(diff, true);
-        } catch (XMLStreamException e) {
-            fail(e.getMessage());
-            throw new Exception(e);
-        } catch (ParserConfigurationException e) {
-            fail(e.getMessage());
-            throw new Exception(e);
-        } catch (SAXException e) {
-            fail(e.getMessage());
-            throw new Exception(e);
-        } catch (IOException e) {
-            fail(e.getMessage());
-            throw new Exception(e);
-        }
-    }
-
-    public Document newDocument(InputSource in)
-            throws ParserConfigurationException, SAXException, IOException {
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        DocumentBuilder db = dbf.newDocumentBuilder();
-        return db.parse(in);
-    }
-
-    public Document newDocument(InputStream in)
-            throws ParserConfigurationException, SAXException, IOException {
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        DocumentBuilder db = dbf.newDocumentBuilder();
-        return db.parse(in);
-    }
-
-    public Document newDocument(String xml)
-            throws ParserConfigurationException, SAXException, IOException {
-        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setNamespaceAware(true);
-        DocumentBuilder db = dbf.newDocumentBuilder();
-        return db.parse(new ByteArrayInputStream(xml.getBytes()));
-    }
-
-    public String writeXmlFile(Document doc) {
-        try {
-            // Prepare the DOM document for writing
-            Source source = new DOMSource(doc);
-
-            ByteArrayOutputStream baos = new ByteArrayOutputStream();
-            Result result = new StreamResult(baos);
-
-            // Write the DOM document to the file
-            Transformer xformer = TransformerFactory.newInstance().newTransformer();
-            xformer.transform(source, result);
-            return new String(baos.toByteArray());
-        } catch (TransformerConfigurationException e) {
-            log.error(e.getMessage(), e);
-        } catch (TransformerException e) {
-            log.error(e.getMessage(), e);
-        }
-        return null;
-
-    }
-
-}
+package org.apache.axis2.om;
+
+import org.apache.axis2.om.impl.OMOutputImpl;
+import org.apache.axis2.om.impl.llom.builder.StAXOMBuilder;
+import org.apache.axis2.om.impl.llom.factory.OMXMLBuilderFactory;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.custommonkey.xmlunit.Diff;
+import org.custommonkey.xmlunit.XMLTestCase;
+import org.w3c.dom.Document;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.transform.*;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.stream.StreamResult;
+import java.io.*;
+
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @author : Eran Chinthaka (chinthaka@apache.org)
+ */
+
+public class AbstractOMSerializationTest extends XMLTestCase {
+
+    protected boolean ignoreXMLDeclaration = true;
+    protected boolean ignoreDocument = false;
+    protected Log log = LogFactory.getLog(getClass());
+
+
+    /**
+     * @param xmlString - remember this is not the file path. this is the xml string
+     */
+    public Diff getDiffForComparison(String xmlString) throws Exception {
+        return getDiffForComparison(new ByteArrayInputStream(xmlString.getBytes()));
+    }
+
+    public Diff getDiffForComparison(File xmlFile) throws Exception {
+        return getDiffForComparison(new FileInputStream(xmlFile));
+    }
+
+    public String getSerializedOM(String xmlString) throws Exception {
+        try {
+            XMLInputFactory factory = XMLInputFactory.newInstance();
+//            factory.setProperty("http://java.sun.com/xml/stream/properties/report-cdata-event", Boolean.TRUE);
+
+            ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(xmlString.getBytes());
+            StAXOMBuilder staxOMBuilder = OMXMLBuilderFactory.
+                    createStAXOMBuilder(OMAbstractFactory.getOMFactory(),
+                            factory.createXMLStreamReader(byteArrayInputStream));
+            staxOMBuilder.setDoDebug(true);
+            OMElement rootElement = staxOMBuilder.getDocumentElement();
+
+            ByteArrayOutputStream baos = new ByteArrayOutputStream();
+
+            OMOutputImpl omOutput = new OMOutputImpl(baos, false);
+            omOutput.ignoreXMLDeclaration(ignoreXMLDeclaration);
+
+//            rootElement.serializeWithCache(omOutput);
+            ((OMDocument) rootElement.getParent()).serializeWithCache(omOutput);
+            omOutput.flush();
+
+            return new String(baos.toByteArray());
+        } catch (Exception e) {
+            throw e;
+        }
+    }
+
+    public Diff getDiffForComparison(InputStream inStream) throws Exception {
+
+        try {
+            XMLInputFactory factory = XMLInputFactory.newInstance();
+//            factory.setProperty("http://java.sun.com/xml/stream/properties/report-cdata-event", Boolean.TRUE);
+
+            StAXOMBuilder staxOMBuilder = OMXMLBuilderFactory.
+                    createStAXOMBuilder(OMAbstractFactory.getOMFactory(),
+                            factory.createXMLStreamReader(inStream));
+            staxOMBuilder.setDoDebug(true);
+            OMElement rootElement = staxOMBuilder.getDocumentElement();
+
+            ByteArrayOutputStream baos = new ByteArrayOutputStream();
+
+            OMOutputImpl omOutput = new OMOutputImpl(baos, false);
+//            omOutput.ignoreXMLDeclaration(ignoreXMLDeclaration);
+
+            if (ignoreDocument) {
+                rootElement.serializeWithCache(omOutput);
+            } else {
+                ((OMDocument) rootElement.getParent()).serializeWithCache(omOutput);
+            }
+            omOutput.flush();
+
+            System.out.println("XML = " + new String(baos.toByteArray()));
+
+            InputSource resultXML = new InputSource(new InputStreamReader(
+                    new ByteArrayInputStream(baos.toByteArray())));
+
+            Document dom2 = newDocument(resultXML);
+            Document dom1 = newDocument(inStream);
+
+            return compareXML(dom1, dom2);
+//            assertXMLEqual(diff, true);
+        } catch (XMLStreamException e) {
+            fail(e.getMessage());
+            throw new Exception(e);
+        } catch (ParserConfigurationException e) {
+            fail(e.getMessage());
+            throw new Exception(e);
+        } catch (SAXException e) {
+            fail(e.getMessage());
+            throw new Exception(e);
+        } catch (IOException e) {
+            fail(e.getMessage());
+            throw new Exception(e);
+        }
+    }
+
+    public Document newDocument(InputSource in)
+            throws ParserConfigurationException, SAXException, IOException {
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        DocumentBuilder db = dbf.newDocumentBuilder();
+        return db.parse(in);
+    }
+
+    public Document newDocument(InputStream in)
+            throws ParserConfigurationException, SAXException, IOException {
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        DocumentBuilder db = dbf.newDocumentBuilder();
+        return db.parse(in);
+    }
+
+    public Document newDocument(String xml)
+            throws ParserConfigurationException, SAXException, IOException {
+        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+        dbf.setNamespaceAware(true);
+        DocumentBuilder db = dbf.newDocumentBuilder();
+        return db.parse(new ByteArrayInputStream(xml.getBytes()));
+    }
+
+    public String writeXmlFile(Document doc) {
+        try {
+            // Prepare the DOM document for writing
+            Source source = new DOMSource(doc);
+
+            ByteArrayOutputStream baos = new ByteArrayOutputStream();
+            Result result = new StreamResult(baos);
+
+            // Write the DOM document to the file
+            Transformer xformer = TransformerFactory.newInstance().newTransformer();
+            xformer.transform(source, result);
+            return new String(baos.toByteArray());
+        } catch (TransformerConfigurationException e) {
+            log.error(e.getMessage(), e);
+        } catch (TransformerException e) {
+            log.error(e.getMessage(), e);
+        }
+        return null;
+
+    }
+
+}

Propchange: webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/om/AbstractOMSerializationTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/om/AbstractTestCase.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/om/AbstractTestCase.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/om/AbstractTestCase.java (original)
+++ webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/om/AbstractTestCase.java Thu Sep 15 11:52:11 2005
@@ -1,62 +1,62 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.axis2.om;
-
-import junit.framework.TestCase;
-
-import java.io.File;
-
-/**
- * Abstract base class for test cases.
- */
-public abstract class AbstractTestCase
-        extends TestCase {
-    protected String testDir = "test" + File.separator;
-    protected String sampleDir = "samples" + File.separator;
-    protected String outDir = "target" + File.separator + "generated" +
-            File.separator +
-            "samples" +
-            File.separator;
-    protected String tempDir = "target" + File.separator + "generated" +
-            File.separator +
-            "temp";
-    protected String testResourceDir = "test-resources";
-
-    /**
-     * Basedir for all file I/O. Important when running tests from
-     * the reactor.
-     */
-    public String basedir = System.getProperty("basedir");
-
-    /**
-     * @param testName
-     */
-    public AbstractTestCase(String testName) {
-        super(testName);
-        if (basedir == null) {
-            basedir = new File(".").getAbsolutePath();
-        }
-        testDir = new File(basedir, testDir).getAbsolutePath();
-        sampleDir = new File(basedir, sampleDir).getAbsolutePath();
-        outDir = new File(basedir, outDir).getAbsolutePath();
-        tempDir = new File(basedir, tempDir).getAbsolutePath();
-    }
-
-    public File getTestResourceFile(String relativePath) {
-        return new File(testResourceDir, relativePath);
-    }
-}
-
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.axis2.om;
+
+import junit.framework.TestCase;
+
+import java.io.File;
+
+/**
+ * Abstract base class for test cases.
+ */
+public abstract class AbstractTestCase
+        extends TestCase {
+    protected String testDir = "test" + File.separator;
+    protected String sampleDir = "samples" + File.separator;
+    protected String outDir = "target" + File.separator + "generated" +
+            File.separator +
+            "samples" +
+            File.separator;
+    protected String tempDir = "target" + File.separator + "generated" +
+            File.separator +
+            "temp";
+    protected String testResourceDir = "test-resources";
+
+    /**
+     * Basedir for all file I/O. Important when running tests from
+     * the reactor.
+     */
+    public String basedir = System.getProperty("basedir");
+
+    /**
+     * @param testName
+     */
+    public AbstractTestCase(String testName) {
+        super(testName);
+        if (basedir == null) {
+            basedir = new File(".").getAbsolutePath();
+        }
+        testDir = new File(basedir, testDir).getAbsolutePath();
+        sampleDir = new File(basedir, sampleDir).getAbsolutePath();
+        outDir = new File(basedir, outDir).getAbsolutePath();
+        tempDir = new File(basedir, tempDir).getAbsolutePath();
+    }
+
+    public File getTestResourceFile(String relativePath) {
+        return new File(testResourceDir, relativePath);
+    }
+}
+

Propchange: webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/om/AbstractTestCase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/om/AttrNsTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/om/AttrNsTest.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/om/AttrNsTest.java (original)
+++ webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/om/AttrNsTest.java Thu Sep 15 11:52:11 2005
@@ -1,45 +1,45 @@
-package org.apache.axis2.om;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * @author : Eran Chinthaka (chinthaka@apache.org)
- */
-
-import org.custommonkey.xmlunit.Diff;
-import org.w3c.dom.Document;
-
-public class AttrNsTest extends AbstractOMSerializationTest {
-
-    private String attrNamespaceTestXML = "<?xml version='1.0' encoding='UTF-8'?>\n" +
-            "<foo xmlns:a=\"http://opensource.lk\">" +
-            "    <bar1 b:attr=\"test attr value1\" xmlns:b=\"http://opensource.lk/ns1\">test1</bar1>" +
-            "    <bar2 b:attr=\"test attr value2\" xmlns:b=\"http://opensource.lk/ns1\">test2</bar2>" +
-            "</foo>";
-
-    public void testAttributeNamespaces() throws Exception {
-        ignoreXMLDeclaration = true;
-        ignoreDocument = true;
-
-        Document document1 = newDocument(attrNamespaceTestXML);
-        String serializedOM = getSerializedOM(attrNamespaceTestXML);
-        Document document2 = newDocument(serializedOM);
-
-        Diff diff = compareXML(document1, document2);
-        assertXMLEqual(diff, true);
-    }
-
-
-}
+package org.apache.axis2.om;
+
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @author : Eran Chinthaka (chinthaka@apache.org)
+ */
+
+import org.custommonkey.xmlunit.Diff;
+import org.w3c.dom.Document;
+
+public class AttrNsTest extends AbstractOMSerializationTest {
+
+    private String attrNamespaceTestXML = "<?xml version='1.0' encoding='UTF-8'?>\n" +
+            "<foo xmlns:a=\"http://opensource.lk\">" +
+            "    <bar1 b:attr=\"test attr value1\" xmlns:b=\"http://opensource.lk/ns1\">test1</bar1>" +
+            "    <bar2 b:attr=\"test attr value2\" xmlns:b=\"http://opensource.lk/ns1\">test2</bar2>" +
+            "</foo>";
+
+    public void testAttributeNamespaces() throws Exception {
+        ignoreXMLDeclaration = true;
+        ignoreDocument = true;
+
+        Document document1 = newDocument(attrNamespaceTestXML);
+        String serializedOM = getSerializedOM(attrNamespaceTestXML);
+        Document document2 = newDocument(serializedOM);
+
+        Diff diff = compareXML(document1, document2);
+        assertXMLEqual(diff, true);
+    }
+
+
+}

Propchange: webservices/axis2/trunk/java/modules/xml/test/org/apache/axis2/om/AttrNsTest.java
------------------------------------------------------------------------------
    svn:eol-style = native