Re: Ignoring blank spaces in SOAP
Dan Winship <[email protected]> Tue, 06 Jul 2004 12:51:14 -0400
| Newsgroups | gmane.comp.gnome.ximian.soup |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2004-07-01 at 21:36 +0200, Fernando Herrera wrote: > Hi, I was writing test cases for the libsoup XML-RPC stuff and > also did some for SOAP. I realized that for example google SOAP API was > failing because the xml parsing is interpreting blank characters and new > lines as nodes. The most simple solution would be the following patch: > > --- libsoup/soup-soap-response.c 18 Feb 2004 15:00:34 -0000 1.12 > +++ libsoup/soup-soap-response.c 1 Jul 2004 19:04:04 -0000 > @@ -153,6 +153,7 @@ > old_doc = response->priv->xmldoc; > > /* parse the string */ > + xmlKeepBlanksDefault (0); Unfortunately, that changes the behavior of libxml for all callers in the entire app, which might break something else. We need to make the SOAP-parsing code deal with the blank nodes itself. -- Dan _______________________________________________ Soup-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/soup-list