summaryrefslogtreecommitdiff
path: root/doc/reference.html
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2016-05-04 10:42:31 +0100
committerPaul Duffin <paulduffin@google.com>2016-05-04 11:25:45 +0100
commitcee23496d017f13eccc125e2ab7044de53dec8da (patch)
tree53aec2e4b018247b4aa0a23a8bd5a0db84e48312 /doc/reference.html
parent718f25197aa07d995faedae79823b8778428c59c (diff)
downloadexpat-cee23496d017f13eccc125e2ab7044de53dec8da.tar.gz
Upgrade to expat 2.1.1
Modified the import_expat.sh script as the archive is now compressed using bzip2 instead of gzip and uses configure.ac instead of configure.in. Modified README.android to make the example command up to date with respect to the new archive format and also to ensure that it builds dependencies. All the remaining changes are straight from upstream. Bug: 27818751 Change-Id: Ia4d587e98a3f68b7133cdbcb0ca952e18fffcfe8
Diffstat (limited to 'doc/reference.html')
-rw-r--r--doc/reference.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/reference.html b/doc/reference.html
index 8811a339..a4ab4053 100644
--- a/doc/reference.html
+++ b/doc/reference.html
@@ -2151,8 +2151,12 @@ Helps in preventing DoS attacks based on predicting hash
function behavior. In order to have an effect this must be called
before parsing has started. Returns 1 if successful, 0 when called
after <code>XML_Parse</code> or <code>XML_ParseBuffer</code>.
-<p><b>Note:</b> This call is optional, as the parser will auto-generate a new
-random salt value if no value has been set at the start of parsing.</p>
+<p><b>Note:</b>This call is optional, as the parser will auto-generate
+a new random salt value if no value has been set at the start of parsing.
+<p><b>Note:</b>One should not call <code>XML_SetHashSalt</code> with a
+hash salt value of 0, as this value is used as sentinel value to indicate
+that <code>XML_SetHashSalt</code> has <b>not</b> been called. Consequently
+such a call will have no effect, even if it returns 1.</p>
</div>
<pre class="fcndec" id="XML_UseForeignDTD">