[phpxmlrpc-devel] introduction
Brought to you by:
ggiunta
From: Andres S. <dil...@mp...> - 2002-01-31 12:23:58
|
Edd mentioned I should introduce myself to the list, so here goes. I work for Voxel, and have taken over the project that Justin Miller previously worked on. We use xmlrpc quite extensively in a production environment. I requested cvs write access in order to add some sanity checks to the code; we see a bit too many php errors, messing up xml responses. For example, one of the mistakes I accidentally made was passing xmlrpcval's constructor an associative array, w/ a type of "array"; it should've been "struct". Expected behavior would've been to have some sort of "type mismatch" error (or even just detect the type automatically); instead, there's a for loop inside one of the serialize functions that iterates through the array via loop counter, so uninitialized variables end up being processed as arrays. My goal is to improve usability for the programmer; instead of having to trace through code every time there's a problem, give a reasonable error message describing incorrect use of the API. BTW, I notice the code in CVS is indented consistently; I thank whoever did that. :) -- "I think a lot of the basis of the open source movement comes from procrastinating students..." -- Andrew Tridgell <http://www.linux-mag.com/2001-07/tridgell_04.html> |