Actually what I have noticed that, if you make any mistake(may a single
spelling) in validation xml file, it will
not catch any validation error.
On Dec 19, 2007 9:19 PM, TuomoS <[EMAIL PROTECTED]> wrote:
>
> How can I confirm that the XML validator file is read? It seems that the
> actionName-va
newton.dave wrote:
>
>
>> Is it mandatory to define doctype in the validation xml file?
>
> That I don't know, but I don't know why you wouldn't put it in there; it
> can
> be pretty helpful.
>
>
This was the case. Now that I added the doctype everything works.
newton.dave wrote:
>
>
>>
If you are building with maven2, you might make sure that you are adding the
xml files in your source directory to your compiled output directory. I
know this was something that fooled me at first ...
src/main/java
**/*.properties
**/*.xml
--- TuomoS <[EMAIL PROTECTED]> wrote:
> How can I confirm that the XML validator file is read?
Turning up the debug level on com.opensymphony.xwork2.validator is the
easiest.
> It seems that the actionName-validation.xml is not read. I
That's not very likely; this definitely works.
> have check
4 matches
Mail list logo