UCD web service: possible bug of "assign" method
Ivan Yu. Zolotukhin
iz at sai.msu.ru
Mon Nov 28 10:34:12 PST 2005
Just want to post some comment on "assign" method of UCD web service, it
works improperly in my opinion. It returns not UCD actually, but UCD plus
\n symbol at the end of it. I thought that there is a problem with my
client, but dump of SOAP conversation proves my guess: there is a '\n'
symbol at the end of ucd inside <return> element of soap envelope. So all
clients return something like $real_ucd . "\n", using Perl terminology.
Is it a correct behaviour? I think all the transformations with UCD should
be left to client side, shouldn't they? Are there similar behaviour of
other methods of this web service?
If it is not correct, it's better to fix it now, otherwise many clients
will depened on it. For instance, my client now removes this trailing
linefeed to insert correct UCD into database.
More information about the ucd