commit 72e9926a6156f6c9dc465616f4cf73593ab92d03
parent d4c8c60b3885873dcc212c8134f23b2739aedbd2
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 1 Feb 2020 19:51:00 +0100
sync README.xml comment about white-space handling
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/README.xml b/README.xml
@@ -46,6 +46,9 @@ Caveats
called multiple times for the same tag if the data size is bigger than the
internal buffer size (sizeof(XMLParser.data)). To differentiate between new
calls for data you can use the xml*start and xml*end handlers.
+- It does not handle XML white-space rules for tag data. The raw values
+ including white-space is passed. This is useful in some cases, like for
+ HTML <pre> tags.
- The XML specification has no limits on tag and attribute names. For
simplicity/sanity sake this XML parser takes some liberties. Tag and
attribute names are truncated.