Hi James,

What you get for an error message is basically all there is, Castor
doesn't have a way to increase or decrease the verbosity to the error
messages. 

Usually Castor will give you the element hierarchy below the error
message, you should see something like:

XPATH: root/foo/bar

If you are not getting meaningful enough error messages and would like
to see something more meaningful, you can open up an enhancement request
at http://bugzilla.exolab.org. Please be sure to provide a simple test
case which demonstrates the issue.

Thanks,

--Keith


James Carter wrote:
> 
> Hi,
> 
> I'm currently working with a slightly older version of Castor (and
> working to get up to current 9.5.2 quickly) - but I'm just wondering
> if this is either a feature I've missed, or something that's come
> along since then...
> 
> Currently, when a validation error is caught (and exception thrown),
> the error message looks something like:
> 
>       "XXX is not a valid YYY Type", etc.
> 
> At validate time, is it possible/feasible to get more information
> thrown back in that exception, such as which element (and/or element
> hierarchy) this is coming from?
> 
> Thanks,
> Jim Carter
> 
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>         unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to