You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2023/03/21 06:14:00 UTC
[jira] [Commented] (WW-5296) Wrong DTD version
[ https://issues.apache.org/jira/browse/WW-5296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703047#comment-17703047 ]
Lukasz Lenart commented on WW-5296:
-----------------------------------
That shouldn't be a problem, Struts supports all the DTD versions. You must upgrade DTD only if you want to use a new functionality which in this case is {{<bean-selection/>}}
> Wrong DTD version
> ------------------
>
> Key: WW-5296
> URL: https://issues.apache.org/jira/browse/WW-5296
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - SiteMesh, Plugin - Spring
> Affects Versions: 6.1.2
> Reporter: nikos dimitrakas
> Priority: Major
>
> The DOCTYPE definition in all struts-plugin.xml seems to not have been updated to the new one. The old DTD
> <!DOCTYPE struts PUBLIC
> "-//Apache Software Foundation//DTD Struts Configuration 2.5//EN"
> "http://struts.apache.org/dtds/struts-2.5.dtd">
> should be changed to
> <!DOCTYPE struts PUBLIC
> "-//Apache Software Foundation//DTD Struts Configuration 6.0//EN"
> "https://struts.apache.org/dtds/struts-6.0.dtd">
> for any version 6.x
--
This message was sent by Atlassian Jira
(v8.20.10#820010)