Old 10th July 2016, 22:23   #1
Major Dude
ariszlo's Avatar
Join Date: Jun 2015
Location: Hungary
Posts: 697
Fixing asynchronous entity errors

Some long-abandoned old skins throw asynchronous entity errors when you switch to them. Such errors are caused by unclosed tags. Take e.g. the Noinc skin which throws the following error message:

error parsing xml layer
asynchronous entity at line 320

The line with the asynchronous entity is often the last line of an xml file. To fix the error, open the xml file with 320 lines in a text editor (preferably one that can show line numbers) and try to find the unclosed tag. Tags that end in /> are self-closing, so you need to find a tag that starts a unit like this:


but does not end the unit like this:


In Noinc, xml/player.xml has 320 lines and the <container...> tag immediately preceding the <layout...> tag does not have a corresponding </container> tag after the </layout> tag. So what you need to do is add a </container> tag after the </layout> tag at the end of the file like this:


Compare the xml/player.xml files in Noinc_original.wal and Noinc_fixed.wal.
Attached Thumbnails
Click image for larger version

Name:	Noinc_asynchronous_entity.png
Views:	288
Size:	3.6 KB
ID:	52452  
Attached Files
File Type: zip Noinc.zip (740.7 KB, 254 views)

Ariszló @ WinCustomize & DeviantArt
ariszlo is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Skinning and Design > Modern Skins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump