You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2007/09/26 15:22:36 UTC

[jira] Resolved: (WW-2209) struts-2.0.dtd incorrectly permits param element child of default-interceptor-ref

     [ https://issues.apache.org/struts/browse/WW-2209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Don Brown resolved WW-2209.
---------------------------

    Resolution: Fixed
      Assignee: Don Brown  (was: Joe Germuska)

Fixed in Struts and xwork, changed to:
<!ELEMENT default-interceptor-ref (#PCDATA)>
<!ATTLIST default-interceptor-ref
    name CDATA #REQUIRED
>

<!ELEMENT default-action-ref (#PCDATA)>
<!ATTLIST default-action-ref
    name CDATA #REQUIRED
>

<!ELEMENT default-class-ref (#PCDATA)>
<!ATTLIST default-class-ref
   class CDATA #REQUIRED
>

> struts-2.0.dtd incorrectly permits param element child of default-interceptor-ref
> ---------------------------------------------------------------------------------
>
>                 Key: WW-2209
>                 URL: https://issues.apache.org/struts/browse/WW-2209
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 2.0.11
>            Reporter: Joe Germuska
>            Assignee: Don Brown
>            Priority: Trivial
>             Fix For: 2.0.12
>
>
> Can someone just double-check me here, since I'm relatively green on XWork: the struts-2.0 dtd (and the xwork-2.0.dtd) both have this:
> <!ELEMENT default-interceptor-ref (param*)>
> but the XmlConfigurationProvider in XWork2 doesn't appear to process parameters for interceptors referenced this way.
> The fix would be to change the DTD to read
> <!ELEMENT default-interceptor-ref EMPTY>
> I'll gladly make the fix in Struts, but I can't make the fix in XWork.  It looks as thought this may also apply to default-action-ref although that isn't where I encountered the problem.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.