Addin.xml parse / processing problem
- Login to post comments
Wed, 07/07/2010 - 09:53
Showed up here....
http://goofans.com/download/level/burningmanrevenge-0
Specifically... In addin.xml (complete file given below)
If the level subtitle element's text attribute contains " GooTool fails to process the file correctly and gives error messages for levels processed after this.
May also apply to other elements / attibutes.
Per my post in that "thread"...
The both WooGLE and the game can handle " in text resources... but it appears GooTool has some problem when processing addin.xml
<!-- Created by WooGLE v0.74 (Beta) -->
<addin spec-version="1.1">
<id>com.goofans.James.BurningManRevenge</id>
<name>BurningManRevenge</name>
<type>level</type>
<version>0.1</version>
<description>See how many goo balls you can get before burning man creams you.</description>
<author>James</author>
<levels>
<level>
<dir>BurningManRevenge</dir>
<name text="BurningManRevenge" />
<subtitle text=""Block Head"" />
<ocd />
</level>
</levels>
</addin>
Nod, confirmed GooTool bug handling XML special characters in level name/subtitle. Fixed in SVN.
An interesting "quirk" has now shown up too...
If you enter " into the box in WooGLE
This gets converted to &quot; in the addin.xml file
GooTool then "mis-processes" the & back to & and puts " in the text.xml
So it's fine!
Anyone who knows HTML will know how difficult that was to type, and get it come out right!