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

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">