title: Error when trying to add type="xs:string" in XSD
body: <p>I am getting this error whenever I try to add the type for goal as &quot;xs: string&quot;. 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:</p>
  <p>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.</p>
  <p>Is there another way I can still add the type <code>&quot;xs:string&quot;</code>?</p>
  <pre><code>   &lt;xs:complexType&gt;
                    &lt;xs:sequence&gt;
                      &lt;xs:element  name=&quot;goal&quot; type=&quot;xs:string&quot; maxOccurs=&quot;unbounded&quot;&gt;
                      &lt;/xs:element&gt;
                    &lt;/xs:sequence&gt;
                
  </code></pre>