I would like to run the schema file (http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd) for the jboss-esb.xml through JAXB to create a Java model.
I have read the following thread where the last post sounds like what I want:
I get the following from the XJC compiler:
org.xml.sax.SAXParseException: A class/interface with the same name "com.jboss.labs.anonsvn.labs.jbossesb.trunk.product.etc.schemas.xml.jbossesb_1_0_1.BusProvider" is already in use. Use a class customization to resolve this conflict. org.xml.sax.SAXParseException: (Relevant to above error) another "BusProvider" is generated from here. com.sun.istack.SAXParseException2: Two declarations cause a collision in the ObjectFactory class. com.sun.istack.SAXParseException2: (Related to above error) This is the other declaration.