gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] server/asobj/xml.*


From: Hong Yu
Subject: Re: [Gnash-dev] server/asobj/xml.*
Date: Mon, 10 Mar 2008 18:34:12 +0800
User-agent: Thunderbird 2.0.0.12 (X11/20080213)


Thanks for your suggestions! Attached is the decomposed action-scripts code for YouTube homepage: active_sharing.swf. But it has to be run with mozilla browser and gnash-plugin to have valid internet connection.

We have traced that, the data '<thumbnail_url>http://i.ytimg.com</thumbnail_url>' in the downloaded XML string, will be assigned to structure 'info', and the url value was then used by MovieClipLoader::loadClip() during the action script call 'loadThumbImg()'. So far our guess is that structure 'info' did not get the correct string value assigned.

We also doubt about the differences between ARM and x86 environments, but not clear of any detail so far.

Best regards,

Hong Yu



strk wrote:
On Mon, Mar 10, 2008 at 06:09:32PM +0800, Hong Yu wrote:
Thanks for your suggestions! In our case, so far this only happened on ARM, and pretty OK for x86. For the build on ARM, we traced that both XML and XMLNode could download and store the correct data, but something wrong happened when fetching data from XML string.

What do you mean by 'fetching data from XML string' ?
Which ActionScript code ?
Take a look at testsuite/actionscript.all/XML.as.
The only (big) limit of that test is that it doesn't test http download.

Taking the specific example of YouTube homepage, the execution of action-scripts seemed not able to preserve the URL value of XML node 'thumbnail_url' from downloaded XML string. Therefore we wonder if anyone could suggest at which point in the source could we trace further, e.g. about the encoding etc. ? Thanks!

The work horse is server/asobj/xml.cpp

--strk;


Attachment: active_sharing.decompose.tar.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]