Mensagem sobre o tópico
Problem when using type DOUBLE in SOAP
MIME-Version: 1.0
Received: by 10.100.131.3 with SMTP id e3mr142880and.13.1214299655343; Tue, 24
Jun 2008 02:27:35 -0700 (PDT)
Date: Tue, 24 Jun 2008 02:27:35 -0700 (PDT)
In-Reply-To: <1f9aaff1-6fb1-4ecc-9f77-a56b1cea0242@a1g2000hsb.googlegroups.com>
X-IP: 195.212.29.83
References: <bf220dbb0806161659s3ac8d1ceq42a36618960111b9@mail.gmail.com>
<6fa2d4a5-eb03-42b4-8b84-cd5de1d3d47e@27g2000hsf.googlegroups.com>
<9e30712d-94fd-496f-8cc5-f0fc117f6954@z72g2000hsb.googlegroups.com>
<273b8d17-3b46-4676-b262-284e3577501d@2g2000hsn.googlegroups.com>
<4859A2C5.2060007@php.net> <bf220dbb0806181833s482bd8e4t9d4d87c8ea03566e@mail.gmail.com>
<1f9aaff1-6fb1-4ecc-9f77-a56b1cea0242@a1g2000hsb.googlegroups.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.7)
Gecko/20070914 Firefox/2.0.0.7,gzip(gfe),gzip(gfe)
Message-ID: <f4c02568-28bd-4586-aa54-4b110c2d3de3@56g2000hsm.googlegroups.com>
Subject: Re: Problem when using type DOUBLE in SOAP
From: Matthew Peters <matthew.f.pet...@googlemail.com>
To: phpsoa <phpsoa@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hi Silvano, just to say that I bumped into Caroline who said she is
going to take a look at it and see what it will take to get the right
behaviour during xml generation.
Matthew
On Jun 19, 10:40 am, Matthew Peters <matthew.f.pet...@googlemail.com>
wrote:
> Hi Caroline, thanks for a very authoritative answer, as always. The
> one we are going to need to fix, of course, is the Tuscany behaviour,
> and what it does on $xmldas->saveString($xdoc), since that is what we
> use to generate the XML for the soap response ... unless we do some
> horrid fix up of the generated xml afterwards. Can you work out what
> the Tuscany change needs to be?
>
> Matthew
>
> On Jun 19, 2:33 am, "Silvano Girardi Jr" <silvan...@gmail.com> wrote:
>
> > On Wed, Jun 18, 2008 at 9:05 PM, Caroline Maynard <c...@php.net> wrote:
>
> > > I think this accounts for the behaviour of Matthew's testcase. But we're
> > > going through similar Tuscany code when converting between SDOs and XML,
> > > and this will really need a Tuscany change.
>
> > > I did check this against the SDO 2.1 spec, and that expects doubles and
> > > floats to be printed as [0-9]*('.'[0-9])?('E'|'e'). So I don't know
> > > where Tuscany got its format. Certainly not from the XML schema spec: