private boolean containsAfter(int i, String item, List<String> items) {
        return items.subList(i + 1, items.size()).contains(item);
    }
Imposes some constraints on tag order which are not expressible in the schema
config-model-api/src/main/java/com/yahoo/config/application/api/xml/DeploymentSpecXmlReader.java