Skip to content

xsdgen problem with string #153

@jgoodall

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.

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