XSerializer icon indicating copy to clipboard operation
XSerializer copied to clipboard

Unable to deserialize List

Open marcoregueira opened this issue 5 years ago • 1 comments

Hi

I'm trying to deserialize an object serialized with the default xml serializer

In short, when serializing a list, standard serializer generates this XML

<?xml version=\"1.0\" encoding=\"utf-8\"?><ArrayOfString xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" />

but XSerializer generates

<?xml version=\"1.0\" encoding=\"utf-8\"?><ListOfString xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" />

and is unable to deserialize the former.

I'm not really concerned about the generated XML, but not being able to read the "standard" document is problem in mixed projects.

BTW, is this project alive?

Thanks Marco

marcoregueira avatar Jan 21 '20 12:01 marcoregueira