I am getting this error whenever I try to add the type for goal as "xs: string". I am not sure what the issue is. If I remove the type the XSD is valid, I need it to have the string type, however, when I add it I get the following error:
cvc-type.3.1.1: Element 'goal' is a simple type, so it cannot have attributes, excepting those whose namespace name is identical to 'http://www.w3.org/2001/XMLSchema-instance' and whose [local name] is one of 'type', 'nil', 'schemaLocation' or 'noNamespaceSchemaLocation'. However, the attribute, 'type' was found.
Is there another way I can still add the type "xs:string"
?
<xs:complexType>
<xs:sequence>
<xs:element name="goal" type="xs:string" maxOccurs="unbounded">
</xs:element>
</xs:sequence>