It is probably safe to assume that the majority of people who use JAXB today use the xjc compiler to create Java classes from XML Schema files rather than from Document Type Definition (DTD) files.
I’ve used Java Architecture for XML Binding (JAXB) successfully for a wide set of problems and generally really like it. However, it is not without its downsides. One down side that occasionally ...
* Represent an association between a DOM node and a JAXB object. * Note, from the javadoc, that this association is partial; not all XML elements have associated JAXB objects, * and not all JAXB ...