[libxml++] Fix typos.
- From: Murray Cumming <murrayc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libxml++] Fix typos.
- Date: Tue, 17 Nov 2009 11:08:39 +0000 (UTC)
commit 3a918e42f228e4c00d3d060774eba1fa85199d5a
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Nov 17 12:08:17 2009 +0100
Fix typos.
examples/dtdvalidation/main.cc | 4 ++--
libxml++/parsers/domparser.h | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/examples/dtdvalidation/main.cc b/examples/dtdvalidation/main.cc
index 3197b41..882aaea 100644
--- a/examples/dtdvalidation/main.cc
+++ b/examples/dtdvalidation/main.cc
@@ -50,7 +50,7 @@ int main(int argc, char* argv[])
{
#endif //LIBXMLCPP_EXCEPTIONS_ENABLED
validator.validate( &document );
- std::cout << "Validation successfull" << std::endl;
+ std::cout << "Validation successful" << std::endl;
#ifdef LIBXMLCPP_EXCEPTIONS_ENABLED
}
catch( const xmlpp::validity_error& )
@@ -70,7 +70,7 @@ int main(int argc, char* argv[])
#endif //LIBXMLCPP_EXCEPTIONS_ENABLED
xmlpp::DtdValidator validator2( dtdfilepath );
validator2.validate( &document );
- std::cout << "Validation successfull" << std::endl;
+ std::cout << "Validation successful" << std::endl;
#ifdef LIBXMLCPP_EXCEPTIONS_ENABLED
}
catch( const xmlpp::validity_error& )
diff --git a/libxml++/parsers/domparser.h b/libxml++/parsers/domparser.h
index 10a2595..cf8b926 100644
--- a/libxml++/parsers/domparser.h
+++ b/libxml++/parsers/domparser.h
@@ -25,33 +25,33 @@ public:
* @throw exception
* @param filename The path to the file.
* @param validate Whether the parser should validate the XML.
- */
+ */
explicit DomParser(const Glib::ustring& filename, bool validate = false);
virtual ~DomParser();
/** Parse an XML document from a file.
* @throw exception
* @param filename The path to the file.
- */
+ */
virtual void parse_file(const Glib::ustring& filename);
/** Parse an XML document from a string.
* @throw exception
* @param contents The XML document as a string.
- */
+ */
virtual void parse_memory(const Glib::ustring& contents);
/** Parse an XML document from raw memory.
* @throw exception
* @param contents The XML document as an array of bytes.
* @param bytes_count The number of bytes in the @a contents array.
- */
+ */
void parse_memory_raw(const unsigned char* contents, size_type bytes_count);
/** Parse an XML document from a stream.
* @throw exception
* @param in The stream.
- */
+ */
virtual void parse_stream(std::istream& in);
/** Test whether a document has been parsed.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]