Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xsdgen problem with string #153

Open
jgoodall opened this issue Mar 7, 2024 · 0 comments
Open

xsdgen problem with string #153

jgoodall opened this issue Mar 7, 2024 · 0 comments

Comments

@jgoodall
Copy link

jgoodall commented Mar 7, 2024

I am trying to parse the grobid xsd files using the following command:

xsdgen -pkg grobid -o grobidschema.go ./grobid/grobid-home/schemas/xsd/Grobid.xsd

This results in an issue with the source, but that I am not enough of an xml expert to how to track down:

grobidschema.go:5:13: expected type, found newline in // Code generated by xsdgen. DO NOT EDIT.

package grobid
// Must match the pattern (-?[0-9]+(\.[0-9]+)?,-?[0-9]+(\.[0-9]+)?)
type  string
...

I cant tell if this is an issue in the source or the tool. Any help would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant