> I am using ejbdoclet to generate our ebj-jar.xml files, but xdoclet is > generating this file using a DTD > ("http://java.sun.com/dtd/ejb-jar_2_0.dtd). Due to specifications we > need it to be using an equivalent XSD and not the DTD. > > I am wondering what I would need to change to specify that I want to use > a xsd instead of an dtd. I can't seem to find an ejbdoclet option to > specify this. Is this even possible? > Dear Matt,
You can customize the XDoclet ejb-jar.xml template file to use the DocType you want. This file is located in the xdoclet-ejb-module-1.2.*.jar and it is named "\xdoclet\modules\ejb\dd\resources\ejb-jar_xml.xdt" There is probably a better solution because the template contains <!DOCTYPE ejb-jar PUBLIC "<XDtXml:publicId/>" "<XDtXml:systemId/>"> It may be possible to set a value for these "XDtXml:publicId" and "XDtXml:systemId" variables, but I don"t know how. Good luck, Gérald. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user