* @param dom
* @param configuration
*/
@SuppressWarnings("rawtypes")
protected void checkValidationErrors(Document dom) throws Exception {
Parser p = new Parser(new WCSConfiguration());
p.setValidating(true);
p.parse(new DOMSource(dom));
if (!p.getValidationErrors().isEmpty()) {
for (Iterator e = p.getValidationErrors().iterator(); e.hasNext();) {