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

Created Issue: xs:integer will become a string in some cases. [15554]

When a type is referenced it will not use the correct type. In my example i expect the year month and day properties to be of type int.

View Article


New Post: Xsd Element name classes not generated from xsd

I am trying to generate c# classes from the below xsd. But the element name classes are not getting generated. Below is a tailored version of the xsd file  Note that TestType and AbstractTestType...

View Article


Created Issue: PascalCase and XmlArrayItemAttribute [15567]

Thanks for the PascalCase feature in 3.5 beta. It's really useful.I found a problem when using PascalCase with XmlArray. Given the following XML:message> <actionseg>...

View Article

Source code checked in, #95553

Add new method to compile generated code in test unit

View Article

Source code checked in, #95554

.

View Article


Created Issue: DebuggerStepThrough [15606]

The DebuggerStepThrough attribute seems to be getting applied incorrectly in 3.5.3 (95554)The help text states:/dbg[+] - Enable debug step through/dbg- - Disable debug step through (default)Yet if you...

View Article

Created Issue: Automatic properties result in incorrect element order [15607]

When using the automatic properties switch, the properties aren't generated in the correct order which results in invalid xml. I have attached a patch that will turn on element ordering if either...

View Article

Commented Issue: Ordering of XML-elements [10506]

Hi!In an XSD, it is possible to request a specific sequence of elements using <xs:sequence> Relying on the order of the elements in the generated code (as in issue #9023) is quite brittle, since...

View Article


Commented Issue: Automatic collection props result in incorrect field order...

Because the object walker handles collections/arrays differently, the collections are always at the end of the generated class definitions. When using the serializer to this definition, the object is...

View Article


Commented Issue: xs:choice nested in xs:sequence throws exception [14767]

If a xs:choice is nested in a xs:sequence running the generated code throws an exception like:Type of choice identifier 'Items1ElementName' is inconsistent with type of 'Items1'. Please use array of...

View Article

Commented Issue: Issue with XmlChoiceIdentifier and enums [9877]

Hello,I use the last version (3.0) and I have some big issues while creating XmlSerializer with classes generated from NewsML-G2 xsd files. http://www.iptc.org/std/NewsML-G2/NewsML-G2_2.4.zipDuring the...

View Article

Commented Issue: StackOverflowException for Recursive Element [7419]

This was reported as fixed, but it still happens in 2.8.1.Here is a snippet from the schema: <xsd:complexType name = "LocationType"> <xsd:sequence> <xsd:element name = "EquipmentID"...

View Article

New Post: StackOverflowException when using generated code

This is the only way that I have been able to get around this problem. http://xsd2code.codeplex.com/workitem/7419  

View Article


Commented Issue: PascalCase and XmlArrayItemAttribute [15567]

Thanks for the PascalCase feature in 3.5 beta. It's really useful.I found a problem when using PascalCase with XmlArray. Given the following XML:message> <actionseg>...

View Article

Commented Issue: xs:choice nested in xs:sequence throws exception [14767]

If a xs:choice is nested in a xs:sequence running the generated code throws an exception like:Type of choice identifier 'Items1ElementName' is inconsistent with type of 'Items1'. Please use array of...

View Article


Commented Issue: xs:choice nested in xs:sequence throws exception [14767]

If a xs:choice is nested in a xs:sequence running the generated code throws an exception like:Type of choice identifier 'Items1ElementName' is inconsistent with type of 'Items1'. Please use array of...

View Article

Source code checked in, #96132

Checked in by server upgrade

View Article


Source code checked in, #96133

Upgrade: New Version of LabDefaultTemplate.xaml. To upgrade your build definitions, please visit the following link: http://go.microsoft.com/fwlink/?LinkId=254563

View Article

Commented Issue: Nested Attribute Groups [10188]

<p>When a schema contains an attributeGroup that contains within it a reference to another attributeGroup, only the top-level attributeGroup's attributes are processed. No code is being generated...

View Article

New Post: restriction support?

Hi Craig i have a similar problem, i have a pattern   <xsd:simpleType name="FinancialAmt">    <xsd:restriction base="xsd:string">      <xsd:pattern value="[0-9.\-]{0,18}" />...

View Article
Browsing all 543 articles
Browse latest View live


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