OSDN Git Service

* Added test code of the blockquote tag for XHTML1.0 converter.
authorkonn <konn@1a406e8e-add9-4483-a2c8-d8cac5b7c224>
Fri, 17 Oct 2008 15:18:58 +0000 (15:18 +0000)
committerkonn <konn@1a406e8e-add9-4483-a2c8-d8cac5b7c224>
Fri, 17 Oct 2008 15:18:58 +0000 (15:18 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/modchxj/mod_chxj/branches/sandbox@3339 1a406e8e-add9-4483-a2c8-d8cac5b7c224

test/chxj_ixhtml10/test_chxj_ixhtml10.c

index 9c398b3..6455e83 100644 (file)
@@ -24346,10 +24346,10 @@ void test_ixhtml10_blockquote_tag_with_css_002()
 {
 #define  TEST_STRING "<html><head>" \
                      "</head><body><blockquote style=\"color:#ff0000\">あいう</blockquote></body></html>"
-#define  RESULT_STRING "<?xml version='1.0' encoding='Shift_JIS' ?>" \
-                       "<!DOCTYPE html PUBLIC \"-//J-PHONE//DTD XHTML Basic 1.0 Plus//EN\" \"html-basic10-plus.dtd\">" \
-                       "<html>" \
-                       "<head></head><body><div><blockquote style=\"color:#ff0000;\">あいう</blockquote></div></body></html>"
+#define  RESULT_STRING "<?xml version=\"1.0\" encoding=\"Shift_JIS\" ?>" \
+                       "<!DOCTYPE html PUBLIC \"-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/1.0) 1.0//EN\" \"i-xhtml_4ja_10.dtd\">" \
+                       "<html xmlns=\"http://www.w3.org/1999/xhtml\">" \
+                       "<head></head><body><blockquote style=\"color:#ff0000;\">あいう</blockquote></body></html>"
   char  *ret;
   char  *tmp;
   device_table spec;
@@ -24397,10 +24397,10 @@ void test_ixhtml10_blockquote_tag_with_css_003()
 {
 #define  TEST_STRING "<html><head><link rel=\"stylesheet\" href=\"http://localhost/a.css\"  type=\"text/css\" />" \
                      "</head><body><blockquote>あいう</blockquote></body></html>"
-#define  RESULT_STRING "<?xml version='1.0' encoding='Shift_JIS' ?>" \
-                       "<!DOCTYPE html PUBLIC \"-//J-PHONE//DTD XHTML Basic 1.0 Plus//EN\" \"html-basic10-plus.dtd\">" \
-                       "<html>" \
-                       "<head></head><body><div><blockquote style=\"font-size:xx-small;\">あいう</blockquote></div></body></html>"
+#define  RESULT_STRING "<?xml version=\"1.0\" encoding=\"Shift_JIS\" ?>" \
+                       "<!DOCTYPE html PUBLIC \"-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/1.0) 1.0//EN\" \"i-xhtml_4ja_10.dtd\">" \
+                       "<html xmlns=\"http://www.w3.org/1999/xhtml\">" \
+                       "<head></head><body><blockquote style=\"font-size:xx-small;\">あいう</blockquote></body></html>"
   char  *ret;
   char  *tmp;
   device_table spec;