struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Mikheev <mi...@bigfoot.com>
Subject Re: [S2] validation continue even if there is an error
Date Tue, 07 Aug 2007 21:10:55 GMT
nodep wrote:
> and it's wrong because there's a  tag  "field-validator" not closed. 
> Struts2 doesn't stop the flow and go to my action:  for me it's not logic,
> it should stop with some error and return to the prev page ... 
> What do you think?

We think that XML validity check is a task of DTD attached.
Please put DTD (or Schema) to the XMLs and it will cure
your issues.
(In 2.0.9 DTDs became required for validator XMLs I think)

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message