Which part you want to look Alex ?

Android için Outlook<https://aka.ms/ghei36>'u edinin

________________________________
From: Alex Harui <aha...@adobe.com>
Sent: Thursday, June 25, 2020 7:47:13 PM
To: users@royale.apache.org <users@royale.apache.org>
Subject: Re: empty object is being behaved as if an xml


What does the code look like that calls this?



From: serkan <ser...@likyateknoloji.com>
Reply-To: "users@royale.apache.org" <users@royale.apache.org>
Date: Wednesday, June 24, 2020 at 11:53 PM
To: "users@royale.apache.org" <users@royale.apache.org>
Subject: empty object is being behaved as if an xml



Hi,

Regarding the exception :

[cid:image001.png@01D64AD5.9A683B60]

When the "parameters" is null it is being behaved like an xml node by 
AbstractOperation with the code piece below :

            if (ctype == CONTENT_TYPE_XML)
            {

                if (parameters is String && xmlEncode == null)
                {
                    paramsToSend = parameters as String;
                } else {
                    paramsToSend = parameters.toXMLString();
                }

In fact Flex version checks if it is XMLNode or not than creates some kind of 
empty XML "<>"

How can I check if "parameters" is not an xml string and convert it to empty 
xml string ? Checking null is not working because it is not null in royale bu 
an empty Array, which is an object according to the code below :

[cid:image002.png@01D64AD5.9A683B60]

Thanks,
Serkan

Reply via email to