We were having problems with the PHP API into CM - specifically the custom field additions...
Looking over the debugging output, it looked like there were slashes missing from the closing elements of the XML...
So to fix this, we simply updated the function array2xml() and where there was "<$k>" at the end of each line, we simply added the slash to close off the element like so: </$k>
I hope this helps someone out there!
Best, Bob! :-)
Thank you very much for pointing this out. I had a look in the code and I think this might have been fixed in the latest version, but would you mind checking?