You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2002/06/23 03:04:33 UTC
DO NOT REPLY [Bug 7807] -
Without "key" attribute, "message-resources" element doesn't work
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=7807>.
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=7807
Without "key" attribute, "message-resources" element doesn't work
craig.mcclanahan@sun.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From craig.mcclanahan@sun.com 2002-06-23 01:04 -------
Which app server are you running? Or, more importantly, which XML parser is
being used?
At the same time as the change to MessageResourcesConfig was made, I also
modified the DTD file (struts-config_1_1.dtd) to include a default "key"
attribute value of "org.apache.struts.action.MESSAGE". As long as you do a
validating parse of the struts-config.xml file (which Struts does unless you
turn it off), the key property should be getting set correctly.
However, this dependence on validation means that it is no longer reasonable to
parse without it -- so I'm going to remove the "validating" init parameter on
ActionServlet in nightly build 20020623 to avoid allowing users to cause this
problem themselves.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>