function whiteSpace() { $m = new xmlrpcmsg("dummy"); $fp = fopen($this->root . "/bug_whitespace.xml", "r"); $r = $m->parseResponseFile($fp); $v = $r->value(); fclose($fp); $s = $v->structmem("content"); $this->assertEquals("hello world. 2 newlines follow\n\n\nand there they were.", $s->scalarval()); }