Hi Robert, You need to set the namespace->package mappings in castor.properties (or castorbuilder.properties)
See the following in the castor xml faq: http://castor.exolab.org/xml-faq.html#The-generated-source-code-has-incorrect-or-missing-imports-for-imported-schema-types --Keith Robert La Ferla wrote: > > Keith Visco wrote: > > >Imported schema are not generated by default, please see my other reply. :-) > > > > > I think I have a better understanding of the problem. I am calling the > SourceGenerator twice but each time for a different package. How could > SourceGenerator possibly know about the other package? The solution > would be to have SourceGenerator take both xsd files and both package > names as arguments and generate from there. However, I don't think > SourceGenerator can do this, right? It can only generate source within > a single package. > > Thanks, > Robert > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
