From 572bab6fe51ea0536646b336a3c12ac28f100ab1 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Thu, 24 Aug 2023 15:25:07 +0200 Subject: [PATCH] doc/reference.html: Replace mistaken "NULL" by "null" .. in context of string termination --- expat/doc/reference.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expat/doc/reference.html b/expat/doc/reference.html index 2edc8023..bb39d5cf 100644 --- a/expat/doc/reference.html +++ b/expat/doc/reference.html @@ -1914,7 +1914,7 @@ case of parameter entities and zero otherwise.

For internal entities (<!ENTITY foo "bar">), value will be non-NULL and systemId, publicId, and notationName will all be NULL. -The value string is not NULL terminated; the length is +The value string is not null-terminated; the length is provided in the value_length parameter. Do not use value_length to test for internal entities, since it is legal to have zero-length values. Instead check for whether or not