geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vamsavardhana Reddy <c1vams...@gmail.com>
Subject Re: [DISCUSSION] Bean validation support: handling validation xml parsing errors
Date Thu, 30 Sep 2010 05:50:03 GMT
In rev 1002222, I have checked in the code to parse the validation &
constraint mapping xml's and throw deployment exceptions if there are any
errors.


[1]  http://svn.apache.org/viewvc?rev=1002222&view=rev

On Mon, Sep 27, 2010 at 4:18 PM, Vamsavardhana Reddy <c1vamsi1c@gmail.com>wrote:

> I am working on "GERONIMO-5222 Add support for application validation
> descriptor support for deployed applications".  I have not come across
> anything in Java EE 6 spec that says what is to be done in the case where
> there are errors in validation.xml.  Current implementation in Geronimo, if
> validation.xml parsing errors will result in an exception at runtime.  I
> think Geronimo should be throwing deployment time exceptions if
> validation.xml parsing results in an error. Also, should we extend this to
> checking the constraint mapping xml files as well (atleast check if the
> constraint mapping xml files exist in the deployment bundle).  What do
> others think?
>
> --
> Vamsi
>



-- 
Vamsi

Mime
View raw message