incubator-yoko-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r415727 - /incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLToProcessor.java
Date Tue, 20 Jun 2006 16:49:37 GMT
Author: bravi
Date: Tue Jun 20 09:49:37 2006
New Revision: 415727

URL: http://svn.apache.org/viewvc?rev=415727&view=rev
Log:
Fixing wsdltoidl tool to recognize schema elements with prefixes.
JIRA: http://issues.apache.org/jira/browse/YOKO-54

Modified:
    incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLToProcessor.java

Modified: incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLToProcessor.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLToProcessor.java?rev=415727&r1=415726&r2=415727&view=diff
==============================================================================
--- incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLToProcessor.java
(original)
+++ incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLToProcessor.java
Tue Jun 20 09:49:37 2006
@@ -144,7 +144,7 @@
                     schemaElem = schema.getElement();
                 } else if (obj instanceof UnknownExtensibilityElement) {
                     org.w3c.dom.Element elem = ((UnknownExtensibilityElement) obj).getElement();
-                    if (elem.getTagName().equals("schema")) {
+                    if (elem.getLocalName().equals("schema")) {
                         schemaElem = elem;
                     }
                 }



Mime
View raw message