summaryrefslogtreecommitdiff
path: root/src/XmlRpcRequestParserStateMachine.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-11-09 00:21:02 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-11-09 00:21:02 +0900
commitf114a6fba42355b4b71e90c3bd128d9eb51b8fa3 (patch)
treec6d318f7bbfb4faa0db1c46392046f85cd0129b0 /src/XmlRpcRequestParserStateMachine.h
parentbdaa87c73b6ecf4d41ecbe6aa9d9e204887308db (diff)
Now xml attribute and characters in RPC request is not stripped at all.
Changed XmlRpcRequestParserState so that name is now const char*.
Diffstat (limited to 'src/XmlRpcRequestParserStateMachine.h')
-rw-r--r--src/XmlRpcRequestParserStateMachine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XmlRpcRequestParserStateMachine.h b/src/XmlRpcRequestParserStateMachine.h
index c9361e13..48137685 100644
--- a/src/XmlRpcRequestParserStateMachine.h
+++ b/src/XmlRpcRequestParserStateMachine.h
@@ -77,13 +77,13 @@ public:
~XmlRpcRequestParserStateMachine();
- void beginElement(const std::string& name,
+ void beginElement(const char* name,
const std::map<std::string, std::string>& attrs)
{
stateStack_.top()->beginElement(this, name, attrs);
}
- void endElement(const std::string& name, const std::string& characters)
+ void endElement(const char* name, const std::string& characters)
{
stateStack_.top()->endElement(this, name, characters);
stateStack_.pop();