title: Does not generate @XMLRootElement jaxb
body: <p>This is my .xsd file </p>
  
  <pre><code>&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;xs:element name="Person" type="PersonType"/&gt;
      &lt;xs:complexType name="PersonType"&gt;
  
          &lt;xs:sequence&gt;
              &lt;xs:element name="Name" type="xs:string"/&gt;
              &lt;xs:element name="Address" type="AddressType" minOccurs="1" maxOccurs="unbounded"/&gt;
          &lt;/xs:sequence&gt;
      &lt;/xs:complexType&gt;
  
      &lt;xs:complexType name="AddressType"&gt;
  
          &lt;xs:sequence&gt;
              &lt;xs:element name="Number" type="xs:unsignedInt"/&gt;
              &lt;xs:element name="Street" type="xs:string"/&gt;
          &lt;/xs:sequence&gt;
      &lt;/xs:complexType&gt;
  </code></pre>
  
  <p></p>
  
  <p>using this XSD file I Generated this class :</p>
  
  <pre><code>package demo5;
  
  import java.util.ArrayList;
  import java.util.List;
  import javax.xml.bind.annotation.XmlAccessType;
  import javax.xml.bind.annotation.XmlAccessorType;
  import javax.xml.bind.annotation.XmlElement;
  import javax.xml.bind.annotation.XmlType;
  
  @XmlAccessorType(XmlAccessType.FIELD)
  @XmlType(name = "PersonType", propOrder = {
    "name",
    "address"
  })
  public class PersonType {
  
  @XmlElement(name = "Name", required = true)
  protected String name;
  @XmlElement(name = "Address", required = true)
  protected List&lt;AddressType&gt; address;
  
  public String getName() {
      return name;
  }
  
  public void setName(String value) {
      this.name = value;
  }
  public List&lt;AddressType&gt; getAddress() {
      if (address == null) {
          address = new ArrayList&lt;AddressType&gt;();
      }
      return this.address;
  }
  
  }
  </code></pre>
  
  <p>but XSD file does not generates the @XMLRootElement in the java file. any one can give a solution for this. I know  can generate the root element but this does not work.</p>