DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6703>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6703

Shouldn't the key attribute of the Exception element be required?

           Summary: Shouldn't the key attribute of the Exception element be
                    required?
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Minor
          Priority: Other
         Component: Controller
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


According to the 1.1 DTD, the key attribute for the exception element is not 
required. However, if it's not supplied, the execute method in the 
ExceptionHandler class will pass a null into the constructor of the 
ActionError. 

I guess it would be a setup issue, but shouldn't it be required in the DTD and 
validated to ensure this simple mistake doesn't happen.

Chuck Cavaness

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to