title: @xmlschema jaxb package-info.java compilation error
body: <p>I'm trying to use annotations at package level but I get compilation erros from Eclipse.</p>
  
  <p>I have a class <code>Head</code> with the following package/annotation:</p>
  
  <pre><code> @javax.xml.bind.annotation.XmlSchema (
      xmlns = { 
        @javax.xml.bind.annotation.XmlNs(prefix = "com", 
                   namespaceURI="http://es.indra.transporte.common"),
        @javax.xml.bind.annotation.XmlNs( namespaceURI="http://www.w3.org/2001/XMLSchema")          
      },
      namespace = "http://es.indra.transporte.common", 
      elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED,
      attributeFormDefault = javax.xml.bind.annotation.XmlNsForm.UNQUALIFIED
    )  
  package es.indra.transporte.central.thalesinterface.common.beans;
  </code></pre>
  
  <p>I have created a <code>package-info.java</code> in <code>es.indra.transporte.central.thalesinterface.common.beans</code> folder with the above code but I'm still getting the compilation error </p>
  
  <blockquote>
    <p>Package annotations must be in file <code>package-info.java</code></p>
  </blockquote>
  
  <p>in <code>Head</code> class. I'm using jdk6.</p>