This project is read-only.
1
Vote

problem with type byte [] in plist

description

hello ,

when i try to add byte array to plist in Windows phone

exmaple
byte [] a=new byte[4]{20,25,25,25};

data.Add("element",a);

the result is like this

<key>element</key>
<string>Mkdaz</string>

but normely it should be like this :

<key>element</key>
<data>Mkdaz</data>


so i need to fix the code source
can anyone show me where i should look

comments

FeydRauth wrote Jun 30, 2013 at 12:33 AM

Thanks for reporting that.
Fixed with a changeset #27583.

Please verify and close this issue.

Cheers,
Pawel

kais0051 wrote Jul 3, 2013 at 12:32 PM

you the best
just one thing in your patch try to uncomment this line
writer.WriteAttributeString("version", "1.0");

otherwise it will raise a exception

thanks dude

FeydRauth wrote Jul 5, 2013 at 1:18 PM

What is your exact problem with the 'version' attribute in XML?
It doesn't throw any exceptions, when the program is running on Windows Phone emulator.

Do you have any case, when it does? Let me know then, how to reproduce it.

Cheers,
Pawel