title: (XML - XSD) validation failed when Tags are swapped inside Main Tag
body: <p>I have an XML file and an XSD file to validate. </p>
  
  <p><strong>XML File:</strong></p>
  
  <pre><code>&lt;UC4Execution&gt;
          &lt;Script&gt;JOB_NAME&lt;/Script&gt;
  
          &lt;UC4 Server="UC4.com" Client="123" UserId="123" Password="*****" &gt;
          &lt;/UC4 &gt;
  
  &lt;/UC4Execution&gt;
  </code></pre>
  
  <p>If I bring  first then  down, validation fails.</p>
  
  <p><strong>I want the tags be flexible inside a main Tag. How should i manage / validate it</strong></p>
  
  <p><strong>XSD File :</strong></p>
  
  <pre><code>        &lt;xs:element name="UC4Execution"&gt;
                  &lt;xs:complexType&gt;
                  &lt;xs:sequence&gt;
  
                      &lt;xs:element name="Script" type="xs:string"/&gt;
                      &lt;xs:element name="UC4" minOccurs="0"&gt;
                      &lt;xs:complexType&gt;
                          &lt;xs:attribute name="Server" type="xs:string" use="required"/&gt;
                          &lt;xs:attribute name="Client" type="xs:string" use="required"/&gt;
                          &lt;xs:attribute name="UserId" type="xs:string" use="required"/&gt;
                          &lt;xs:attribute name="Password" type="xs:string" use="required"/&gt;
                      &lt;/xs:complexType&gt;
                      &lt;/xs:element&gt;
  
                  &lt;/xs:sequence&gt;
                  &lt;/xs:complexType&gt;
              &lt;/xs:element&gt;
  </code></pre>
  
  <p>What might be the issue?</p>