- moduleBuilder.addUnionType(actualPath);
- } else if("identityref".equals(typeName)) {
- moduleBuilder.addIdentityrefType(getIdentityrefBase(typeBody), actualPath);
+ moduleBuilder.addUnionType(actualPath, namespace, revision,
+ line);
+ } else if ("identityref".equals(typeName)) {
+ SchemaPath path = createActualSchemaPath(actualPath,
+ namespace, revision, yangModelPrefix);
+ moduleBuilder.addIdentityrefType(
+ getIdentityrefBase(typeBody), actualPath, path,
+ line);