// start from 1, 0 is the value
for (int i = 1; i < attributes.length; i++) {
final String att = attributes[i];
int idx = att.indexOf("=");
if(idx == -1) {
throw new WPSException("Invalid syntax for data input attribute: @" + att);
}
if(idx == att.length() - 1) {
result.put(att.substring(0, idx), null);
} else {
result.put(att.substring(0, idx), att.substring(idx + 1, att.length()));