• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Empty strings in XML-RPC struct replies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Empty strings in XML-RPC struct replies


  • Subject: Re: Empty strings in XML-RPC struct replies
  • From: Simon Topliss <email@hidden>
  • Date: Mon, 19 Oct 2009 18:20:03 +0100

On 19 Oct 2009, at 13:12, Axel Luttgens wrote:

Le 18 oct. 2009 à 16:27, Simon Topliss a écrit :

Hello Simon,

Good to know that there's a unique mapping for 'null' values.
But such values are just a symptom, the question being: how/when do they appear in the interpretation of an xmlrpc (or, thanks to the additional info you provided, soap) reply?
Going back to Jeff's original question: is it normal that an empty string returned in a struct from an xmlrpc query is interpreted as a 'null' value at the client side?

They appear like that when no data is returned for a given value. In AppleScript, it really should map to 'missing value', but doesn't. A null value is not an empty string. An empty string would be show as "". I don't the technical details why XML/RPC and SOAP requests are like this. You'll need to ask one of the Chris's.

Simon

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Empty strings in XML-RPC struct replies (From: Jeff Jungblut <email@hidden>)
 >Re: Empty strings in XML-RPC struct replies (From: Axel Luttgens <email@hidden>)
 >Re: Empty strings in XML-RPC struct replies (From: Simon Topliss <email@hidden>)
 >Re: Empty strings in XML-RPC struct replies (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: newby small programmer in excel/vba
  • Next by Date: Re: How to put logs in console using AppleScript
  • Previous by thread: Re: Empty strings in XML-RPC struct replies
  • Next by thread: Re: Empty strings in XML-RPC struct replies
  • Index(es):
    • Date
    • Thread