Author: duftler
Date: Wed Jun 21 07:26:56 2006
New Revision: 415994

URL: http://svn.apache.org/viewvc?rev=415994&view=rev
Log:
Fixed a bug that was causing the xsd namespace declaration to be dropped from 
the newly generated description element. The problem was described by JIRAs 
WODEN-26 and WODEN-35.

Modified:
    incubator/woden/java/src/org/apache/woden/tool/converter/Convert.java

Modified: incubator/woden/java/src/org/apache/woden/tool/converter/Convert.java
URL: 
http://svn.apache.org/viewvc/incubator/woden/java/src/org/apache/woden/tool/converter/Convert.java?rev=415994&r1=415993&r2=415994&view=diff
==============================================================================
--- incubator/woden/java/src/org/apache/woden/tool/converter/Convert.java 
(original)
+++ incubator/woden/java/src/org/apache/woden/tool/converter/Convert.java Wed 
Jun 21 07:26:56 2006
@@ -70,8 +70,6 @@
     "http://schemas.xmlsoap.org/wsdl/soap/";;
   private static String NS_URI_WSDL_1_1_SOAP_HTTP =
     "http://schemas.xmlsoap.org/soap/http";;
-  private static String NS_URI_SCHEMA_2001 =
-    "http://www.w3.org/2001/XMLSchema";;
   private static String NS_URI_WSP =
     "http://schemas.xmlsoap.org/ws/2004/09/policy";;
 
@@ -308,7 +306,6 @@
           String namespaceURI = def.getNamespace(prefix);
 
           if (!namespaceURI.equals(NS_URI_WSDL_1_1_SOAP)
-              && !namespaceURI.equals(NS_URI_SCHEMA_2001)
               && !namespaceURI.equals(NS_URI_WSDL_1_1))
           {
             pw.print("\n             xmlns:" + prefix + "=\"" + namespaceURI +



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

Reply via email to