summaryrefslogtreecommitdiff
path: root/docs/raptor-tutorial-parsing.xml
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2010-05-04 19:10:34 -0700
committerDave Beckett <dave@dajobe.org>2010-05-04 19:10:34 -0700
commit5d1a1918971286437ea6a231b21eb981ec07fad0 (patch)
treed32fef577a466f17766f3aac0e15c6860a88a605 /docs/raptor-tutorial-parsing.xml
parentf53feb31c687e4d40c692709b0737e5c8275f219 (diff)
downloadraptor-5d1a1918971286437ea6a231b21eb981ec07fad0.tar.gz
words
Diffstat (limited to 'docs/raptor-tutorial-parsing.xml')
-rw-r--r--docs/raptor-tutorial-parsing.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/raptor-tutorial-parsing.xml b/docs/raptor-tutorial-parsing.xml
index 8398da84..9bbd47b8 100644
--- a/docs/raptor-tutorial-parsing.xml
+++ b/docs/raptor-tutorial-parsing.xml
@@ -8,7 +8,7 @@
<para>
The typical sequence of operations to parse is to create a parser
-object, set various callback and features, start the parsing, send
+object, set various handlers and options, start the parsing, send
some syntax content to the parser object, finish the parsing and
destroy the parser object.</para>
@@ -368,7 +368,9 @@ and if <literal>NULL</literal> will cause the parsing to fail.
while(/* not finished getting content */) {
unsigned char *buffer;
size_t buffer_len;
- /* obtain some syntax content in buffer of size buffer_len bytes */
+
+ /* ... obtain some syntax content in buffer of size buffer_len bytes ... */
+
raptor_parser_parse_chunk(rdf_parser, buffer, buffer_len, 0);
}
raptor_parser_parse_chunk(rdf_parser, NULL, 0, 1); /* no data and is_end = 1 */