Summary: | Use a publicID in the DOCTYPE of the compilation XML log | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Maarten Coene <maarten_coene> | ||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | enhancement | ||||||
Priority: | P3 | CC: | david_williams, gunnar, philippe_mulet | ||||
Version: | 3.2 | ||||||
Target Milestone: | 3.2 M5 | ||||||
Hardware: | PC | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Maarten Coene
2005-11-16 02:32:46 EST
Feels a good suggestion. I think I should expose these headers in a .properties file. It would then be possible to modify the xml headers without recompiling the code. Oliver, your proposed doctype on newsgroup sounds good: "-//Eclipse.org//DTD Eclipse JDT Compiler//EN" I would suggest a version number in there, though ... you just *might* change it in the future :) I would, also, encourage you to use full URL when reference the dtd (and, to truly host it somewhere on eclipse.org. So, something like <!DOCTYPE compiler PUBLIC "-//Eclipse.org//DTD Eclipse JDT 3.2.561 Compiler//EN" "http://www.eclipse.org/jdt/compiler561.dtd"> or similar. having the full URL means people really could validate a file that uses it, even if DTD was not "local" (in the catalog, or same directory). The version number is technically for the DTD, not literally the JDT Compiler, so you may need to come up with some simplication, depending on how often you'd think it might change (if nearly every version of compiler, then just as well have "in synch" versions of dtd ... but if almost never, then 3.0 might suffice .). Here's some quicky found references to what all those fields in the public id mean: http://www.blooberry.com/indexdot/html/tagpages/d/doctype.htm http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/doctype.asp if they help any. Thank you for your comment. Very helpful. I'd like to get an official answer from the foundation since this involves Eclipse.org. I will release the following DOCTYPE. <!DOCTYPE compiler PUBLIC "-//Eclipse.org//DTD Eclipse JDT 3.2.001 Compiler//EN" "http://www.eclipse.org/jdt/core/compiler_32_001.dtd">. Philippe, could you please ensure that this is fine with the PMC? Created attachment 30503 [details]
Proposed fix
Waiting for PMC approval to release.
The EMO is ok with this solution at this time. If bug 111923 changes the naming policies it might change a future URL. But that's then and this is now. Fixed and released in HEAD. Verified for 3.2 M5 using build I20060214-0010. |