0 Replies Latest reply on Sep 19, 2012 3:21 PM by user10832627

    JAXB Empty Tag elements


      I am trying to populate a empty xml tag with start and end tags and which does not have data in it using JAXB 2.0
      currently it just places a back empty slash for the empty data tag.
      I tried using nillable=true and required=true for @xmlelement but it displays the namespace in xml for the tag.

      for example currenlty it displays <test/>
      i want it to display as <test></test>

      Please help me out.