From c2f6f06d911f1dc4c13130a076cf2abbe169950e Mon Sep 17 00:00:00 2001 From: Karl Waclawek Date: Thu, 22 Aug 2002 00:06:51 +0000 Subject: [PATCH] Added more detail about the unknownEncodingHandler. --- expat/doc/reference.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/expat/doc/reference.html b/expat/doc/reference.html index 8f97b1c0..11674973 100644 --- a/expat/doc/reference.html +++ b/expat/doc/reference.html @@ -1038,9 +1038,13 @@ typedef int XML_Encoding *info);

Set a handler to deal with encodings other than the -built in set. 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.

+built in set. This should be done before +XML_Parse or XML_ParseBuffer have been called on the given parser.

+

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 encodingHandlerData +will be passed back to the handler.

     typedef struct {