List Info

Thread: Created: (WW-2209) struts-2.0.dtd incorrectly permits param element child of default-intercep




Created: (WW-2209) struts-2.0.dtd incorrectly permits param element child of default-intercep
country flaguser name
United States
2007-09-25 18:28:36
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: Joe Germuska
            Priority: Trivial


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.


Updated: (WW-2209) struts-2.0.dtd incorrectly permits param element child of default-intercep
country flaguser name
United States
2007-09-26 08:10:37
     [ https://issues.apache.org/struts/browse/WW-2209?page=com.at
lassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Don Brown updated WW-2209:
--------------------------

    Fix Version/s: 2.0.12

> 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: Joe Germuska
>            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.


Resolved: (WW-2209) struts-2.0.dtd incorrectly permits param element child of default-interce
country flaguser name
United States
2007-09-26 08:22:36
     [ https://issues.apache.org/struts/browse/WW-2209?page=com.at
lassian.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.


Commented: (WW-2209) struts-2.0.dtd incorrectly permits param element child of default-interc
country flaguser name
United States
2007-10-22 04:32:40
    [ https://issues.apache.org/struts/browse/WW
-2209?page=com.atlassian.jira.plugin.system.issuetabpanels:c
omment-tabpanel#action_42438 ] 

Vlasov Igor commented on WW-2209:
---------------------------------

Hello.

I want to change excludeMethods parameter for
validationInterceptor in defaultStack. 
For whole package I tried:

 <default-interceptor-ref
name="defaultStack">
      <param
name="validation.excludeMethods">input,delete,b
rowse
      <param
name="workflow.excludeMethods">input,delete,bro
wse
 </default-interceptor-ref>

and this does not work.

This is because "XmlConfigurationProvider in XWork2
doesn't appear to process parameters for interceptors
referenced this way. "


How can I change excludeMethods parameter for
validationInterceptor in defaultStack.

Thank you very much for answer..




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


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )