[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xmlblaster] Bugging me.


I have been trying to keep up with your 'excellent' work along with my own
I hope to be using xmlBlaster with a task I think xmlBlaster should excel.

As the advice of a few months ago was to stick with the cvs for the latest
and greatest. There are to very minor bugs I should appreciate if you could
fix. I keep having to every time I download.

I use xmlBlaster with TAO. TAO spits, and rightly so at your corba string
allocation. Recall any strings returned are to be managed by the ORB and
should use string_dup() as string_free() shall be invoked MH and SV Advanced
CORBA Prog p288. What does mico do. Orbacus costs so much now sinse IONA
bought it and only has trial downloads now so who cares about that ;-)

as an example:

char *ping(const char *qos) {
   return CORBA::string_dup(""); // instead of just "";

Also the 'c' xmlrpc demo client.c around 222 (sorry no diff)

while((n=read(fd, buf, BUFFSIZE)) > 0) {
     buf[n] = NULL;  // really needs this or you will probably buffer
overrun on some platforms.
     strcat(data, buf);

I think xmlBlaster is awesome (so far) :-) I hope I can help in some small
way in the future.


Martin Johnson

R&D Quickcut.