public Document process(Document input) throws IOException, TransformerException {
        Document doc = Xml.copyDocument(input);
        includeFile(application, doc.getDocumentElement());
        return doc;
    }
@Test
    public void testIllegalParent() throws ParserConfigurationException, IOException, SAXException, TransformerException {
        try {
            File app = new File("src/test/resources/multienvapp_fail_parent");
            DocumentBuilder docBuilder = Xml.getPreprocessDocumentBuilder();
            new IncludeProcessor(app).process(docBuilder.parse(getServices(app)));
            fail("sibling to package should not be allowed");
        }
        catch (IllegalArgumentException e) {
            assertEquals("src/test/resources/multienvapp_fail_parent/../multienvapp/services.xml is not a descendant of src/test/resources/multienvapp_fail_parent", e.getMessage());
        }
    }