Hi!
1.
Parse Error at line 54 column 65: Element type
"message-resources" must be declared.
org.xml.sax.SAXParseException: Element type
"message-resources" must be declared.
2.
Parse Error at line 59 column 17: The content of
element type "struts-config" must match
"(data-sources?,form-beans?,global-forwards?,action-mappings?)".
It seems to me that you are using the struts-config_1_0.dtd.
Only that DTD contains this element definition:
<!ELEMENT struts-config (data-sources?, form-beans?, global-forwards?,
action-mappings?)
The same element in the 1.1 DTD is declared as:
<!ELEMENT struts-config (data-sources?, form-beans?, global-exceptions?,
global-forwards?, action-mappings?, controller?, message-resources*,
plug-in*)>
and in 1.2 DTD as:
<!ELEMENT struts-config (display-name?, description?, data-sources?,
form-beans?, global-exceptions?, global-forwards?, action-mappings?,
controller?, message-resources*, plug-in*)>
Both have the message-resources element that you need. So you probably
want to use the 1.1 or the 1.2 DTD.
Tamas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]