diff options
Diffstat (limited to 'src/support/tuple')
-rw-r--r-- | src/support/tuple/xobject_value.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/support/tuple/xobject_value.cc b/src/support/tuple/xobject_value.cc index fac4d96..cdeb9c6 100644 --- a/src/support/tuple/xobject_value.cc +++ b/src/support/tuple/xobject_value.cc @@ -1,5 +1,7 @@ #include "xobject_value.h" +#include <boost/algorithm/string.hpp> + #include <string> #include "support/xalan_string.h" @@ -10,7 +12,7 @@ namespace XObjectValue { template <> std::string get<std::string>(const xalan::XObjectPtr& ptr) { - return toString(ptr->str()); + return boost::trim_copy(toString(ptr->str())); } template <> |