title: Byte array is not working in JAXB classes
body: <p>I am trying to use byte array like this (JAXB class). However, I am getting all 0s in the msg field even though I pass valid characters. The "id" and "myid" fields are parsed successfully and it is failing for the byte array field.</p>
  
  <pre>
  @XmlRootElement(name = "testMessage")
  @XmlAccessorType(XmlAccessType.FIELD)
  public class TestMessage
  {
      @XmlAttribute
      private Integer id;
  
      @XmlElement(name = "myid")
      private Long myid;
  
      @XmlElement(name = "msg")
      private byte[] msg;
  }
  </pre>