diff options
Diffstat (limited to 'zenXml')
-rwxr-xr-x | zenXml/zenxml/bind.h | 6 | ||||
-rwxr-xr-x | zenXml/zenxml/dom.h | 4 | ||||
-rwxr-xr-x | zenXml/zenxml/parser.h | 2 |
3 files changed, 6 insertions, 6 deletions
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 - <?xml version="1.0" encoding="UTF-8"?> + <?xml version="1.0" encoding="utf-8"?> <Root> <elem1>1</elem1> <elem2>2</elem2> @@ -130,7 +130,7 @@ public: \endcode Output: \verbatim - <?xml version="1.0" encoding="UTF-8"?> + <?xml version="1.0" encoding="utf-8"?> <Root> <elem attr1="1" attr2="2" attr3="-3"/> </Root> @@ -205,7 +205,7 @@ public: /** <b>Example:</b> Loop over all XML child elements named "Item" \verbatim - <?xml version="1.0" encoding="UTF-8"?> + <?xml version="1.0" encoding="utf-8"?> <Root> <Item>1</Item> <Item>3</Item> 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: <?xml version="1.0" encoding="UTF-8" ?> + ///Default constructor setting up an empty XML document with a standard declaration: <?xml version="1.0" encoding="utf-8" ?> 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: - <?xml version="1.0" encoding="UTF-8" standalone="yes"?> + <?xml version="1.0" encoding="utf-8" standalone="yes"?> element-expression: element-expression: |