void vespaPreprocess(File appDir, File inputXml, ApplicationMetaData metaData, Tags tags) {
            try {
                InstanceName instance = metaData.getApplicationId().instance();
                new XmlPreProcessor(appDir,
                                    inputXml,
                                    instance,
                                    zone.environment(),
                                    zone.region(),
                                    zone.cloud().name(),
                                    tags)
                        .run();
            } catch (ParserConfigurationException | IOException | SAXException | TransformerException e) {
                throw new RuntimeException(e);
            }
        }
Warn on use of deprecated XML features
configserver/src/main/java/com/yahoo/vespa/config/server/session/SessionPreparer.java