siuying/xmlwise — Issue #2: Fails to read my Plist
Author: danielkramer
Created: 2011-12-13 15:16:54+00:00
State: open

I have a Plist generated from my iphone game (using objective C serialization to generate the Plist) and it fails to read it. I'm porting my game to Android. Here's the error:

12-13 07:08:15.499: W/System.err(336): com.lonelystarsoftware.skywords.xmlWise.XmlParseException: Unexpected number of elements of type dict in element
12-13 07:08:15.506: W/System.err(336):	at com.lonelystarsoftware.skywords.xmlWise.XmlElement.getUnique(XmlElement.java:87)
12-13 07:08:15.506: W/System.err(336):	at com.lonelystarsoftware.skywords.xmlWise.Plist.parse(Plist.java:291)
12-13 07:08:15.506: W/System.err(336):	at com.lonelystarsoftware.skywords.xmlWise.Plist.fromXml(Plist.java:153)

col
2
justPlayed
0
letter
M
row
4
trayMember
0

col
2
justPlayed
1
letter
O
row
5
trayMember
0

col
2
justPlayed
1
letter
L
row
6
trayMember
0

col
2
justPlayed
1
letter
D
row
7
trayMember
0

col
2
justPlayed
1
letter
Y
row
8
trayMember
0

col
3
justPlayed
0
letter
E
row
4
trayMember
0

col
4
justPlayed
0
letter
N
row
4
trayMember
0

col
5
justPlayed
0
letter
U
row
4
trayMember
0

col
6
justPlayed
0
letter
Y
row
1
trayMember
0

col
6
justPlayed
0
letter
G
row
1
trayMember
0

col
6
justPlayed
0
letter
B
row
1
trayMember
0

col
6
justPlayed
0
letter
L
row
1
trayMember
0

col
6
justPlayed
0
letter
Z
row
1
trayMember
0

col
6
justPlayed
0
letter
A
row
2
trayMember
0

col
6
justPlayed
0
letter
M
row
3
trayMember
0

col
6
justPlayed
0
letter
P
row
3
trayMember
0

col
6
justPlayed
0
letter
S
row
4
trayMember
0

col
7
justPlayed
0
letter
U
row
1
trayMember
0

col
7
justPlayed
0
letter
I
row
1
trayMember
0

col
7
justPlayed
0
letter
A
row
1
trayMember
0

col
8
justPlayed
0
letter
T
row
1
trayMember
0

col
8
justPlayed
0
letter
P
row
1
trayMember
0