final List<Integer> errorTopics = new ArrayList<Integer>();
errorTopics.addAll(processInjections(internal, translatedTopicData, topic, customInjectionIds, customInjections, XMLPreProcessor.ORDEREDLIST_INJECTION_POINT, xmlDocument, XMLPreProcessor.CUSTOM_INJECTION_SEQUENCE_RE, null, database, docbookBuildingOptions, usedFixedUrls));
errorTopics.addAll(processInjections(internal, translatedTopicData, topic, customInjectionIds, customInjections, XMLPreProcessor.XREF_INJECTION_POINT, xmlDocument, XMLPreProcessor.CUSTOM_INJECTION_SINGLE_RE, null, database, docbookBuildingOptions, usedFixedUrls));
errorTopics.addAll(processInjections(internal, translatedTopicData, topic, customInjectionIds, customInjections, XMLPreProcessor.ITEMIZEDLIST_INJECTION_POINT, xmlDocument, XMLPreProcessor.CUSTOM_INJECTION_LIST_RE, null, database, docbookBuildingOptions, usedFixedUrls));
errorTopics.addAll(processInjections(internal, translatedTopicData, topic, customInjectionIds, customInjections, XMLPreProcessor.ITEMIZEDLIST_INJECTION_POINT, xmlDocument, XMLPreProcessor.CUSTOM_ALPHA_SORT_INJECTION_LIST_RE, new TopicTitleSorter(), database, docbookBuildingOptions, usedFixedUrls));
errorTopics.addAll(processInjections(internal, translatedTopicData, topic, customInjectionIds, customInjections, XMLPreProcessor.LIST_INJECTION_POINT, xmlDocument, XMLPreProcessor.CUSTOM_INJECTION_LISTITEMS_RE, null, database, docbookBuildingOptions, usedFixedUrls));
/*
* If we are not ignoring errors, return the list of topics that could
* not be injected