Serialialization methods are unnecessary generated in inheriting classes

Hi all, I really like the tool and have used it successfully for a C# project. I have a point of feedback regarding the tool xsd2Code, that could possibly be interesting to improve the tool even ...

Id #17642 | Release: None | Updated: Apr 7 at 2:15 PM by JallyBel | Created: Apr 7 at 2:15 PM by JallyBel

Setters are generated for fixed elements

The following schema: <xs:element name="user" type="xs:string" fixed="A" minOccurs="1" maxOccurs="1"/> Results in the following generated code: private string userField; ... this.userField = "A"; ...

Id #17636 | Release: None | Updated: Mar 29 at 12:35 PM by OliverCole | Created: Mar 29 at 12:35 PM by OliverCole

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 5:30 PM by flonou | Created: Jan 15 at 5: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 5:21 PM by flonou | Created: Jan 15 at 5: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 12:41 PM by suleymancaglar | Created: Nov 12, 2015 at 12: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 1:47 PM by Beaniebob | Created: Oct 15, 2015 at 1: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: Feb 13 at 11:36 PM by LeyDaniel | Created: Oct 7, 2015 at 7: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 6:23 PM by jeroenp | Created: Jul 23, 2015 at 6: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 7:40 PM by bullit77 | Created: Feb 5, 2015 at 7: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 7:40 AM by mohammad_nazari | Created: Feb 1, 2015 at 7:40 AM by mohammad_nazari