Annotation UnmarshalXML EOF Error
ianlopshire opened this issue · comments
Ian Lopshire commented
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>