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).
Id #17597 | Release:
| Updated: Jan 15 at 6:30 PM by flonou | Created: Jan 15 at 6:30 PM by flonou
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:
| Updated: Jan 15 at 6:21 PM by flonou | Created: Jan 15 at 6:21 PM by flonou
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:
| Updated: Nov 12, 2015 at 1:41 PM by suleymancaglar | Created: Nov 12, 2015 at 1:41 PM by suleymancaglar
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:
| Updated: Oct 15, 2015 at 2:47 PM by Beaniebob | Created: Oct 15, 2015 at 2:47 PM by Beaniebob
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:
| Updated: Oct 7, 2015 at 8:45 PM by varunoptym | Created: Oct 7, 2015 at 8:45 PM by varunoptym
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:
| Updated: Jul 23, 2015 at 7:23 PM by jeroenp | Created: Jul 23, 2015 at 7:23 PM by jeroenp
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:
| Updated: Feb 5, 2015 at 8:40 PM by bullit77 | Created: Feb 5, 2015 at 8:40 PM by bullit77
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).
Id #17340 | Release:
| Updated: Feb 1, 2015 at 8:40 AM by mohammad_nazari | Created: Feb 1, 2015 at 8:40 AM by mohammad_nazari
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:
| Updated: Dec 22, 2014 at 1:38 PM by netniv | Created: Dec 22, 2014 at 1:38 PM by netniv
I have the following external public xsd protocol:
<xs:element name="FrequencyCode" type="FrequencyCodeType" minOccurs="0"></xs:element>
Id #17250 | Release:
| Updated: Dec 11, 2014 at 4:18 PM by panal | Created: Dec 11, 2014 at 4:15 PM by panal