xsd2go
xsd2go copied to clipboard
Automatically generate golang xml parser based on XSD
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.24.0 to 0.25.0. Commits d27919b go.mod: update golang.org/x dependencies e0324fc http2: use net.ErrClosed b20cd59 quic: initiate key rotation earlier in connections f95a3b3 html: fix typo in package...
Add "omitempty" for attributes where "use" is empty (as it defaults to "optional" per XSD spec). Add "omitempty" for elements where minOccurs=0 Minor cleanups in the Makefile, add targets to...
Not able to generate structs from xsd. ```bash $ gocomply_xsd2go convert ~/Downloads/patent-document-v2.5\ 2/patent-document.xsd user.com/private ./go-type-from-xsd Processing '/Users/mrkashif/Downloads/patent-document-v2.5 2/patent-document.xsd' Parsing: /Users/mrkashif/Downloads/patent-document-v2.5 2/patent-document.xsd Parsing: /Users/mrkashif/Downloads/patent-document-v2.5 2/citations.xsd Parsing: /Users/mrkashif/Downloads/patent-document-v2.5 2/patent-documents.xsd Parsing: /Users/mrkashif/Downloads/patent-document-v2.5 2/st32-merges.xsd...
I am trying to convert the [Grobid xsd files](https://github.com/kermitt2/grobid/tree/master/grobid-home/schemas/xsd) but I get a panic. Any help appreciated. ``` gocomply_xsd2go convert ./grobid/grobid-home/schemas/xsd/Grobid.xsd github.com/jgoodall/server/pkg/extraction/grobid/schema ./pkg/extraction/grobid/schema Processing './grobid/grobid-home/schemas/xsd/Grobid.xsd' Parsing: ./grobid/grobid-home/schemas/xsd/Grobid.xsd Parsing: grobid/grobid-home/schemas/xsd/xml.xsd Parsing:...
panic: Type xsd:duration not implemented goroutine 1 [running]: github.com/gocomply/xsd2go/pkg/xsd.StaticType(...) /home/alex/go/pkg/mod/github.com/gocomply/[email protected]/pkg/xsd/types.go:293
Tested with the [profile definition](https://github.com/GoComply/xsd2go/files/7854896/AnyConnectProfile.zip) of Cisco AnyConnect Secure Mobility Client Version 4.10.03104. Steps to reproduce: 1. `~/go/bin/gocomply_xsd2go convert AnyConnectProfile.xsd xsd .` generates `./ns1/models.go` 2. (e.g.) struct `ClientInitialization` is empty...
Relates to #42.
Seems it's currently not implemented.
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.24.0 to 0.27.0. Commits e2310ae go.mod: update golang.org/x dependencies 77708f7 quic: skip tests which depend on unimplemented UDP functions on Plan 9 9617c63 http2: avoid Transport hang...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 5 to 6. Release notes Sourced from goreleaser/goreleaser-action's releases. v6.0.0 [!WARNING] This is a breaking change! Follow the instructions here to upgrade! What's Changed feat!: use "~>...