in src/java/org/apache/ivy/core/settings/XmlSettingsParser.java [173:221]
public void startElement(String uri, String localName, String qName, Attributes att)
throws SAXException {
// we first copy attributes in a Map to be able to modify them
Map<String, String> attributes = new HashMap<>();
for (int i = 0; i < att.getLength(); i++) {
attributes.put(att.getQName(i), ivy.substitute(att.getValue(i)));
}
try {
if ("ivyconf".equals(qName)) {
deprecatedMessagePrinted = true;
Message.deprecated("'ivyconf' element is deprecated, use 'ivysettings' instead ("
+ settings + ")");
}
if (configurator.getCurrent() != null) {
inConfiguratorStarted(qName, attributes);
} else if ("classpath".equals(qName)) {
classpathStarted(attributes);
} else if ("typedef".equals(qName)) {
typedefStarted(attributes);
} else if ("property".equals(qName)) {
propertyStarted(attributes);
} else if ("properties".equals(qName)) {
propertiesStarted(attributes);
} else if ("include".equals(qName)) {
includeStarted(attributes);
} else if ("settings".equals(qName) || "conf".equals(qName)) {
settingsStarted(qName, attributes);
} else if ("caches".equals(qName)) {
cachesStarted(qName, attributes);
} else if ("version-matchers".equals(qName)) {
versionMatchersStarted(qName, attributes);
} else if ("statuses".equals(qName)) {
statusesStarted(qName, attributes);
} else if (configuratorTags.contains(qName)) {
anyConfiguratorStarted(qName);
} else if ("macrodef".equals(qName)) {
macrodefStarted(qName, attributes);
} else if ("module".equals(qName)) {
moduleStarted(attributes);
} else if ("credentials".equals(qName)) {
credentialsStarted(attributes);
}
} catch (ParseException ex) {
throw new SAXException("problem in config file: " + ex.getMessage(), ex);
} catch (IOException ex) {
throw new SAXException("io problem while parsing config file: " + ex.getMessage(), ex);
}
}