summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2014-06-27 18:59:31 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2014-06-27 18:59:31 +0200
commitcb286e2062e2b0c8197c85ff9355aa359fa96097 (patch)
tree3863a375ce12667c042c8ba0f325515f52d9ed47
parentf6a0aabfa27e19ad57823e104db7eac1252e6f1f (diff)
improve wording
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
-rw-r--r--README.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/README.xml b/README.xml
index 2589f07..920d474 100644
--- a/README.xml
+++ b/README.xml
@@ -11,8 +11,8 @@ Dependencies
Features
--------
-- Relatively small parser suitable for embedded systems.
-- Pretty simple API comparable to libexpat.
+- Relatively small parser.
+- Pretty simple API comparable with libexpat.
Supports
@@ -29,10 +29,12 @@ Supports
Caveats
-------
-- Internally static buffers are used, callbacks like XMLParser.xmldata can be
+- Internally static 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 this
you can use xml*start and xml*end.
+- If xmlattrentity or xmldataentity is NULL it will pass the data to xmlattr
+ and xmldata.
- No table of (HTML / XML) named entities you should handle this with the
XMLParser.xmldataentity callback yourself.
- The XML is not checked for errors so it will happily continue parsing invalid
@@ -42,7 +44,7 @@ Caveats
Interface / API
---------------
-Should be straightforward, see xml.h
+Should be straightforward, see xml.{c,h} and the example below.
Files