xmlparser

XML parser
git clone git://git.codemadness.org/xmlparser
Log | Files | Refs | README | LICENSE

commit 6204debcd10e48fd48f127f6eb514f7a9d7c50b8
parent 16af4b632b88af06bc89e97941ae7eb9e4b8ae00
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri,  3 Jan 2020 17:06:34 +0100

README: document white-space handling

Diffstat:
MREADME | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/README b/README @@ -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.