### Question:
XMLConfigDigester { @SuppressWarnings("unused") public static SmooksResourceConfigurationList digestConfig(InputStream stream, String baseURI, Map<String, Smooks> extendedConfigDigesters) throws SAXException, IOException, URISyntaxException, SmooksConfigurationException { return digestConfig(stream, baseURI, extendedConfigDigesters, null); } XMLConfigDigester(SmooksResourceConfigurationList list); @SuppressWarnings("unused") static SmooksResourceConfigurationList digestConfig(InputStream stream, String baseURI, Map<String, Smooks> extendedConfigDigesters); static SmooksResourceConfigurationList digestConfig(InputStream stream, String baseURI, Map<String, Smooks> extendedConfigDigesters, ClassLoader classLoader); static SmooksResourceConfigurationList digestConfig(InputStream stream, String baseURI); static SmooksResourceConfigurationList digestConfig(InputStream stream, String baseURI, ClassLoader classLoader); SmooksResourceConfigurationList getResourceList(); @SuppressWarnings("ConstantConditions") ExpressionEvaluator digestCondition(Element conditionElement); String getCurrentPath(); void addConditionEvaluator(String id, ExpressionEvaluator evaluator); ExpressionEvaluator getConditionEvaluator(String idRef); @Deprecated
    static final String XSD_V12; static final String XSD_V20; }### Answer:
@Test public void test_digestConfig_v20() throws SAXException, IOException, URISyntaxException { SmooksResourceConfigurationList resList = XMLConfigDigester.digestConfig(getClass().getResourceAsStream("testconfig2.cdrl"), "test"); assertResourceConfigOK(resList); List<ProfileSet> profiles = resList.getProfiles(); assertEquals(2, profiles.size()); assertEquals("profileA", profiles.get(0).getBaseProfile()); assertTrue(profiles.get(0).isMember("profileA")); assertTrue(profiles.get(0).isMember("profile1")); assertTrue(profiles.get(0).isMember("profile2")); assertFalse(profiles.get(0).isMember("profile100")); assertEquals("profileB", profiles.get(1).getBaseProfile()); assertTrue(profiles.get(1).isMember("profile3")); assertTrue(profiles.get(1).isMember("profileA")); assertFalse(profiles.get(1).isMember("profile1")); }