Use plural form of name when using collection

When an element can occur multiple times, the generator creates a collection, but the name of the field/property is not changed. It should take a plural form (adding an s). Suggestions : CodeExten...

Id #17597 | Release: None | Updated: Jan 15 at 6:30 PM by flonou | Created: Jan 15 at 6:30 PM by flonou

Can't have multiple types with custom collection object type

When selecting "DefinedType" and setting a collection base class, the generator only creates a collection class for one of the types. Looking at the code, I believe this bug comes from CodeExtensi...

Id #17596 | Release: None | Updated: Jan 15 at 6:21 PM by flonou | Created: Jan 15 at 6:21 PM by flonou

cannot serialize a derived type

I have an xsd type A referencing an xsd type B that is extended by several other types (B1, B2, B3, etc.). After generating the corresponding cs-files (each being in dedicated namspace) I initiate...

Id #17571 | Release: None | Updated: Nov 12, 2015 at 1:41 PM by suleymancaglar | Created: Nov 12, 2015 at 1:41 PM by suleymancaglar

Element Order and Mandatory elements - not generating corresponding DataMemberAttribute values

Using latest xsd2Code with Visual Stiudio 2012, I cannot get the code generation to give me the corresponding DataMemberAttribute values. For example, I would like the first (Mandatory) element i...

Id #17561 | Release: None | Updated: Oct 15, 2015 at 2:47 PM by Beaniebob | Created: Oct 15, 2015 at 2:47 PM by Beaniebob

Generating classes in separate files

I am perfectly with xsd2code++ but I am facing one issue .How Can I generate multiple classes in separate c# files .Right now all the classes are generated in a single file and it sometimes looks ...

Id #17554 | Release: None | Updated: Oct 7, 2015 at 8:45 PM by varunoptym | Created: Oct 7, 2015 at 8:45 PM by varunoptym

annotations are only emitted to C# when they are for XSD attributes, not for elements, types etc.

See this gist: https://gist.github.com/jpluimers/4247df4e0aa01c1c190a and this blog post: http://wiert.me/2015/07/22/example-of-xsd2code-only-handling-xsd-annotations-for-attributes-not-for-elemen...

Id #17483 | Release: None | Updated: Jul 23, 2015 at 7:23 PM by jeroenp | Created: Jul 23, 2015 at 7:23 PM by jeroenp

Ability to set GenerateOrderXmlAttributes=false via command-line

It appears as though the /xa command line options allows you to turn generation of XML attributes on/off, but if they are on, the Order element is always included. If running via Visual studio int...

Id #17348 | Release: None | Updated: Feb 5, 2015 at 8:40 PM by bullit77 | Created: Feb 5, 2015 at 8:40 PM by bullit77

Rewrite XML file

Hi I load data from the XML file to a object and want to save changes in that XML file. What is the best way to rewrite the XML file after make changes in object (not to add). thanks

Id #17340 | Release: None | Updated: Feb 1, 2015 at 8:40 AM by mohammad_nazari | Created: Feb 1, 2015 at 8:40 AM by mohammad_nazari

Byte Order Marker - UTF8 Encoding failure

When generating serialization methods, the SaveToFile method always uses encoding.UTF8 which is wrong. This property is a static property of the base Encoding class and you can not change the BOM ...

Id #17295 | Release: None | Updated: Dec 22, 2014 at 1:38 PM by netniv | Created: Dec 22, 2014 at 1:38 PM by netniv

nullable enum issue

I have the following external public xsd protocol: <xs:element name="FrequencyCode" type="FrequencyCodeType" minOccurs="0"></xs:element> <xs:simpleType name="FrequencyCodeType"> <xs:restricti...

Id #17250 | Release: None | Updated: Dec 11, 2014 at 4:18 PM by panal | Created: Dec 11, 2014 at 4:15 PM by panal