xjc: compile many xsd to one class model (with overlapping elements)

ikramjamu

New Member
Customer has a big model defining our business domain. We don't have the java-classes, but I want to generate the model from some xsds for messages defined on top of the model. The xsds have distinct namespaces, but actually use the same elements.When I compile these xsds to one package, xjc complains about the overlaps, detecting the error correctly.Can I compile a bunch of xsds to one class model, ignoring these overlaps ?Or is this a silly question because the same element in different namespaces is actually not the same element from XML point of view !?This question is similar to JAXB: two versions of XSD, one object model, but I don't think that "episodes" help here, because the elements are defined in different namespaces.
 
Back
Top