String symbolicName = null;
Version version = Version.emptyVersion;
while (matcher.find()) {
String name = matcher.group(1);
if (SubsystemSymbolicNameHeader.NAME.equals(name))
symbolicName = new SubsystemSymbolicNameHeader(matcher.group(2)).getValue();
else if (SubsystemVersionHeader.NAME.equals(name))
version = Version.parseVersion(matcher.group(2));
else
throw new IllegalArgumentException("Unsupported subsystem URI parameter: " + name);
}