Apache Struts 2 Documentation > Home > FAQs > How can I fix the "Attribute 'short-circuit'" error message |

Apache Struts 2 Documentation
How can I fix the "Attribute 'short-circuit'" error message
Edit Page Browse Space Add Page Add News
Added by tm_jee, last edited by Ted Husted on Jul 22, 2006 (view change) show comment hide comment
Comment:
Update parent page
View page history

The `short-circuit` attribute was introduced in the XWork Validator 1.0.2 release. If the framework complains that the "Attribute 'short-circuit' must be declared for element type 'field-validator'", update the configuration file's DTD reference.

    <!DOCTYPE validators PUBLIC
     "-//OpenSymphony Group//XWork Validator 1.0.2//EN"
      "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd">