cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r685581 - /cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/WSDLASTVisitor.java
Date Wed, 13 Aug 2008 15:18:27 GMT
Author: dkulp
Date: Wed Aug 13 08:18:25 2008
New Revision: 685581

URL: http://svn.apache.org/viewvc?rev=685581&view=rev
Log:
[CXF-1745] Patch from   Matteo Vescovi applied

Modified:
    cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/WSDLASTVisitor.java

Modified: cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/WSDLASTVisitor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/WSDLASTVisitor.java?rev=685581&r1=685580&r2=685581&view=diff
==============================================================================
--- cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/WSDLASTVisitor.java
(original)
+++ cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/WSDLASTVisitor.java
Wed Aug 13 08:18:25 2008
@@ -441,7 +441,7 @@
         if (schemaList != null) {
             for (int i = 0; i < schemaList.length; i++) {
                 if (schemaList[i].getTargetNamespace().equals(Constants.URI_2001_SCHEMA_XSD))
{
-                    XmlSchemaType anyType = new XmlSchemaType(schemaList[0]);
+                    XmlSchemaType anyType = new XmlSchemaType(schemaList[i]);
                     anyType.setName(Constants.XSD_ANYTYPE.getLocalPart());
                     schemaList[i].addType(anyType);
                     break;



Mime
View raw message