Return-Path: X-Original-To: apmail-axis-c-dev-archive@www.apache.org Delivered-To: apmail-axis-c-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 170B98527 for ; Tue, 30 Aug 2011 15:28:04 +0000 (UTC) Received: (qmail 47357 invoked by uid 500); 30 Aug 2011 15:28:03 -0000 Delivered-To: apmail-axis-c-dev-archive@axis.apache.org Received: (qmail 46926 invoked by uid 500); 30 Aug 2011 15:28:03 -0000 Mailing-List: contact c-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list c-dev@axis.apache.org Received: (qmail 46667 invoked by uid 99); 30 Aug 2011 15:28:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2011 15:28:02 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2011 15:28:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E21BDD7690 for ; Tue, 30 Aug 2011 15:27:38 +0000 (UTC) Date: Tue, 30 Aug 2011 15:27:38 +0000 (UTC) From: "Marcus Dushshantha Chandradasa (JIRA)" To: c-dev@axis.apache.org Message-ID: <1334579620.7932.1314718058922.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1071100104.50267.1302551825729.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (AXIS2C-1545) Undeclared variable in generated c code MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1545?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcus Dushshantha Chandradasa reassigned AXIS2C-1545: ------------------------------------------------------ Assignee: Marcus Dushshantha Chandradasa > Undeclared variable in generated c code > --------------------------------------- > > Key: AXIS2C-1545 > URL: https://issues.apache.org/jira/browse/AXIS2C-1545 > Project: Axis2-C > Issue Type: Bug > Components: code generation > Affects Versions: 1.7.0 > Environment: Windows XP > Reporter: Carl Lefran=C3=A7ois > Assignee: Marcus Dushshantha Chandradasa > Labels: patch > Fix For: Next Version > > Original Estimate: 1h > Remaining Estimate: 1h > > The variables xsi_prefix, type_attrib, xsi_ns, and xsi_type_attri are som= etimes not declared even when a code block later uses them. The condition = controlling their generation is not the same as the condition of a block th= at uses them. > CADBBeanTemplateSource.xsl revision 909680 > declaration blocks: > lines 3650, 3653: > > > used in block: > line 4149 > > Possible patch is to add 'count(property[@attribute])!=3D0' condition to= the declaration tests. This change worked in at least one case but no run= -time test done yet. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org For additional commands, e-mail: c-dev-help@axis.apache.org