Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 75889 invoked from network); 22 Jul 2004 08:46:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Jul 2004 08:46:17 -0000 Received: (qmail 97008 invoked by uid 500); 22 Jul 2004 08:46:13 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 96967 invoked by uid 500); 22 Jul 2004 08:46:13 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 96930 invoked by uid 99); 22 Jul 2004 08:46:12 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [195.212.29.136] (HELO mtagate3.uk.ibm.com) (195.212.29.136) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 22 Jul 2004 01:46:09 -0700 Received: from d06nrmr1307.portsmouth.uk.ibm.com (d06nrmr1307.portsmouth.uk.ibm.com [9.149.38.129]) by mtagate3.uk.ibm.com (8.12.10/8.12.10) with ESMTP id i6M8k6wZ265512 for ; Thu, 22 Jul 2004 08:46:06 GMT Received: from d06ml068.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by d06nrmr1307.portsmouth.uk.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i6M8k5SN237062 for ; Thu, 22 Jul 2004 09:46:06 +0100 In-Reply-To: Subject: Re: UTF problems still To: "Apache AXIS C Developers List" X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: From: John Hawkins Date: Thu, 22 Jul 2004 09:40:29 +0100 X-MIMETrack: Serialize by Router on D06ML068/06/M/IBM(Release 6.0.2CF2HF259 | March 11, 2004) at 22/07/2004 09:48:35 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Exactly - and the problem is that setting it without the quotes fails. John Hawkins Kenneth Chiu To Apache AXIS C Developers List 21/07/2004 18:30 cc Please respond to Subject "Apache AXIS C Re: UTF problems still Developers List" Not sure exactly what you mean, but if xsd:byte is defined as a signed char, you should be able to set the value without the quotes. typedef signed char byte; byte c; c = -10; c = 120; Enclosing in quotes means that you want the ASCII value of the enclosed character: c = '0'; // Same as c = 48; On Wed, 21 Jul 2004, John Hawkins wrote: > > > > > Hi Folks, any clues please? > > John Hawkins > > > > > John > Hawkins/UK/IBM@IB > MGB To > axis-c-dev@ws.apache.org > 20/07/2004 15:44 cc > > Subject > Please respond to UTF problems still > "Apache AXIS C > Developers List" > > > > > > > > > > > > > Hi Folks, > got a problem with UTF still - > > > did the 1.2 code change anything to do with how the xsd:byte types are > serialized? > xsd:byte is supposed to be the range from -128 to 127, but I can only get > 0-9 to work without getting an encoding error. > > The problem I'm seeing is this: > I can set it to a single digit by enclosing it in single quotes, so if I > need to set it to 0, I have to use '0'. > If I try to set it to anything other than '0'-'9', I get an error similar > to the one below (since I can't use quotes.) > > I need to be able to set it to values with two or three digits. > I would expect to be able to set a byte with just the number, not the > quotes. Do you know how this is supposed to work? > > thanks folks, > John. > > > > John Hawkins > > > >