aha,,same question i found few days ago.

i m sorry to forget submit it.

2007/6/22, Yonik Seeley <[EMAIL PROTECTED]>:

On 6/21/07, Ryan McKinley <[EMAIL PROTECTED]> wrote:
> I just started running the scripts and
>
> The commit script seems to run fine, but it says there was an error.  I
> looked into it, and the scripts expect 1.1 style response:
>
>    <result status="0"></result>
>
> 1.2 /update returns:
>
>    <?xml version="1.0" encoding="UTF-8"?>
>    <response>
>    <lst name="responseHeader">
>      <int name="status">0</int>
>      <int name="QTime">44</int>
>    </lst>
>    </response>

I guess we should look for 'status="0"><' ?

Or,  if you get a response code of 200, it's a success unless
you see status="<nonzero>"

-Yonik




--
regards
jl

Reply via email to