diff options
author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-01-08 15:17:40 +0100 |
---|---|---|
committer | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-01-08 15:17:40 +0100 |
commit | 33b92b72ed160f22dc627e841d5f84de4ebc0c6c (patch) | |
tree | 597ebe6611f4317901817d05e00d8388e9960bf0 /test | |
parent | fd8ce97afb16e17102ec8f109103ed334ad0e939 (diff) |
Changed the DemoOutput algorithm as suggested by Andreas: We first transform the document graph to an XML tree and the XML tree in turn has the methods to serialize to XML text, or, in this case, XHTML text.
Diffstat (limited to 'test')
-rw-r--r-- | test/core/XMLTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/core/XMLTest.cpp b/test/core/XMLTest.cpp index aeedb86..124b58d 100644 --- a/test/core/XMLTest.cpp +++ b/test/core/XMLTest.cpp @@ -50,6 +50,7 @@ TEST(Node, testSerialize) // Now this is what we expect to see: std::string expected{ + "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" "<html>\n" "\t<head>\n" "\t\t<title>\n" |