diff options
author | Morten Engvoldsen <morten.engvoldsen@nokia.com> | 2009-04-15 10:27:05 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-04-15 16:14:17 (GMT) |
commit | c88a6e3b4f49c8e79f617b0ac9e04a95a3db5764 (patch) | |
tree | c0366365bbf78b198f78daeceb934a3cfcd7d4e3 /doc/src | |
parent | aa082287ab51dd42c749e92431527c69f6adc078 (diff) | |
download | Qt-c88a6e3b4f49c8e79f617b0ac9e04a95a3db5764.zip Qt-c88a6e3b4f49c8e79f617b0ac9e04a95a3db5764.tar.gz Qt-c88a6e3b4f49c8e79f617b0ac9e04a95a3db5764.tar.bz2 |
Added remark about XML input
Stated a remark about the need to use well-formed XML as input to the example.
Rev-by: Geir Vattekar
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/examples/qxmlstreambookmarks.qdoc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/src/examples/qxmlstreambookmarks.qdoc b/doc/src/examples/qxmlstreambookmarks.qdoc index 7059043..47d5654 100644 --- a/doc/src/examples/qxmlstreambookmarks.qdoc +++ b/doc/src/examples/qxmlstreambookmarks.qdoc @@ -103,8 +103,11 @@ The \c read() function accepts a QIODevice and sets it using \l{QXmlStreamReader::setDevice()}{setDevice()}. The actual process - of reading only takes place in event the file is a valid XBEL 1.0 - file. Otherwise, the \l{QXmlStreamReader::raiseError()} + of reading only takes place if the file is a valid XBEL 1.0 file. + Note that the XML input needs to be well-formed to be accepted by + QXmlStreamReader. + + Otherwise, the \l{QXmlStreamReader::raiseError()} {raiseError()} function is used to display an error message. \snippet examples/xml/streambookmarks/xbelreader.cpp 1 |