v0.1.0
Changelog
2647ea1 Add strict assertion to the element compilation
b281efc Address unfortunate case when Attribute name overrides element name
b7d2115 Adjust error message
5c83d7a Adjust variable names, so this does not wake me up at nights
a380eb3 Amend exemplary usage to reflect the need to have all the files around
b0652a3 Assert that element defines either complexType or refType
a687cd8 Assume that simpleType is always just string
998824b Attempt to export sub-elements of the complexTypes
18dcb6d Avoid double space in the output
2ede605 Avoid exporting empty go code
ffdcd89 Bugfix - remove duplicate compiling for xsd:elements within xsd:element/xsd:complexType
143b446 Bundle types.tmpl file
7cdb822 Camelize name of elements listed in the xsd:schema
c54be59 Change order of elements within xsd:extension
d998058 Collect attributes from extended type
ce7fe01 Collect xsd:element's from xsd:choice's
101ee31 Compilation should be common method in Type interface
ef69216 Compile also elements withing complexType / sequence
a4d3b73 Consider element to be scalar when xsd:element is missing any further info
334f4c6 Convert references (like xml:lang) to sensible Go variable name
22d4c68 Do not allow '-' character in golang package names
0972456 Do not use pointer reference, when optional element is of GoType string
8ee2914 Do not use xmlns prefix as the filename for generated files
0ff2aad Document which xmlns was used to generate golang models
f057558 Drop PrimarySchema variable
c37c783 Drop unnecessary blank lines within go imports
d53d15a Each element should come with pre-generated XMLName head element
bf41cca Elemements with unbounded maxOccurs should be parsed into a list
4beffaa Empty maxOccurs defaults to 1 in XSD standard
e0d0c1e Export element's attributes from any typ
f501c5c Extension based on simple or static type includes parseable text
9836615 Extension shall include also elements from the extended type
190a092 Figure out GoName of referenced xsd:elements
3c8a473 First naive implementation of xsd elements containing other elements
9d46e69 Fix []Attribute initialization, do not setup copy, but the original
87a3690 Fix accidental typo
d3e2069 Fix broken panicing
ca7996f Fix default cardinality for elements within xsd:choice
56fdf1b Fix segmentation fault
77bfd7c Fix the XmlName method for the indirect/referenced elements
ad454e1 Fix the schema import, do not initiate the copy but the original
d044607 Fix: xsd:decimal can actually have floating point
b328fab Generate also xml parsing hints of the complexType
dd1e2ea Generate golang code for all schemas, even imports of imports of imports
efa1f3f Generated code shall import encoding/xml
9247da6 Get a rid of Element's refType
16d1e16 Get a rid of metaschema left-overs
7b913db Guess the golang package name from xsd filename, when xmlnsPrefix is empty
81043bf Handle type references across the various xsd files
b326676 Implement couple of others xml/xsd static types
6344efc Implement dummy static type for cases when someone refers to type "string"
dd1ffb4 Implement query of xmlns uri by prefixes based on parsed header
4556860 Implement xsd:restriction within xsd:complexContent
f3db978 Import dependent schema only when there is schemaLocation set-up
df88bf2 Import go modules by their full name
1144eb7 Import other go modules that are needed
a5c1a17 In case of missing attribute name, use the one from the xsd:attribute/@ref=
e5d8be5 Initial commit
d20f16a Initial commmit and project structure
875d80a Initiate Attributes with the backreference to the the parent schema
f2f23f4 Inject Go package uri to each xsd schema processor
0fdbf39 Introduce GoFieldName to allow for short-hand naming of elements with name clashes
dfc6062 Let's try that goreleaser magic
b58dc9c Link xsd:*types that are included within xsd:simpleContent/xsd:extension
6e4f708 Make an explicit distinction between top-level elements and inlined elements
15c440e Move parser code to the xsd module
3862d1e Move xsd:element validation up to the compile phase
9350718 Optional sub-elements need has to unmarshall to pointer
d52a429 Output attributes of complexTypes to golang
01d0dd6 Output golang code even for imported schemas
ab2ec8b Output in-lined elements to the go package as first class citizens
063c103 Overcomplicate compilation to support workaround name clashes of inlined elements
c942570 Parse xsd:simpleContent within xsd:complexType
ffb81bb Print out which files are being generated
f38a6d4 Process attribute elements under xsd:complexType/xsd:simpleContent
d6dada7 Process xsd:choice direct child of xsd:complexType
3e58783 Process xsd:element tags
afc2fb6 Propagate arrays from xsd:choice to children xsd:element's
98f4ace Propagate backlink to xsd:schema to each and every xsd:element
c19da1b Refactor: Extract method: Attributes
3983b21 Refactor: Extract method: Attributes()
ad78bc5 Refactor: Extract method: Elements()
faa7090 Refactor: Extract method: GoTypeName
f0b0252 Refactor: Extract method: StaticType
7cbda4a Refactor: Extract method: XmlName
f8faf65 Refactor: Extract method: isArray
b4fd70e Refactor: Extract method: isPlainString()
14e6033 Refactor: Extract method: xmlnsByPrefixInternal
c08ac5b Refactor: Move []Attribute pre-processing out of the getter method
624af6c Refactor: Move xsd:extension to separate file
72b039b Refactor: Move xsd:sequence processing to separate file
b06131c Refactor: Publicize ImportedSchema instance variable
1935fd9 Refactor: Rename file
1fbc849 Refactor: Rename variable
8d856a8 Refactor: move attribute names name clash code down to the complexType
c87e23c Refactor: move file opening down to the xsd module
fdc8dc8 Refactor: move simpleContent to a separate file
1da2a26 Refer to foreign symbol correctly, in case the symbol comes from foreign module
8e31384 Register imported modules
3d3942e Resolve attribute references
657f9d6 Resolve xsd:element to xsd:element references internally
da7dcd6 Resolve xsd:extension reference and assert sanity
82ce1be Rework duplicates handling
bc972e7 Rework loading of xsd schema and its imports
bd5158a Search for xmlns within imported schemas
1fbdab6 Search through importedModules to find correct xmlns
de3e50b Shameful monkey patch to avoid DataStream and XmlDSig name clash
51d7682 Show elements included by complexType
8c50f07 Skeleton for parsing ,chardata within complexTypes
01e199a Skip export of xsd:complexType that shares the name as existing xsd:element
6007c0d Sort list of imports, so our generated files are stable
3eff5ce Start parsing ,chardata within xsd:elements
ba46981 Start parsing and compiling xsd:choice
3d425f5 Start parsing complextType and attribute elements
7901eee Start parsing imported schemas (xsd depedencies)
e651948 Start parsing xsd:complexContent elements
2e505a7 Start parsing xsd:element to xsd:element references
e18acb2 Start parsing xsd:import elements
fc46b26 Start processing xsd:complexContent/xsd:attribute
d48e80b Start processing xsd:complexContent/xsd:element
af41cdd Start producing ,innerxml parsing hint for mixed complexTypes
c3fadd4 Start resolving ComplexTypes
a46bb14 Start supporting xsd:simpleType along the xsd:complexType
8f73e45 Struct items in the gocode should be camelized
5674005 Support xsd:string as refType
e9aa4a8 Update a readme
9d1bf39 Use GoFieldName consistently
30cd89e Use consistent type names
d157e3b Use custom code to parse xmlns:... elements
579ad5c Use xmlns prefix defined in xsd as the name of the module
ad8f19b We need go array, when maxOccurs is a number greater that 1
c03bdc5 When elements contains simple type, we can use string for unmarsharing
0ca65f3 XML Elements that refer to xsd:complexTypes needs to be handled specially
9515f8a export complexTypes to the golang code
2abce5d xccdf:Benchmark can have both 'Id' and 'id' attribute