URL url = CustomPropertyEditorsTest.class.getResource("resources/top3.xml");
UrlResource urlRes = new UrlResource(url);
CeltixXmlBeanFactory bf = new CeltixXmlBeanFactory(urlRes);
Configuration top = new TopConfigurationBuilder().build("top3");
bf.registerCustomEditors(top);
Configuration leaf = new LeafConfigurationBuilder().build(top, "leaf");
bf.registerCustomEditors(leaf);
// the first form results in a BeanCreationException (caused by a
// PropertyAccessExceptionsException)