title: MOXy @XmlPath ignored
body: <p>I have a very simple class with two fields, String sourceAddress and int port. <br />
  I want them to be mapped on the source/address and source/port nodes instead of 
  the jaxb default sourceAddress and sourcePort. <br />
  So i use MOXy @XmlPath annotation. <br />
  The problem is that the annotation is just ignored and i get the "jaxb default" xml file:</p>
  
  <pre><code>&lt;szk&gt;
      &lt;sourceAddress&gt;test&lt;/sourceAddress&gt;
      &lt;sourcePort&gt;10000&lt;/sourcePort&gt;
  &lt;/sz&gt;
  </code></pre>
  
  <p>thanks in advance for any help
  Agostino</p>
  
  <pre>
  import javax.xml.bind.*;
  import javax.xml.bind.annotation.*;
  import org.eclipse.persistence.jaxb.JAXBContext;
  import org.eclipse.persistence.oxm.annotations.XmlPath;
  
  @XmlRootElement
  @XmlAccessorType(XmlAccessType.FIELD)
  public class SZK {
  
      @XmlPath("source/address")
      private String sourceAddress;
      @XmlPath("source/port")
      private int sourcePort;
  
      public static void main (String [] args) throws JAXBException{
  
          SZK k = new SZK();
          k.sourceAddress = "test";
          k.sourcePort = 10000;
  
          javax.xml.bind.JAXBContext jc = JAXBContext.newInstance(SZK.class);
          Marshaller m = jc.createMarshaller();
          m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
          m.marshal(k, System.out);
  
      }
  
  }
  
  </pre>