<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Additional XML support in Zend Amf</title>
	<atom:link href="http://wadearnold.com/blog/flash/amfphp/additional-xml-support-in-zend-amf/feed" rel="self" type="application/rss+xml" />
	<link>http://wadearnold.com/blog/flash/amfphp/additional-xml-support-in-zend-amf</link>
	<description>The spoils of the integration of PHP and ActionScript</description>
	<lastBuildDate>Wed, 19 May 2010 07:10:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: sideDoor</title>
		<link>http://wadearnold.com/blog/flash/amfphp/additional-xml-support-in-zend-amf/comment-page-1#comment-2568</link>
		<dc:creator>sideDoor</dc:creator>
		<pubDate>Mon, 11 May 2009 19:45:42 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=152#comment-2568</guid>
		<description>Yeah, I don&#039;t know...

...using DOMDocument, I can see using Charles that the returned result is merely empty, and when using simplexml, Zendamf returns an object containing two nested objects, as I mentioned above, one for each tier in the xml file, however, each of these objects is empty, the xml data does not transfer.

There&#039;s no problem loading the xml file using DOM or simplexml and parsing the xml in php, so I know there&#039;s no errors on the php-side, and as well, there&#039;s no errors being logged by php...so I&#039;m not sure how to proceed here.

I was under the impression from your post above that when passing either a DOM object or simplexml object, that actionscript would be able to receive and deal with the object as xml...

Confused, but that&#039;s normal...
sd</description>
		<content:encoded><![CDATA[<p>Yeah, I don&#8217;t know&#8230;</p>
<p>&#8230;using DOMDocument, I can see using Charles that the returned result is merely empty, and when using simplexml, Zendamf returns an object containing two nested objects, as I mentioned above, one for each tier in the xml file, however, each of these objects is empty, the xml data does not transfer.</p>
<p>There&#8217;s no problem loading the xml file using DOM or simplexml and parsing the xml in php, so I know there&#8217;s no errors on the php-side, and as well, there&#8217;s no errors being logged by php&#8230;so I&#8217;m not sure how to proceed here.</p>
<p>I was under the impression from your post above that when passing either a DOM object or simplexml object, that actionscript would be able to receive and deal with the object as xml&#8230;</p>
<p>Confused, but that&#8217;s normal&#8230;<br />
sd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sideDoor</title>
		<link>http://wadearnold.com/blog/flash/amfphp/additional-xml-support-in-zend-amf/comment-page-1#comment-2566</link>
		<dc:creator>sideDoor</dc:creator>
		<pubDate>Mon, 11 May 2009 07:48:15 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=152#comment-2566</guid>
		<description>I sort of understand sending XML from php, however, using your approach above I was getting this error:

PHP Warning:  DOMDocument::loadXML() [&lt;a href=&#039;domdocument.loadxml&#039; rel=&quot;nofollow&quot;&gt;domdocument.loadxml&lt;/a&gt;]: Start tag expected, &#039;&lt;&#039; not found in Entity, line: 1 in ...path\to\file.xml

So, I had to use:

//php:
$s = simplexml_load_file(&#039;path/to/file.xml&#039;);
return $s;

And using Charles, I can see that 3 objects are being sent, one for each tier of the XML structure (root, with 2 children).

BUT I can&#039;t seem to assign the object returned from Zendamf to an actionscript XML object.

Can you show an example of how to receive an XML object in actionscript ready for E4X?

Thanks! sd</description>
		<content:encoded><![CDATA[<p>I sort of understand sending XML from php, however, using your approach above I was getting this error:</p>
<p>PHP Warning:  DOMDocument::loadXML() [<a href='domdocument.loadxml' rel="nofollow">domdocument.loadxml</a>]: Start tag expected, &#8216;&lt;&#8217; not found in Entity, line: 1 in &#8230;path\to\file.xml</p>
<p>So, I had to use:</p>
<p>//php:<br />
$s = simplexml_load_file(&#8216;path/to/file.xml&#8217;);<br />
return $s;</p>
<p>And using Charles, I can see that 3 objects are being sent, one for each tier of the XML structure (root, with 2 children).</p>
<p>BUT I can&#8217;t seem to assign the object returned from Zendamf to an actionscript XML object.</p>
<p>Can you show an example of how to receive an XML object in actionscript ready for E4X?</p>
<p>Thanks! sd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bjoern</title>
		<link>http://wadearnold.com/blog/flash/amfphp/additional-xml-support-in-zend-amf/comment-page-1#comment-662</link>
		<dc:creator>Bjoern</dc:creator>
		<pubDate>Fri, 19 Dec 2008 10:27:55 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=152#comment-662</guid>
		<description>@Jan: I recommend using Charles (http://www.charlesproxy.com/) to see the full server side error message. Extremely helpful for debugging puposes.</description>
		<content:encoded><![CDATA[<p>@Jan: I recommend using Charles (<a href="http://www.charlesproxy.com/" rel="nofollow">http://www.charlesproxy.com/</a>) to see the full server side error message. Extremely helpful for debugging puposes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wadearnold</title>
		<link>http://wadearnold.com/blog/flash/amfphp/additional-xml-support-in-zend-amf/comment-page-1#comment-653</link>
		<dc:creator>wadearnold</dc:creator>
		<pubDate>Fri, 19 Dec 2008 02:44:17 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=152#comment-653</guid>
		<description>&lt;a href=&quot;#comment-649&quot; rel=&quot;nofollow&quot;&gt;@Jan Viehweger&lt;/a&gt; You will normally see that error if there is a PHP exception before the call could even be processed. Can you check your PHP error logs to see what is failing. It is probably something major like the class XmlTest could not be found.</description>
		<content:encoded><![CDATA[<p><a href="#comment-649" rel="nofollow">@Jan Viehweger</a> You will normally see that error if there is a PHP exception before the call could even be processed. Can you check your PHP error logs to see what is failing. It is probably something major like the class XmlTest could not be found.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Viehweger</title>
		<link>http://wadearnold.com/blog/flash/amfphp/additional-xml-support-in-zend-amf/comment-page-1#comment-649</link>
		<dc:creator>Jan Viehweger</dc:creator>
		<pubDate>Thu, 18 Dec 2008 20:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=152#comment-649</guid>
		<description>hi wade,

cool news! i&#039;ve tried your sample code but i just get an the following error:

faultCode:Client.Error.DeliveryInDoubt 
faultString:&#039;Channel disconnected&#039; 
faultDetail:&#039;Channel disconnected before an acknowledgement was received&#039;

i use the &quot;latest&quot; zend framework 1.7.1. &quot;full&quot; from  2008-12-01.
any sugestions?

best regards
jan viehweger</description>
		<content:encoded><![CDATA[<p>hi wade,</p>
<p>cool news! i&#8217;ve tried your sample code but i just get an the following error:</p>
<p>faultCode:Client.Error.DeliveryInDoubt<br />
faultString:&#8217;Channel disconnected&#8217;<br />
faultDetail:&#8217;Channel disconnected before an acknowledgement was received&#8217;</p>
<p>i use the &#8220;latest&#8221; zend framework 1.7.1. &#8220;full&#8221; from  2008-12-01.<br />
any sugestions?</p>
<p>best regards<br />
jan viehweger</p>
]]></content:encoded>
	</item>
</channel>
</rss>
