Fix XML tests
This was SVN commit r6774.
This commit is contained in:
parent
228859da99
commit
f69c5fc25e
@ -4,11 +4,8 @@
|
||||
|
||||
#include "lib/file/io/write_buffer.h"
|
||||
|
||||
#include <xercesc/framework/MemBufInputSource.hpp>
|
||||
#include <libxml/parser.h>
|
||||
|
||||
XERCES_CPP_NAMESPACE_USE
|
||||
|
||||
class TestXeroXMB : public CxxTest::TestSuite
|
||||
{
|
||||
private:
|
||||
@ -98,7 +95,7 @@ public:
|
||||
|
||||
void test_iso88591()
|
||||
{
|
||||
XMBFile xmb (parse("<?xml version=\"1.0\" encoding=\"iso88591\"?><foo x='ሴ\xE1\x88\xB4'>ሴ\xE1\x88\xB4</foo>"));
|
||||
XMBFile xmb (parse("<?xml version=\"1.0\" encoding=\"iso-8859-1\"?><foo x='ሴ\xE1\x88\xB4'>ሴ\xE1\x88\xB4</foo>"));
|
||||
CStrW text;
|
||||
|
||||
text = xmb.GetRoot().GetText();
|
||||
|
Loading…
Reference in New Issue
Block a user