Re: [castor-dev] XML Databinding and Validation of Incoming XML Document

2004-05-17 Thread Keith Visco
Hi Andy, If you want to do XML Schema validation during unmarshalling when using a mapping file for the binding, you need to enable parser validation in the castor.properties. org.exolab.castor.parser.validation=true By default it's disabled. This will allow Xerces (or whatever parser you're

[castor-dev] XML Databinding and Validation of Incoming XML Document

2004-05-17 Thread Andy Shearman
Hi Group, I have a bean like object and a mapping file so that incoming xml docs can be unmarshalled into a java object. Setting the mapping file is ok but my question relates to guarenteeing the "well-formedness" of the incoming xml. When unmarshalling will the unmarhaller validate the incomi