I have an element whose definition is like this. <!ELEMENT JMXNode (NodeName, JMXServiceURL?, (JMXNode | MBean)*)>
When I generated JAXB classes using XJC compiler for this, the JMXNode.java file generated for this element has only one list for all the child elements, irrespective of whether it is mandatory, optional, or choice. This is creating issues when I tried to unmarshall this element. This also allows me to validate an invalid XML.
I am using JAXB version 1.0. Any thoughts on this issue ???
Joined: Aug 19, 2005
Originally posted by Balamurugan Balasubramanian: I have an element whose definition is like this. <!ELEMENT JMXNode (NodeName, JMXServiceURL?, (JMXNode | MBean)*)> � I am using JAXB version 1.0. Any thoughts on this issue ???
Q. What happened to the JAXB implementation that supported DTD schema?[
The early access release that implemented working draft v0.21 in the JAXB specification is no longer available for download. The expert group for JAXB has taken the specification in a very different direction then the old version and it is not backwards compatible. Consequently, we discontinued distribution of the old version. As a result, the best option for those who used the old version would be to move their code base to the latest version of the JAXB reference implementation.
We realize that this is an inconvenience. However, one of the great strengths of the Java Community Process is the excellent compatibility that it affords. In order to maintain that compatibility we put very strict terms on EA technologies. Once a technology has completed the JCP you can have confidence that the final version will be supported and will be compatible.