Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 15243 invoked from network); 9 Apr 2004 13:31:10 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Apr 2004 13:31:10 -0000 Received: (qmail 87434 invoked by uid 500); 9 Apr 2004 13:31:02 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 87406 invoked by uid 500); 9 Apr 2004 13:31:02 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 87392 invoked from network); 9 Apr 2004 13:31:02 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 9 Apr 2004 13:31:02 -0000 Received: (qmail 15219 invoked by uid 1685); 9 Apr 2004 13:31:05 -0000 Date: 9 Apr 2004 13:31:05 -0000 Message-ID: <20040409133105.15218.qmail@minotaur.apache.org> From: sanjaya@apache.org To: ws-axis-cvs@apache.org Subject: cvs commit: ws-axis/c/src/soap XercesHandler.cpp X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N sanjaya 2004/04/09 06:31:05 Modified: c/src/soap XercesHandler.cpp Log: fixed for loop in start element even Revision Changes Path 1.5 +5 -3 ws-axis/c/src/soap/XercesHandler.cpp Index: XercesHandler.cpp =================================================================== RCS file: /home/cvs/ws-axis/c/src/soap/XercesHandler.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- XercesHandler.cpp 8 Apr 2004 12:47:11 -0000 1.4 +++ XercesHandler.cpp 9 Apr 2004 13:31:05 -0000 1.5 @@ -47,14 +47,16 @@ unsigned int len = attrs.getLength(); unsigned int index; + unsigned int i = 0; for (index = 0; index < len*3; index+=3) { Nelement->m_pchAttributes[index] = - XMLString::transcode(attrs.getLocalName(index)); + XMLString::transcode(attrs.getLocalName(i)); Nelement->m_pchAttributes[index+1] = - XMLString::transcode(attrs.getURI(index)); + XMLString::transcode(attrs.getURI(i)); Nelement->m_pchAttributes[index+2] = - XMLString::transcode(attrs.getValue(index)); + XMLString::transcode(attrs.getValue(i)); + i++; } Nelement->m_pchAttributes[len*3]=NULL; }