Version of JAXB 2.x for that generates XMLElements for xsd:choice using custom binding
I am trying to implement choice element in schema using JAXB 2.0 .Since default implementation of JAXB 2.0 generates XMLType, I tried to use custom binding to generate XMLElements for it .I am not able to generate XMlElements this using JAXB 2.0.x inspite of using custom binding.Below is the simple example I tried out.
SCHEMA FILE :
<?xml version="1.0" encoding="UTF-8"?>
BINDING FILE :
When I tried to implement above using JAXB 2.1 it generates XMLElements for xsd:choice using custom binding.I did not see anything specific to xsd:choice implementation availability only since JAXB 2.1 from Changelog.So can anyone calrify is XmlElements generation for xsd:choice exists only from JAXB 2.1 ??