Commit 1948a734 authored by Christian Schudt's avatar Christian Schudt

OF-811 Remove deprecated xml-not-well-formed error in favor of not-well-formed

parent f20aa875
......@@ -144,7 +144,7 @@ public abstract class ConnectionHandler extends IoHandlerAdapter {
// PIO-524: Determine stream:error message.
final StreamError error;
if (cause.getCause() != null && cause.getCause() instanceof XMLNotWellFormedException) {
error = new StreamError(StreamError.Condition.xml_not_well_formed);
error = new StreamError(StreamError.Condition.not_well_formed);
} else {
error = new StreamError(StreamError.Condition.internal_server_error);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment