XmlObject webPlan = new GenericToSpecificPlanConverter(GerJettyDocument.type.getDocumentElementName().getNamespaceURI(),
JettyWebAppDocument.type.getDocumentElementName().getNamespaceURI(), "jetty").convertToSpecificPlan(rawPlan);
File ConvertedPlan = new File(basedir, "src/test-resources/plans/plan4-converted.xml");
assertTrue(ConvertedPlan.exists());
XmlObject converted = XmlBeansUtil.parse(ConvertedPlan.toURL());
XmlCursor c = converted.newCursor();
SchemaConversionUtils.findNestedElement(c, "web-app");
c.toFirstChild();
ArrayList problems = new ArrayList();
compareXmlObjects(webPlan, c, problems);
assertEquals("problems: " + problems, 0, problems.size());