From 0c1cbd4701b8a2e4d6f792f393bac3e3d04579b6 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Tue, 21 Aug 2018 21:14:07 +0200 Subject: README.xml: improve --- README.xml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'README.xml') diff --git a/README.xml b/README.xml index 664d9d9..091ca18 100644 --- a/README.xml +++ b/README.xml @@ -5,7 +5,7 @@ XML parser Dependencies ------------ -- C compiler (C99). +- C compiler (C99 expected). Features @@ -15,6 +15,7 @@ Features - Pretty simple API comparable with libexpat. - Pretty fast. - Portable +- No dynamic memory allocation. Supports @@ -34,12 +35,16 @@ Supports Caveats ------- +- It is not a compliant XML parser. +- The XML is not checked for errors so it will continue parsing XML data, this + is by design. - Internally fixed-size buffers are used, callbacks like XMLParser.xmldata are 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. -- The XML is not checked for errors so it will continue parsing XML data, this - is by design. +- 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. Files used -- cgit v1.2.3