From 015bb675d6eb177900c8ac94a6d35edc5ad90576 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Wed, 9 May 2018 00:11:35 +0200 Subject: 9.9 --- zenXml/zenxml/bind.h | 6 +++--- zenXml/zenxml/dom.h | 4 ++-- zenXml/zenxml/parser.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'zenXml') diff --git a/zenXml/zenxml/bind.h b/zenXml/zenxml/bind.h index 824c6cc6..e33809d2 100755 --- a/zenXml/zenxml/bind.h +++ b/zenXml/zenxml/bind.h @@ -78,7 +78,7 @@ public: \endcode Output: \verbatim - + 1 2 @@ -130,7 +130,7 @@ public: \endcode Output: \verbatim - + @@ -205,7 +205,7 @@ public: /** Example: Loop over all XML child elements named "Item" \verbatim - + 1 3 diff --git a/zenXml/zenxml/dom.h b/zenXml/zenxml/dom.h index c8959e4b..15700ee2 100755 --- a/zenXml/zenxml/dom.h +++ b/zenXml/zenxml/dom.h @@ -275,7 +275,7 @@ bool XmlElement::getValue(std::string& value) const { value = value_; return tru class XmlDoc { public: - ///Default constructor setting up an empty XML document with a standard declaration: + ///Default constructor setting up an empty XML document with a standard declaration: XmlDoc() {} XmlDoc(XmlDoc&& tmp) { swap(tmp); } @@ -350,7 +350,7 @@ private: XmlDoc& operator=(const XmlDoc&) = delete; std::string version_ { "1.0" }; - std::string encoding_{ "UTF-8" }; + std::string encoding_{ "utf-8" }; std::string standalone_; XmlElement root_{ "Root" }; diff --git a/zenXml/zenxml/parser.h b/zenXml/zenxml/parser.h index 5c6a9ec2..76497ce7 100755 --- a/zenXml/zenxml/parser.h +++ b/zenXml/zenxml/parser.h @@ -262,7 +262,7 @@ std::string serialize(const XmlDoc& doc, Grammar for XML parser ------------------------------- document-expression: - + element-expression: element-expression: -- cgit