summaryrefslogtreecommitdiffstats
path: root/src/dom/domstream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dom/domstream.cpp')
-rwxr-xr-xsrc/dom/domstream.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dom/domstream.cpp b/src/dom/domstream.cpp
index 1129a7f46..e09743043 100755
--- a/src/dom/domstream.cpp
+++ b/src/dom/domstream.cpp
@@ -43,6 +43,7 @@
#include <stdarg.h>
#include "domstream.h"
+#include "charclass.h"
namespace org
{
@@ -245,7 +246,7 @@ DOMString BasicReader::readWord()
while (available() > 0)
{
XMLCh ch = get();
- if (!isprint(ch))
+ if (isWhitespace(ch))
break;
str.push_back(ch);
}