Hello castor users,

Say one has two xsd's, each with its own namespace, and they have multiple
elements with same name. For tuning code generation one can configure
namespace-to-package binding in binding.xml. If each namespace is bound to a
different package, elements with same name will result in classes with same
name but within different packages. If one uses these classes, with same
name, within same class, one of them will have to be referenced using full
class name which is very ugly.

I've looked but could not find a way to configure element-to-class name
binding which would be namespace aware, so that a different class name can
be configured for a given element name, depending on namespace element
belongs to. Did I miss something?


Regards,
Stevo.

Reply via email to