.getProperty(element, "value") instanceof String) {
eName = (String) ScriptableObject
.getProperty(element, "name");
eValue = (String) ScriptableObject
.getProperty(element, "value");
parts.add(new StringPart(eName, eValue));
} else {
throw new CarbonException(
"Invalid content definition, objects of the content" +
" array should consists with strings for both key/value");
}