Quantcast
Channel: xsd2Code community edition .net class generator from XSD schema
Viewing all articles
Browse latest Browse all 543

Commented Issue: Silverlight generation doesn't create necessary serialization attributes [14052]

$
0
0
Silverlight generation creates serialization attributes for collections, but not elements or attributes. If a collection element and a non-collection element appear in a sequence, each element needs an Order parameter defined. The collection gets [System.Xml.Serialization.XmlArrayAttribute(Order = 0)] but then the next element does not and serialization fails. I currently work around this by generating for .NET 4.0 and removing anything Silverlight can't handle (SerializableAttribute and DesignerCategoryAttribute for each class).
Comments: ** Comment from web user: TwoStick **

I have a fix for this, although I'm not entirely sure how to go about the process around submitting my code change and linking it to an issue # etc.


Viewing all articles
Browse latest Browse all 543

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>