I am trying to make a delicious handling class in PHP (I know it's
reinvention), and I found an inconsistency of error message.

if you throw a request on "posts/delete" and "posts/add" without
required queries or with mal formed ones, you'll get...


<?xml version='1.0' standalone='yes'?>
<result code="something went wrong" />


but go on "tags/rename", you'll get


<?xml version='1.0' standalone='yes'?>
<result>something went wrong</result>


Accordiong to the previous conversation, "tags/rename" is not working
properly, right?  If I throw well-formed query, I get Mason's error. 
That means, I guess, the filter is working, but the dispatched
function is not working.  So, I believe it will be fixed soon.

And my point here is.. Which is the standard of an error response? 
When I try to evaluate the response as error or not, should I search
on attribute? or content of "result" element.  I mean, for future,
which way I should go?

Cheers,

--
MIZOHATA, Takashi
_______________________________________________
discuss mailing list
[email protected]
http://lists.del.icio.us/cgi-bin/mailman/listinfo/discuss

Reply via email to