I'm binding an XML Schema with an external bind file and I'm trying to specify
a common superclass for all of the generated implementation classes using the
xjc:superClass customization. Unfortunately the generated implmentation classes
do not extend the class that I specified. I believe I have properly followed the
instructions for doing this at
http://java.sun.com/webservices/docs/1.1/jaxb-1.0/vendor.html.
To summarize, I have done the following:
1. Created and compiled the base class.
2. Made this class available on the classpath specified for xjc.
3. Added the -extension switch for xjc.
4. Added the xmlns:xjc, jaxb:extensionBindingPrefixes to the root bindings element
5. Added the xjc:superClass element to the globalBindings element in my binding file
6. Performed the bind with no error messages but the impl classes did not extend my base class.
Any ideas what I could be doing wrong here?
Regards
J.