X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=blobdiff_plain;f=xmltooling%2Fio%2FAbstractXMLObjectUnmarshaller.cpp;h=e3ae4715081a6313d7a696457125b698f5d0dbf7;hp=eeb05faa6224d8313ffe93b91f6a646f8655e0d0;hb=7068408b1c6000ac3d207c782ba4f8c4e731b178;hpb=760bdf8c7fef05fc26d2b318f76499b7d012dcd2 diff --git a/xmltooling/io/AbstractXMLObjectUnmarshaller.cpp b/xmltooling/io/AbstractXMLObjectUnmarshaller.cpp index eeb05fa..e3ae471 100644 --- a/xmltooling/io/AbstractXMLObjectUnmarshaller.cpp +++ b/xmltooling/io/AbstractXMLObjectUnmarshaller.cpp @@ -182,7 +182,7 @@ void AbstractXMLObjectUnmarshaller::unmarshallChildElements(const DOMElement* do // Retain ownership of the unmarshalled child until it's processed by the parent. auto_ptr childObject(unmarshaller->unmarshall(static_cast(childNode))); - processChildElement(xmlObject, childObject.get()); + processChildElement(xmlObject, childObject.get(), static_cast(childNode)); childObject.release(); } else if (childNode->getNodeType() == DOMNode::TEXT_NODE) {