DataSchemaNode dataChildByName;
for (QName next : parentNode.getPath().getPathFromRoot()) {
if (current == null) {
- dataChildByName = schemaContext.getDataChildByName(next);
+ dataChildByName = schemaContext.dataChildByName(next);
} else {
- dataChildByName = current.getDataChildByName(next);
+ dataChildByName = current.dataChildByName(next);
}
if (dataChildByName == null) {
return false;