The APIs for the source generator require an XML Schema. You can use our DTD to Schema converter (org.exolab.castor.xml.dtd.Converter) to convert your DTD to an in-memory Schema object (or it can be written to disk for modifications) and pass this Schema to the source code generator. It's only a few lines of code to convert your DTD to a Schema. We just don't offer this solution via the command line.
Or you can use one of many 3rd party tools such as XML-spy to convert your schema. Thanks, --Keith "Ingall, David" wrote: > > I was reading an article from javaworld.com > http://www.javaworld.com/javaworld/jw-12-2001/jw-1228-jaxb_p.html and it > seemed to suggest that I was able to use a DTD file and not an XML Schema > file to generate my java class bindings, all of the documentation seems to > point only towards using an XML Schema, would somebody put me in the picture > please, thank you. > > Dave. > > This e-mail is from Advantica Technologies Limited and is intended only for > the addressee named above. As this e-mail may contain confidential or > privileged information, if you are not the named addressee or the person > responsible for delivering the message to the named addressee, please advise > the sender by return e-mail. The contents should not be disclosed to any > other person nor copies taken. > Advantica Technologies Limited is a Lattice Group company, registered in > England & Wales > No. 3294136 Registered Office 130 Jermyn Street, London SW1Y 4UR > http://www.advanticatech.com > > ----------------------------------------------------------- > 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
