You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ri...@apache.org on 2007/02/22 14:32:58 UTC

svn commit: r510499 - in /incubator/tuscany/branches/sca-java-integration: sca/kernel/core/src/main/java/org/apache/tuscany/core/databinding/xml/DOMXMLStreamReader.java testing/sca/itest/pom.xml

Author: rineholt
Date: Thu Feb 22 05:32:55 2007
New Revision: 510499

URL: http://svn.apache.org/viewvc?view=rev&rev=510499
Log:
Fix to get non-exception scenario working SDO <-> axiom (wsbinding) <-> JAXB

Modified:
    incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/databinding/xml/DOMXMLStreamReader.java
    incubator/tuscany/branches/sca-java-integration/testing/sca/itest/pom.xml

Modified: incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/databinding/xml/DOMXMLStreamReader.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/databinding/xml/DOMXMLStreamReader.java?view=diff&rev=510499&r1=510498&r2=510499
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/databinding/xml/DOMXMLStreamReader.java (original)
+++ incubator/tuscany/branches/sca-java-integration/sca/kernel/core/src/main/java/org/apache/tuscany/core/databinding/xml/DOMXMLStreamReader.java Thu Feb 22 05:32:55 2007
@@ -613,9 +613,13 @@
         this.rootElementName = rootElement.getLocalName();
         this.rootElementURI = rootElement.getNamespaceURI();
 
-        declaredNamespaceMap.put("xml", "http://www.w3.org/XML/1998/namespace");
-        declaredNamespaceMap.put("xmlns", "http://www.w3.org/2000/xmlns/");
-        declaredNamespaceMap.put("xsi", "http://www.w3.org/2001/XMLSchema-instance");
+//TODO remove permanently? 02/22/07
+//    This is causing exceptionXbindingWSTest to fail because it is binding these prefixes
+//    later in the xml document. All tests run with out this and we are not sure why 
+//      why it was required.  old woodstox bug?
+//        declaredNamespaceMap.put("xml", "http://www.w3.org/XML/1998/namespace");
+//        declaredNamespaceMap.put("xmlns", "http://www.w3.org/2000/xmlns/");
+//        declaredNamespaceMap.put("xsi", "http://www.w3.org/2001/XMLSchema-instance");
 
         populateProperties();
     }

Modified: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/testing/sca/itest/pom.xml?view=diff&rev=510499&r1=510498&r2=510499
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/testing/sca/itest/pom.xml (original)
+++ incubator/tuscany/branches/sca-java-integration/testing/sca/itest/pom.xml Thu Feb 22 05:32:55 2007
@@ -42,6 +42,7 @@
                 <module>propertyTest</module>
                 <module>exceptionTests</module>
                 <module>exceptionXbindingTest</module>
+                <module>exceptionXbindingWSTest</module>
 	        <module>callBackBasicTest</module>
 	        <module>callBackCTypeTest</module>
 	        <module>callBackAPITest</module>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org