go-xsd icon indicating copy to clipboard operation
go-xsd copied to clipboard

Make loadSchema(io.Reader....) public

Open onitake opened this issue 8 years ago • 0 comments

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.

onitake avatar Jun 22 '17 06:06 onitake