mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-05 05:05:00 +00:00
doc/reference.html: Replace mistaken "NULL" by "null"
.. in context of string termination
This commit is contained in:
parent
f2d934910c
commit
572bab6fe5
1 changed files with 1 additions and 1 deletions
|
@ -1914,7 +1914,7 @@ case of parameter entities and zero otherwise.</p>
|
|||
<p>For internal entities (<code><!ENTITY foo "bar"></code>),
|
||||
<code>value</code> will be non-<code>NULL</code> and <code>systemId</code>,
|
||||
<code>publicId</code>, and <code>notationName</code> will all be <code>NULL</code>.
|
||||
The value string is <em>not</em> <code>NULL</code> terminated; the length is
|
||||
The value string is <em>not</em> null-terminated; the length is
|
||||
provided in the <code>value_length</code> parameter. Do not use
|
||||
<code>value_length</code> to test for internal entities, since it is
|
||||
legal to have zero-length values. Instead check for whether or not
|
||||
|
|
Loading…
Add table
Reference in a new issue