title: Object must have some value in its @XmlValue field
body: <p>I have the following code</p>
  
  <pre><code>@XmlAccessorType(XmlAccessType.FIELD)
  @XmlType(name = "udt_TextType", propOrder = { "value" })
  @XmlSeeAlso({ RoadTypeCodeTypeType.class })
  public class UdtTextType {
  
  @XmlValue
  @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
  @XmlSchemaType(name = "normalizedString")
  protected String value;
  
  /**
   * Gets the value of the value property.
   * 
   * @return possible object is {@link String }
   * 
   */
  public String getValue() {
      return value;
  }
  
  /**
   * Sets the value of the value property.
   * 
   * @param value
   *            allowed object is {@link String }
   * 
   */
  public void setValue(String value) {
      this.value = value;
  }
  </code></pre>
  
  <p>When I try to marshall this object:</p>
  
  <pre><code>@XmlAccessorType(XmlAccessType.FIELD)
  @XmlType(name = "AdresseCompleteType", propOrder = { "inHouseMail", "buildingName", "buildingNumber", "blockName", "roadType",
          "streetName", "postcode", "cityName", "lineFive" })
  public class AdresseCompleteType {
  
      @XmlElement(name = "InHouseMail")
      protected UdtTextType inHouseMail;
      @XmlElement(name = "BuildingName")
      protected UdtTextType buildingName;
      @XmlElement(name = "BuildingNumber")
      protected UdtTextType buildingNumber;
      ...
  </code></pre>
  
  <p>I have the following error:
  Object must have some value in its @XmlValue field</p>
  
  <p>Why do I get this error?</p>
  
  <pre><code>com.sun.xml.internal.bind.api.AccessorException: Object must have some value in its @XmlValue field: fr.company.jaxb.UdtTextType@17f2dd8] at 
      fr.company.Service.launchXML(Service.java:303) at 
      fr.company.Service.launchZIP(Service.java:370) at 
      fr.company.MainTest.testGenerationZip(MainTest.java:17) at 
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57))
  </code></pre>
  
  <p>Thanks!</p>