<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
stxx upgrade
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/sej">Steve Jagels</a> in <i>JBoss Web Services</i> - <a href="http://community.jboss.org/message/607287#607287">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>I had 2 projects in MyEclipse 5.5.1 and Jboss 4.0.4.GA that worked fine. Both use STXX.  Now I've moved them to Eclipse 3.4 Ganymede and JBoss 4.3.0.GA.  They work fine in the new environment, but the eclipse validation lists dozens of errors for the struts-config.xml file that should probably be listed as warnings or not at all (otherwise, the app would not work).</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>In one project's struts-config file there are many lines like this:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><action path="/saveRecord"</p><p>   type="com.blah.blah.blah.action.SaveRecordAction"</p><p>   name="recordForm"</p><p>   scope="request"></p><p>   <forward name="stxx_input"></p><p>      <transform name="default" path="/Redirector.xsl" render="client"/></p><p>   </forward>                            </p><p>   <forward name="success" path="/viewRecord.do"/>            </p><p></action></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>The error message shows as:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Attribute "path" is required and must be specified for element type "forward"</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>But the path attribute is in the transform element, which the validation does not seem to recognize.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Struts-config has:</p><p><?xml version="1.0" encoding="ISO-8859-1"?></p><p><!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"</p><p><span>                               "</span><a class="jive-link-external-small" href="http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd" target="_blank">http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd</a><span>"></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p> and web.xml has:</p><p><?xml version="1.0" encoding="ISO-8859-1"?></p><p><!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"</p><p><span>                         "</span><a class="jive-link-external-small" href="http://java.sun.com/j2ee/dtds/web-app_2_3.dtd" target="_blank">http://java.sun.com/j2ee/dtds/web-app_2_3.dtd</a><span>"></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>In the other project's struts-config file there are many lines like this:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><action name="SaveRecord" path="/saveRecord" scope="request" type="com.blah.blah.blah.action.SaveRecord"></p><p>   <forward name="stxx_input" path="saveRecord.dox"/></p><p>   <forward name="success" path="saveRecord.dox"/></p><p></action></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>The error message shows as:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>forward stxx_input of Action /saveRecord path attribute reference to nonexistent tile or page</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>The .dox refers to this section of the stxx-transforms.xml file, which the validation does not seem to recognize:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><transform name="saveRecord.dox"></p><p>   <xsl selector="default" render="client"></p><p>      <file name="/saveRecord.xsl"/></p><p>   </xsl></p><p></transform></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>The strut-config file also has this, which the validation is maybe not recognizing:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><plug-in className="com.oroad.stxx.plugin.StxxPlugin"></p><p>   <set-property property="transform-config" value="/WEB-INF/stxx-transforms.xml"/></p><p></plug-in></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Struts-config has:</p><p><?xml version="1.0" encoding="ISO-8859-1" ?></p><p><!DOCTYPE struts-config PUBLIC</p><p>  "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN"</p><p><span>  "</span><a class="jive-link-external-small" href="http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd" target="_blank">http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd</a><span>"></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p> and web.xml has: </p><p><?xml version="1.0" encoding="ISO-8859-1"?></p><p><!DOCTYPE web-app</p><p>  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"</p><p><span>  "</span><a class="jive-link-external-small" href="http://java.sun.com/j2ee/dtds/web-app_2_3.dtd" target="_blank">http://java.sun.com/j2ee/dtds/web-app_2_3.dtd</a><span>"></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>For both applications I have reviewed and revised the validation settings for DTD, XML, etc., which had no effect.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Any ideas why the validation is not working properly, or how to turn it off?</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/607287#607287">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Web Services at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>