title: '&' is not a valid value of the atomic type 'xs:Name'
body: <p>whenever i am giving any special character to a variable, it throws below error.
  element Type: Schemas validity error : Element Type': '&amp;' is not a valid value of the atomic type 'xs:Name'.</p>
  
  <p>It accepts only colon (:).</p>
  
  <p>Below is my schema.</p>
  
  <pre><code>  &lt;element name="measCollecFile"&gt;
      &lt;complexType&gt;
        &lt;sequence&gt;
         &lt;choice&gt;
          &lt;element name="Types"&gt;
              &lt;simpleType&gt;
                  &lt;list itemType="Name"/&gt;
                     &lt;/simpleType&gt;
                        &lt;/element&gt;
                        &lt;element name="Type"
                                 minOccurs="0" maxOccurs="unbounded"&gt;
                          &lt;complexType&gt;
                            &lt;simpleContent&gt;
                              &lt;extension base="Name"&gt;
                                &lt;attribute name="p"
                                           type="positiveInteger" use="required"/&gt;
                              &lt;/extension&gt;
                            &lt;/simpleContent&gt;
                          &lt;/complexType&gt;
          &lt;/element&gt;
          &lt;/choice&gt;
      &lt;/sequence&gt;
      &lt;/complexType&gt;
  &lt;/element&gt;
  </code></pre>
  
  <p>Can anyone help me for finding from where this error is coming and how to get rid of it..</p>