Skip to content

xsdgen problem with string #153

Description

@jgoodall

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions