xgen
xgen copied to clipboard
XSD (XML Schema Definition) parser and Go/C/Java/Rust/TypeScript code generator
**Description** Under certain conditions, some of the choices in an xs:choice do not get generated. In the enclosed example, there is on a6 field in the generated go code. This...
 such as this, the `CurrentTerritoryCode` is base in namespace `avs:CurrentTerritoryCode`, but the CurrentTerritoryCode in avs is:  the gen go code is:  is it incorrect?
**Is your feature request related to a problem? Please describe.** When creating code from the NeTEx XSD, I end up with a single Go file which does not encompass the...
**Description** Note: I'm only interested in TypeScript, so I didn't test any other languages. When generating code for TS and there's an enum type (enumeration) it could have illegal characters,...
Looking at the map from XSD types to language-specific types in `utils.go`, it seems there are a number of problems with the non-Go languages: * `char` is used frequently in...
**Description** Generating a binding for an XML Schema containing `xsd:integer` will result in `int`. This is an error since `xsd:integer` is unbounded while the Go type `int` is a 32-bit...
**Description** Hello 👋 First of all, thank you for this library! I'm new to XSD files. I'm having issues using `xgen` to generate for NORID's EPP `.xsd` files. They are...
Hello! I'm trying to generate Go code based on the [BPMN](https://www.omg.org/spec/BPMN/2.0/About-BPMN) schemas (they can be found in the previous link - `BPMN20.xsd` being the main one). Here is the generated...
**Description** I stumbled upon this bug because some simple types were missing from my output. The opt.Element stack sometimes contains elements which have already been processed by the parser. This...
**Description** Xgen is creating a Go type for a element but the type was not used. The xsd used is this one: [e400101_v1.00.xsd.zip](https://github.com/xuri/xgen/files/4643537/e400101_v1.00.xsd.zip) **Steps** ```sh $ go get -u github.com/xuri/xgen...