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

Annotation UnmarshalXML EOF Error #48

Closed
ianlopshire opened this issue Nov 8, 2017 · 0 comments
Closed

Annotation UnmarshalXML EOF Error #48

ianlopshire opened this issue Nov 8, 2017 · 0 comments

Comments

@ianlopshire
Copy link
Contributor

If an annotation contains tokens other than documentation an unnecessary io.EOF error can be passed.

Example element:

<xsd:element name="Country_ISO_Code" type="xsd:string" maxOccurs="1">
    <xsd:annotation>
        <xsd:documentation>ISO Code identifying the country where the naming rules for this name are defined.</xsd:documentation>
        <xsd:appinfo>
            <wd:Validation>
                <xsd:documentation>A valid instance of Country must exist for the value of Country ISO Code.</xsd:documentation>
                <wd:Validation_Message>No Country with that Country Code Exists.</wd:Validation_Message>
            </wd:Validation>
        </xsd:appinfo>
    </xsd:annotation>
</xsd:element>
ianlopshire added a commit to ianlopshire/go-xml that referenced this issue Nov 8, 2017
LudmilaSamalova pushed a commit to Deutsche-Boerse/go-xml that referenced this issue Jan 2, 2020
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