That could confuse library users that set their own error handler,
because there are already cases in libxslt that push a single message
in chunks (the same way as libxml2 does) and the user may be interested
in performing the message reconstruction on its own.

Quick scan only discovered this occurrence, but there may be more.

Signed-off-by: Jan Pokorný <jpoko...@redhat.com>
---
 libxslt/numbers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libxslt/numbers.c b/libxslt/numbers.c
index e78c46b..548bbf1 100644
--- a/libxslt/numbers.c
+++ b/libxslt/numbers.c
@@ -222,7 +222,7 @@ xsltNumberFormatDecimal(xmlBufferPtr buffer,
     }
     if (i < 0)
         xsltGenericError(xsltGenericErrorContext,
-               "xsltNumberFormatDecimal: Internal buffer size exceeded");
+               "xsltNumberFormatDecimal: Internal buffer size exceeded\n");
     xmlBufferCat(buffer, pointer);
 }
 
-- 
2.4.11

_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
xslt@gnome.org
https://mail.gnome.org/mailman/listinfo/xslt

Reply via email to