ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r562359 - /webservices/axis2/branches/java/1_3/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java
Date Fri, 03 Aug 2007 07:14:05 GMT
Author: amilas
Date: Fri Aug  3 00:14:04 2007
New Revision: 562359

URL: http://svn.apache.org/viewvc?view=rev&rev=562359
Log:
commit the patch submitted by upul for Axis2-3043

Modified:
    webservices/axis2/branches/java/1_3/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java

Modified: webservices/axis2/branches/java/1_3/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_3/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java?view=diff&rev=562359&r1=562358&r2=562359
==============================================================================
--- webservices/axis2/branches/java/1_3/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java
(original)
+++ webservices/axis2/branches/java/1_3/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java
Fri Aug  3 00:14:04 2007
@@ -142,8 +142,8 @@
                         log.debug(saxParseException.getMessage(), saxParseException);
                     }
                 });
-                Document document = schema.getAllSchemas()[0];
-                sc.parseSchema(schema.getTargetNamespace(), document.getDocumentElement());
+
+                sc.parseSchema((InputSource) xmlObjectsVector.get(i));
 
                 // Bind the XML
                 S2JJAXBModel jaxbModel = sc.bind();



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


Mime
View raw message