summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorkwaclaw <kwaclaw>2002-08-22 00:06:51 +0000
committerkwaclaw <kwaclaw>2002-08-22 00:06:51 +0000
commit1da3623a4b750cdaf0aa82e2c06fa5d68d4a6fa3 (patch)
treef4e789ea69fb771f67399cc0ceccee3452ee52a7 /doc
parent9e030b897dc3e83717a4adb7ef9c1ddd064a27e2 (diff)
downloadlibexpat-1da3623a4b750cdaf0aa82e2c06fa5d68d4a6fa3.tar.gz
Added more detail about the unknownEncodingHandler.
Diffstat (limited to 'doc')
-rw-r--r--doc/reference.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/reference.html b/doc/reference.html
index 8f97b1c..1167497 100644
--- a/doc/reference.html
+++ b/doc/reference.html
@@ -1038,9 +1038,13 @@ typedef int
XML_Encoding *info);
</pre>
<p>Set a handler to deal with encodings other than the
-<a href="#builtin_encodings">built in set</a>. If the handler knows how
-to deal with an encoding with the given name, it should fill in the info
-data structure and return 1. Otherwise it should return 0.</p>
+<a href="#builtin_encodings">built in set</a>. This should be done before
+XML_Parse or XML_ParseBuffer have been called on the given parser.</p>
+<p>If the handler knows how to deal with an encoding with the given name,
+it should fill in the info data structure and return 1. Otherwise it should
+return 0. The handler will be called at most once per parsed (external) entity.
+The optional application data pointer <code>encodingHandlerData</code>
+will be passed back to the handler.</p>
<pre>
typedef struct {