/[suikacvs]/markup/html/whatpm/t/tokenizer/test2.test
Suika

Diff of /markup/html/whatpm/t/tokenizer/test2.test

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by wakaba, Sat Jun 23 02:26:51 2007 UTC revision 1.3 by wakaba, Sat Jun 30 13:27:06 2007 UTC
# Line 42  Line 42 
42    
43  {"description":"Numeric entity representing the NUL character",  {"description":"Numeric entity representing the NUL character",
44  "input":"�",  "input":"�",
45  "output":[["Character", "\uFFFD"]]},  "output":["ParseError", ["Character", "\uFFFD"]]},
46    
47  {"description":"Hexadecimal entity representing the NUL character",  {"description":"Hexadecimal entity representing the NUL character",
48  "input":"�",  "input":"�",
49  "output":[["Character", "\uFFFD"]]},  "output":["ParseError", ["Character", "\uFFFD"]]},
50    
51  {"description":"Numeric entity representing a codepoint after 1114111 (U+10FFFF)",  {"description":"Numeric entity representing a codepoint after 1114111 (U+10FFFF)",
52  "input":"�",  "input":"�",
53  "output":[["Character", "\uFFFD"]]},  "output":["ParseError", ["Character", "\uFFFD"]]},
54    
55  {"description":"Hexadecimal entity representing a codepoint after 1114111 (U+10FFFF)",  {"description":"Hexadecimal entity representing a codepoint after 1114111 (U+10FFFF)",
56  "input":"�",  "input":"�",
57  "output":[["Character", "\uFFFD"]]},  "output":["ParseError", ["Character", "\uFFFD"]]},
58    
59    {"description":"Hexadecimal entity pair representing a surrogate pair",
60    "input":"��",
61    "output":["ParseError", ["Character", "\uFFFD"], "ParseError", ["Character", "\uFFFD"]]},
62    
63  {"description":"Numeric entity representing a Windows-1252 'codepoint'",  {"description":"Numeric entity representing a Windows-1252 'codepoint'",
64  "input":"‰",  "input":"‰",
# Line 118  Line 122 
122    
123  {"description":"Null Byte Replacement",  {"description":"Null Byte Replacement",
124  "input":"\u0000",  "input":"\u0000",
125  "output":[["Character", "\ufffd"]]}  "output":["ParseError", ["Character", "\ufffd"]]}
126    
127  ]}  ]}
128    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24