// of an attribute node or a key value for an internal node.
// First check whether the nodeIdentifier is a valid node label for the current
// schema node.
for (int iChild = 0; iChild < schemaNode.children().size(); iChild++) {
SchemaNode childSchema = schemaNode.children().get(iChild);
if ((childSchema.label().equals(nodeIdentifier)) && (childSchema.isAttribute())) {
// Make sure that there is only one child
DatabaseElementList nodes = node.find(childSchema.path().substring(node.schema().path().length() + 1));
if (nodes.size() > 1) {
throw new WikiDataException(WikiDataException.UnknownResource, url.toString());
} else if (nodes.size() == 1) {