Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8032884

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      master
    • Verification:
      Not verified

      Description

      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.
       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: