The following comment has been added to this issue:

     Author: Andrew Stevens
    Created: Fri, 19 Nov 2004 7:03 PM
       Body:
If you use "Version" rather than "version" does it make any difference?  I have 
a feeling the maven plugin properties have some case sensitivity issues.  
Although 1.0 is the default, 1.2 is certainly a valid value in the version 
EnumeratedAttribute; the template does use the <XDtXml:publicId/> and 
<XDtXml:systemId/> tags and the subtask's execute() method calls setPublicId & 
setSystemId appropriately, so it ought to generate the doctype you were 
expecting.

---------------------------------------------------------------------
View this comment:
  
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1159?page=comments#action_15278

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1159

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1159
    Summary: Incorrect DTD defintion for strutsconfigxml task
       Type: Bug

     Status: Open
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             Maven Plugin
   Versions:
             1.2.1

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Corey Scott

    Created: Tue, 16 Nov 2004 11:14 PM
    Updated: Fri, 19 Nov 2004 7:03 PM

Description:
This module appears to not use the version setting when generating the DTD 
definition at the top of the struts-config.xml file.

No matter what I set I get the following:
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts 
Configuration 1.0//EN" 
"http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>

after setting:
maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.2

I had expected:
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts 
Configuration 1.2//EN" 
"http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd";>

Is this correct? or is there somewhere else to set it?

Thanks,
Corey



---------------------------------------------------------------------
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/secure/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: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to