title: Unmarshalling works incorrectly: javax.xml.bind.UnmarshalException: unexpected element
body: <p>Got an exception </p>
  
  <pre><code>javax.xml.bind.UnmarshalException: unexpected element 
  (uri:"", local:"ConnectorCommandType")
  </code></pre>
  
  <p>trying to unmarshall xml, shown below:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt; 
    &lt;ConnectorCommandType&gt; ........ &lt;/ConnectorCommandType&gt;
  </code></pre>
  
  <p>The exception basically says that element  is not found in jaxb context. But debugging shows that this class is present and known in current jaxb context. The class ConnectorCommandType was generated from xsd xml as <code>&lt;xs:complexType&gt;</code> element. </p>
  
  <p>Could there be an error in the xsd?</p>
  
  <p>Has anyone faced with problem like that? Any suggestions? Thanks.</p>