Hi Mike,
If you've used the Source Code Generator, then Castor has it's own
object model based validation for the constraints for the schema uses
when generating the classes.
If you're using a mapping file or default introspection, then you can
use the parsers validation, by enabling this in the castor.properties
file and using xsi:schemaLocation="..." on the root element of your XML
instance document.
Hope that helps,
--Keith
Mike Denning wrote:
>
> Can anyone give me instructions on how to perform schema validations when
>unmarhalling a byte stream into beans using Castor?
>
> thanks in advance....
>
> Michael D. Denning
> Systems Programmer
> NC Department of Justice
> Information Technology Division
> 919-716-1062
>
> -----------------------------------------------------------
> 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