ruffle icon indicating copy to clipboard operation
ruffle copied to clipboard

Angry Birds Refresh - XML Parser Failure: element is malformed

Open Fancy2209 opened this issue 1 year ago • 4 comments

Describe the bug

Angry Birds Refresh fails with

Got "TypeError: Error #1090: XML parser failure: element is malformed.
	at XML/XML::init()
	at XML()
	at com.rovio.factory::XMLFactory$/fromOctetStreamClass()
	at AngryBirdsFacebook/getUIData()
	at AngryBirdsBase()
	at AngryBirdsFacebook()
	at AngryBirdsFacebookCanvas/func2()
	at AngryBirdsFacebookCanvas/init()
	at AngryBirdsFacebookCanvas()" when constructing AVM2 side of movie clip of type AngryBirdsFacebookCanvas

Expected behavior

I'd see the Loading Screen and a Discord Login Popup would show up.

Content Location

https://refresh.teamflashcord.com/

Affected platform

Browser's extension

Operating system

Windows 11

Browser

Mozilla Firefox 127.0.0.1

Additional information

No response

Fancy2209 avatar Jun 24 '24 13:06 Fancy2209

The problem is this invalid piece of XML:

    <PopupView_Embed name="EmbedLevel" fromLibrary="True"
      overlay="True" width="1024" height="768" alignH="CENTER" alignV="CENTER">
    </PopupView_Embed scaleH="UP" scaleV="UP" aspectRatioFixed="TRUE" >

Note the unexpected attributes in the closing tag.

evilpie avatar Jun 30 '24 17:06 evilpie

An update will be pushed soon to fix this: image Should this issue be kept open? Also, there's another issue happening during loading where the game doesn't get its login data through ExternalInterface, should I open an issue for that too?

ultra0000 avatar Jun 30 '24 18:06 ultra0000

We can keep this open until we accept this bad syntax in Ruffle. Please open a new issue for the new ExternalInterface issue.

evilpie avatar Jun 30 '24 18:06 evilpie

We can keep this open until we accept this bad syntax in Ruffle. Please open a new issue for the new ExternalInterface issue.

#16942 was opened for this issue

Fancy2209 avatar Jun 30 '24 19:06 Fancy2209