final Element actionNS, final Iterator<PathArgument> iterator, final Document document) {
if (iterator.hasNext()) {
final PathArgument next = iterator.next();
- final QName actualNS = next.getNodeType();
DataSchemaContextNode<?> current = currentParentSchemaNode.getChild(next);
Preconditions.checkArgument(current != null, "Invalid input: schema for argument %s not found", next);
return prepareActionData(current, actionNS, iterator, document);
}
+ final QName actualNS = next.getNodeType();
final Element actualElement = document.createElementNS(actualNS.getNamespace().toString(),
actualNS.getLocalName());
if (next instanceof NodeWithValue) {