}
// Run through the policy.
- policy.evaluate(genericRequest, *root);
+ policy.evaluate(*root, &genericRequest);
}
catch (XMLToolingException& ex) {
// This is just to maximize the likelihood of attaching a source to the message for support purposes.
annotateException(&ex,provider); // throws it
}
- xmlObject.release();
- return root;
+ return xmlObject.release();
}