Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-246 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-246 Summary: add an option to skip generating doctype in .jdo files Type: Bug Status: Assigned Priority: Major Time Spent: Unknown Estimate: 30 minutes Project: XDoclet Component: JDO Module Versions: 1.2 Beta 3 Assignee: xdoclet-devel (Use for new issues) Reporter: Rong C. Ou Created: Mon, 13 Jan 2003 7:12 PM Updated: Mon, 13 Jan 2003 7:12 PM Environment: SolarMetric Kodo JDO 2.4.0 Description: Some of the JDO implementations like Kodo doesn't support having a DOCTYPE declaration in the JDO files. For Kodo it tries to access the http://java.sun.com/dtd/jdo_1_0.dtd URL to retrieve the dtd, which is unacceptable in any environment. A possible solution is to add an extra boolean option (for example, generateDoctype) either at the JdoDocletTask or the JdoXmlMetadataSubTask level, and guard the doctype generation with that condition in jdo_xml.xdt (not sure about the exact syntax): <XDtJdo:ifGenerateDoctype> <!DOCTYPE jdo PUBLIC "<XDtXml:publicId/>" "<XDtXml:systemId/>"> </XDtJdo:ifGenerateDoctype> That way, if I am using kodo, I can specify the option generatedoctype="false" to skip the doctype generation. This should be fairly simple change. Thanks, Rong --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
