Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix XML Namespace Handling in serializeExceptionToXml
In the commit 1b59089, we inadvertently introduced an issue in the serializeExceptionToXml method where the XML namespace was set in a manner not compliant with XML standards, causing issues in XML parsing. Additionally, the method did not utilize the currentDatabindContext for writing the error-path, which could lead to incorrect serialization of error paths in certain contexts. The fix involves correctly setting the default XML namespace for the errors element. Additionally, the method now properly utilizes the currentDatabindContext for encoding error paths. JIRA: NETCONF-1130 Change-Id: Ia7900bff2e63d23213896b5e0c96a514ace92873 Signed-off-by: Yaroslav Lastivka <yaroslav.lastivka@pantheon.tech>
- Loading branch information