Re: Sending boolean value via XML-RPC using WebServicesCore.framework
Re: Sending boolean value via XML-RPC using WebServicesCore.framework
- Subject: Re: Sending boolean value via XML-RPC using WebServicesCore.framework
- From: Matt Gemmell <email@hidden>
- Date: Sat, 28 Sep 2002 23:54:06 +0100
On Saturday, September 28, 2002, at 10:57 pm, Matt Gemmell wrote:
The "expected Element" error seems to arise when one of the values in
the parameter list is malformed in some way. Seems to happen when I
pass a string containing HTML tags, for example, which makes some kind
of sense since all this is converted to XML before being sent. Still
need to play with that a bit.
For what it's worth, my solution was just to entity-encode the "<"
characters as "<", using NSString's -replaceOccurrencesOfString:...
method.
Note that this definitely doesn't work for all entities (™ for
example), but it seems happy enough with basic stuff.
Cheers,
-Matt
--
Matt Gemmell
Scotland Software
http://www.scotlandsoftware.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.