From 877cf2319db4f1f8c5c8b9d06a7e5f8c7ba00e03 Mon Sep 17 00:00:00 2001 From: Myun2 Date: Wed, 21 Jul 2010 03:03:58 +0900 Subject: [PATCH] parser_test.cpp Update --- roast/test/lexical_test/parser_test.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/roast/test/lexical_test/parser_test.cpp b/roast/test/lexical_test/parser_test.cpp index 2b1c3052..9cc900c7 100644 --- a/roast/test/lexical_test/parser_test.cpp +++ b/roast/test/lexical_test/parser_test.cpp @@ -1,14 +1,19 @@ #//include "roast/xml/roast_dom_driver.hpp" #include "roast/xml/roast_xml/roast_xml_dom_parser.hpp" #include "roast/xml/roast_xml/roast_xml_sax_parser.hpp" +#include using namespace roast; using namespace roast::lexical; int main() { + FILE* fp = fopen("temp.xml","r"); + char work[256]; + fread(work,sizeof(work),1,fp); + //roast_xml::dom_parser wss("aaa"); - roast_xml::sax_parser wss("aaa"); + roast_xml::sax_parser wss(work); return 0; } -- 2.11.0