summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
ffd3acb)
Leafs with identityref point to the identity's QName. Since we are
remapping namespaces, these need to be included as well.
JIRA: YANGTOOLS-1277
Change-Id: I2885dd59bcdd85cfe4f29edceaf68cb27ed7dca7
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
return super.startAnyxmlNode(transform(name), objectModel);
}
return super.startAnyxmlNode(transform(name), objectModel);
}
+ @Override
+ public void scalarValue(final Object value) throws IOException {
+ // identityref leaf nodes contain identity QName as a value - it needs to be transformed
+ super.scalarValue(value instanceof QName ? transform((QName) value) : value);
+ }
+
/**
* Transforms a QName to new mapping.
*
/**
* Transforms a QName to new mapping.
*