Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 13758 invoked from network); 3 Aug 2007 07:20:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Aug 2007 07:20:01 -0000 Received: (qmail 37092 invoked by uid 500); 3 Aug 2007 07:19:58 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 36974 invoked by uid 500); 3 Aug 2007 07:19:58 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 36938 invoked by uid 500); 3 Aug 2007 07:19:58 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 36927 invoked by uid 99); 3 Aug 2007 07:19:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2007 00:19:58 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2007 07:19:38 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 94F911A981A; Fri, 3 Aug 2007 00:19:35 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r562366 - /webservices/axis2/trunk/java/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java Date: Fri, 03 Aug 2007 07:19:35 -0000 To: axis2-cvs@ws.apache.org From: amilas@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070803071935.94F911A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: amilas Date: Fri Aug 3 00:19:34 2007 New Revision: 562366 URL: http://svn.apache.org/viewvc?view=rev&rev=562366 Log: commit the patch submitted by upul for Axis2-3043 Modified: webservices/axis2/trunk/java/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java Modified: webservices/axis2/trunk/java/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java?view=diff&rev=562366&r1=562365&r2=562366 ============================================================================== --- webservices/axis2/trunk/java/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java (original) +++ webservices/axis2/trunk/java/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java Fri Aug 3 00:19:34 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