I was using this library for a project where I had to implement the Apple MDM
process. In this process it is common to bundle some payloads together and in
that case the main element of a Plist is an array and not a dictionary. I ran
into problems there...
According to the DTD (http://www.apple.com/DTDs/PropertyList-1.0.dtd) the
Root-<plist> element can be containing any type of information. The toXml
Method only accepts Map<String, Object> as the data argument, although it uses
the objectToXml method anyway that can parse any element.
So you should change the method signature of Plist.toXml(Map<String, Object>
data) to Plist.toXml(Object data)
Original issue reported on code.google.com by klaus.za...@gmail.com on 22 Sep 2011 at 7:22
Original issue reported on code.google.com by
klaus.za...@gmail.com
on 22 Sep 2011 at 7:22