[stable since 2013] a lib for loading XML Schema Definition (XSD) files ➜ plus, a tool `makepkg` to code-generate from any *.xsd your Go package with all needed `struct`s to readily `xml.Unmarshal()` documents into, based on the XSD's schema definitions. NOT REALLY MAINTAINED FOR YEARS NOW: try the forks if running into issues.
In some situations, it is desirable to allow loading a schema from something else than the supported URIs.
For example, a program could have XSD definitions built in, so they don't have to be fetched from a file or the internet.
Please make loadSchema(r io.Reader, loadUri, localPath string) in xsd-schema.go public or add a new constructor that allows passing in a map of readers for the included schemas.
In some situations, it is desirable to allow loading a schema from something else than the supported URIs.
For example, a program could have XSD definitions built in, so they don't have to be fetched from a file or the internet.
Please make
loadSchema(r io.Reader, loadUri, localPath string)
inxsd-schema.go
public or add a new constructor that allows passing in a map of readers for the included schemas.