diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-04-22 23:02:28 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-04-22 23:02:28 +0900 |
| commit | 211c4ea9f45db6482f76ccc9945ee19fc78f7e9d (patch) | |
| tree | f3e637f9f0af186e8114b95258d9e37d7c766b51 /src/XmlRpcRequestParserStateImpl.h | |
| parent | 6ee58e28729f7332c353ea89271eb1e75e5bf0a4 (diff) | |
If no data type tag is used in XML-RPC, treat the data as string.
Diffstat (limited to 'src/XmlRpcRequestParserStateImpl.h')
| -rw-r--r-- | src/XmlRpcRequestParserStateImpl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/XmlRpcRequestParserStateImpl.h b/src/XmlRpcRequestParserStateImpl.h index c73aeb3a..40a1534e 100644 --- a/src/XmlRpcRequestParserStateImpl.h +++ b/src/XmlRpcRequestParserStateImpl.h @@ -121,12 +121,12 @@ class ValueXmlRpcRequestParserState:public XmlRpcRequestParserState { virtual void beginElement(XmlRpcRequestParserStateMachine* stm, const std::string& name, const std::map<std::string, std::string>& attrs); - +protected: virtual void endElement(XmlRpcRequestParserStateMachine* stm, const std::string& name, - const std::string& characters) {} + const std::string& characters); - virtual bool needsCharactersBuffering() const { return false; } + virtual bool needsCharactersBuffering() const { return true; } }; class IntXmlRpcRequestParserState:public XmlRpcRequestParserState { |
