[XDoclet-JIRA] Commented: (XDT-1159) Incorrect DTD defintion for strutsconfigxml task

"james lewis (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
    [ http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1159?page=comments#action_17279 ] 

james lewis commented on XDT-1159:
----------------------------------

I ran into this issue recently and changing "version" to "Version" fixed the problem - that is, the DTD version is correctly being set to be 1.2.

> Incorrect DTD defintion for strutsconfigxml task
> ------------------------------------------------
>
>          Key: XDT-1159
>          URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1159
>      Project: XDoclet
>         Type: Bug
>   Components: Maven Plugin
>     Versions: 1.2.1
>     Reporter: Corey Scott
>     Assignee: xdoclet-devel (Use for new issues)
>     Priority: Minor

>
>
> 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

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.