On Mon, 2003-06-16 at 20:27, Gray Herter wrote: > Anyone know how to set the DOCTYPE value when generating a .jdo file?
It's set by the subtask. I would have suggested you try specifying systemId and publicId parameters to the subtask (which are defined in the XmlSubTask that should be the parent of all XML-type subtasks), however, unlike the schema parameter I couldn't see those ones in the generated docs. Looking at the source, I guess that's because they're only declared as protected, not public, so you may find they won't work :-( If not, raise an issue or let us know here - I'm half tempted to change them anyway, just so they appear in the docs :-) > The > one generated for me references the sun web site for the DTD, and causes a > problem when building while off-line. What exactly is your problem? Most deployment tools I've come across either don't bother validating, or use a suitable entity resolver and a local copy of the DTDs/schemas, so it's not normally a problem for the DDs to reference the "official" system ID location. Or is it the subtasks' validatexml="true" parameter (which makes XDoclet validate files after generation) that's giving you trouble? Most of the subtasks include a local copy of the DTD for this, though a few don't as they're not publicly available, and I'm not sure if it works with schema-based documents. Andrew. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
