Globalbindings optionalProperty="primitive" does not work when minOccurs=0

XMLWordPrintable

    • master
    • Not verified

      If we have an element type= xsd:boolean minOccurs=0 , then jaxb conversion
      converts it to java.lang.Boolean object instead of primitive java type
      boolean.

      To resolve this, optionalProperty="primitive" is specified in the xjb binding file.
      Inspite of this, the jaxb convertor converts boolean xsd type to
      java.lang.Boolean.
       

            Assignee:
            Iaroslav Savytskyi (Inactive)
            Reporter:
            Abhijit Saha
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: