After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 364490 - Default XML-RPC Data Type
Default XML-RPC Data Type
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
2.2.x
Other All
: Normal normal
: ---
Assigned To: Dan Winship
Dan Winship
Depends on:
Blocks:
 
 
Reported: 2006-10-23 17:46 UTC by Todd Kulesza
Modified: 2006-11-20 21:35 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Handle unspecified XML-RPC values as strings (1.18 KB, patch)
2006-10-23 17:47 UTC, Todd Kulesza
none Details | Review
alternate patch for untyped xml-rpc values (1.24 KB, patch)
2006-11-03 18:07 UTC, Dan Winship
none Details | Review
Updated for latest CVS code (1.33 KB, patch)
2006-11-18 03:49 UTC, Todd Kulesza
none Details | Review

Description Todd Kulesza 2006-10-23 17:46:23 UTC
By default, XML-RPC values with unspecified data types are supposed to be treated as strings.  Currently libsoup considers these as invalid values.  I've found some popular XML-RPC applications, such as Blogger, which rely on this default string assumption to function properly.  The attached patch causes libsoup's XML-RPC handling code to treat unspecified data types as strings, thus resolving the problem.
Comment 1 Todd Kulesza 2006-10-23 17:47:43 UTC
Created attachment 75250 [details] [review]
Handle unspecified XML-RPC values as strings
Comment 2 Dan Winship 2006-11-03 18:07:01 UTC
Created attachment 75949 [details] [review]
alternate patch for untyped xml-rpc values

Hm... that patch doesn't mean what it looks like it does. (It looks like it's
checking for <value><text>blah</text></value>, but really, it's checking for
<value>blah</value>.) Does this patch work for you? (Or if not, can you tweak it
so it does?)
Comment 3 Todd Kulesza 2006-11-13 16:21:38 UTC
Yeah, that patch works perfectly.  Thanks!
Comment 4 Todd Kulesza 2006-11-18 03:49:57 UTC
Created attachment 76793 [details] [review]
Updated for latest CVS code

I updated the patch to apply cleanly against the latest libsoup CVS codebase.
Comment 5 Dan Winship 2006-11-20 21:35:25 UTC
committed. there'll be a libsoup 2.2.98 for GNOME 2.16.2 later today