Hi Tim,

It should work properly. Try setting the parser validation property in
the castor.properties file.

--Keith


"Bardzil, Timothy J (Timothy)" wrote:
> 
> I am attempting to unmarshall and XML document that is defined by an XML schema.  I 
> have chosen to use a mapping file rather than code generated directly from the 
> schema for a number of reasons that I won't get into.  However, I would like to use 
> the schema for validation purposes when unmarshalling the document into objects.  Is 
> this possible?
> 
> I can currently do this with a regular SAX parser by setting the 
> http://apache.org/xml/properties/schema/external-schemaLocation property on the 
> underlying XMLReader.  I believe that Castor uses SAX so would something similar 
> work?
> 
> Thanks,
> Tim Bardzil
> 
> -----------------------------------------------------------
> 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