Skip to content
This repository was archived by the owner on Jun 23, 2024. It is now read-only.
This repository was archived by the owner on Jun 23, 2024. It is now read-only.

Undefined has attribute error. #34

@stephendparker

Description

@stephendparker

Great library - thanks for the work! When I try to generate a go file from an XSD, I get a error compiling the file:

assets\model\items.xsd_go\items.xsd.go:430: undefined: XsdGoPkgHasAttr_Uniquename

on this code block generated:


type XsdGoPkgHasAtts_ItemBase struct {
	XsdGoPkgHasAttr_Uniquename

	XsdGoPkgHasAttr_Tier_Ttiernumber_

	XsdGoPkgHasAttr_Unlockedtocraft_XsdtBoolean_False

	XsdGoPkgHasAttr_Foodcategory

}

XSD file:
https://www.dropbox.com/s/6lwj4maomah7pn0/items.xsd?dl=0
GO file:
https://www.dropbox.com/s/lqy97t53tmxwvir/items.xsd.go?dl=0
XML file:
https://www.dropbox.com/s/zcqdvrypmv9jflz/items.xml?dl=0

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