From 46feda26dad47513c13f3028479e17b424f67f12 Mon Sep 17 00:00:00 2001 From: Karl Waclawek Date: Mon, 26 Aug 2002 17:57:38 +0000 Subject: [PATCH] Small documentation fix for default handler. --- expat/doc/reference.html | 2 +- expat/lib/expat.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/expat/doc/reference.html b/expat/doc/reference.html index f6727890..0d4f0194 100644 --- a/expat/doc/reference.html +++ b/expat/doc/reference.html @@ -932,7 +932,7 @@ otherwise be handled. This includes both data for which no handlers can be set (like some kinds of DTD declarations) and data which could be reported but which currently has no handler set. The characters are passed exactly as they were present in the XML document except -that they will be encoded in UTF-8. Line boundaries are not +that they will be encoded in UTF-8 or UTF-16. Line boundaries are not normalized. Note that a byte order mark character is not passed to the default handler. There are no guarantees about how characters are divided between calls to the default handler: for example, a comment diff --git a/expat/lib/expat.h b/expat/lib/expat.h index 0ff8f162..1b6b06be 100644 --- a/expat/lib/expat.h +++ b/expat/lib/expat.h @@ -236,8 +236,8 @@ typedef void (*XML_EndCdataSectionHandler)(void *userData); (comments, markup declarations), or characters that are part of a construct which could be reported but for which no handler has been supplied. The characters are passed exactly as they were in the XML - document except that they will be encoded in UTF-8. Line - boundaries are not normalized. Note that a byte order mark + document except that they will be encoded in UTF-8 or UTF-16. + Line boundaries are not normalized. Note that a byte order mark character is not passed to the default handler. There are no guarantees about how characters are divided between calls to the default handler: for example, a comment might be split between