when I run the command, /xjc.sh -d src meta.xsd, the method signature f...">

CLONE -optionalProperty="primitive" does not work · Issue #926 · javaee/jaxb-v2 (original) (raw)

This repository was archived by the owner on Feb 5, 2019. It is now read-only.

This repository was archived by the owner on Feb 5, 2019. It is now read-only.

@glassfishrobot

Description

@glassfishrobot

My Xml file is like this

<jxb:globalBindings optionalProperty="primitive">
<jxb:serializable uid="1" />

when I run the command, /xjc.sh -d src meta.xsd, the method signature for
display is always Boolean instead of primitive boolean type.

I tried #2.1.7, #2.0.5 and JAXB from java 6.
All of them gave me reference Boolean type instead of primitive boolean type.

thanks

-jason

Environment

Operating System: All
Platform: All

Affected Versions

[2.1.7]