* Validates a document against the
* @param dom
* @param configuration
*/
protected void checkValidationErrors(Document dom) throws Exception {
Parser p = new Parser(new WPSConfiguration());
p.setValidating( true );
p.parse( new DOMSource( dom ) );
if ( !p.getValidationErrors().isEmpty() ) {
for ( Iterator e = p.getValidationErrors().iterator(); e.hasNext(); ) {