diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-08-21 21:14:07 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-08-21 21:21:03 +0200 |
commit | 0c1cbd4701b8a2e4d6f792f393bac3e3d04579b6 (patch) | |
tree | 36364f3177940b19286ab405d33ce03d3491dcdb | |
parent | 4c5e73624f488b7b20fb51b517b602c10b5ae32c (diff) |
README.xml: improve
-rw-r--r-- | README.xml | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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 |