Closed jimidle closed 2 years ago
Description
Using the official SVG specification, xgen produces a go file with just the package statement and the generated comment, but shows no errors.
Steps to reproduce the issue:
xgen -i xsd/ -o svg -p svg -l Go
xgen -i xsd/svg.xsd -o jim -p svg -l Go
Describe the results you received:
// Code generated by xgen. DO NOT EDIT. package svg
Describe the results you expected:
Generated types as gleaned from the XSD, or some errors
Output of go version:
go version
go version go1.18 darwin/amd64
xgen version or commit ID:
xgen version: 0.1.0
Environment details (OS, physical, etc.): OSX Version 12.3
Darwin jimi 21.4.0 Darwin Kernel Version 21.4.0: Mon Feb 21 20:34:37 PST 2022; root:xnu-8020.101.4~2/RELEASE_X86_64 x86_64
Sorry for noise, that is the dtd not a xsd. It is too early in the morning ;)
Description
Using the official SVG specification, xgen produces a go file with just the package statement and the generated comment, but shows no errors.
Steps to reproduce the issue:
xgen -i xsd/ -o svg -p svg -l Go
orxgen -i xsd/svg.xsd -o jim -p svg -l Go
(various combinations)Describe the results you received:
Describe the results you expected:
Generated types as gleaned from the XSD, or some errors
Output of
go version
:xgen version or commit ID:
Environment details (OS, physical, etc.): OSX Version 12.3