parser/htmlparser/tests/mochitest/html5lib_tree_construction/entities01.dat

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 #data
     2 FOO&gt;BAR
     3 #errors
     4 (1,3): expected-doctype-but-got-chars
     5 #document
     6 | <html>
     7 |   <head>
     8 |   <body>
     9 |     "FOO>BAR"
    11 #data
    12 FOO&gtBAR
    13 #errors
    14 (1,3): expected-doctype-but-got-chars
    15 (1,6): named-entity-without-semicolon
    16 #document
    17 | <html>
    18 |   <head>
    19 |   <body>
    20 |     "FOO>BAR"
    22 #data
    23 FOO&gt BAR
    24 #errors
    25 (1,3): expected-doctype-but-got-chars
    26 (1,6): named-entity-without-semicolon
    27 #document
    28 | <html>
    29 |   <head>
    30 |   <body>
    31 |     "FOO> BAR"
    33 #data
    34 FOO&gt;;;BAR
    35 #errors
    36 (1,3): expected-doctype-but-got-chars
    37 #document
    38 | <html>
    39 |   <head>
    40 |   <body>
    41 |     "FOO>;;BAR"
    43 #data
    44 I'm &notit; I tell you
    45 #errors
    46 (1,4): expected-doctype-but-got-chars
    47 (1,9): named-entity-without-semicolon
    48 #document
    49 | <html>
    50 |   <head>
    51 |   <body>
    52 |     "I'm ¬it; I tell you"
    54 #data
    55 I'm &notin; I tell you
    56 #errors
    57 (1,4): expected-doctype-but-got-chars
    58 #document
    59 | <html>
    60 |   <head>
    61 |   <body>
    62 |     "I'm ∉ I tell you"
    64 #data
    65 FOO& BAR
    66 #errors
    67 (1,3): expected-doctype-but-got-chars
    68 #document
    69 | <html>
    70 |   <head>
    71 |   <body>
    72 |     "FOO& BAR"
    74 #data
    75 FOO&<BAR>
    76 #errors
    77 (1,3): expected-doctype-but-got-chars
    78 (1,9): expected-closing-tag-but-got-eof
    79 #document
    80 | <html>
    81 |   <head>
    82 |   <body>
    83 |     "FOO&"
    84 |     <bar>
    86 #data
    87 FOO&&&&gt;BAR
    88 #errors
    89 (1,3): expected-doctype-but-got-chars
    90 #document
    91 | <html>
    92 |   <head>
    93 |   <body>
    94 |     "FOO&&&>BAR"
    96 #data
    97 FOO&#41;BAR
    98 #errors
    99 (1,3): expected-doctype-but-got-chars
   100 #document
   101 | <html>
   102 |   <head>
   103 |   <body>
   104 |     "FOO)BAR"
   106 #data
   107 FOO&#x41;BAR
   108 #errors
   109 (1,3): expected-doctype-but-got-chars
   110 #document
   111 | <html>
   112 |   <head>
   113 |   <body>
   114 |     "FOOABAR"
   116 #data
   117 FOO&#X41;BAR
   118 #errors
   119 (1,3): expected-doctype-but-got-chars
   120 #document
   121 | <html>
   122 |   <head>
   123 |   <body>
   124 |     "FOOABAR"
   126 #data
   127 FOO&#BAR
   128 #errors
   129 (1,3): expected-doctype-but-got-chars
   130 (1,5): expected-numeric-entity
   131 #document
   132 | <html>
   133 |   <head>
   134 |   <body>
   135 |     "FOO&#BAR"
   137 #data
   138 FOO&#ZOO
   139 #errors
   140 (1,3): expected-doctype-but-got-chars
   141 (1,5): expected-numeric-entity
   142 #document
   143 | <html>
   144 |   <head>
   145 |   <body>
   146 |     "FOO&#ZOO"
   148 #data
   149 FOO&#xBAR
   150 #errors
   151 (1,3): expected-doctype-but-got-chars
   152 (1,7): expected-numeric-entity
   153 #document
   154 | <html>
   155 |   <head>
   156 |   <body>
   157 |     "FOOºR"
   159 #data
   160 FOO&#xZOO
   161 #errors
   162 (1,3): expected-doctype-but-got-chars
   163 (1,6): expected-numeric-entity
   164 #document
   165 | <html>
   166 |   <head>
   167 |   <body>
   168 |     "FOO&#xZOO"
   170 #data
   171 FOO&#XZOO
   172 #errors
   173 (1,3): expected-doctype-but-got-chars
   174 (1,6): expected-numeric-entity
   175 #document
   176 | <html>
   177 |   <head>
   178 |   <body>
   179 |     "FOO&#XZOO"
   181 #data
   182 FOO&#41BAR
   183 #errors
   184 (1,3): expected-doctype-but-got-chars
   185 (1,7): numeric-entity-without-semicolon
   186 #document
   187 | <html>
   188 |   <head>
   189 |   <body>
   190 |     "FOO)BAR"
   192 #data
   193 FOO&#x41BAR
   194 #errors
   195 (1,3): expected-doctype-but-got-chars
   196 (1,10): numeric-entity-without-semicolon
   197 #document
   198 | <html>
   199 |   <head>
   200 |   <body>
   201 |     "FOO䆺R"
   203 #data
   204 FOO&#x41ZOO
   205 #errors
   206 (1,3): expected-doctype-but-got-chars
   207 (1,8): numeric-entity-without-semicolon
   208 #document
   209 | <html>
   210 |   <head>
   211 |   <body>
   212 |     "FOOAZOO"
   214 #data
   215 FOO&#x0000;ZOO
   216 #errors
   217 (1,3): expected-doctype-but-got-chars
   218 (1,11): illegal-codepoint-for-numeric-entity
   219 #document
   220 | <html>
   221 |   <head>
   222 |   <body>
   223 |     "FOO�ZOO"
   225 #data
   226 FOO&#x0078;ZOO
   227 #errors
   228 (1,3): expected-doctype-but-got-chars
   229 #document
   230 | <html>
   231 |   <head>
   232 |   <body>
   233 |     "FOOxZOO"
   235 #data
   236 FOO&#x0079;ZOO
   237 #errors
   238 (1,3): expected-doctype-but-got-chars
   239 #document
   240 | <html>
   241 |   <head>
   242 |   <body>
   243 |     "FOOyZOO"
   245 #data
   246 FOO&#x0080;ZOO
   247 #errors
   248 (1,3): expected-doctype-but-got-chars
   249 (1,11): illegal-codepoint-for-numeric-entity
   250 #document
   251 | <html>
   252 |   <head>
   253 |   <body>
   254 |     "FOO€ZOO"
   256 #data
   257 FOO&#x0081;ZOO
   258 #errors
   259 (1,3): expected-doctype-but-got-chars
   260 (1,11): illegal-codepoint-for-numeric-entity
   261 #document
   262 | <html>
   263 |   <head>
   264 |   <body>
   265 |     "FOOZOO"
   267 #data
   268 FOO&#x0082;ZOO
   269 #errors
   270 (1,3): expected-doctype-but-got-chars
   271 (1,11): illegal-codepoint-for-numeric-entity
   272 #document
   273 | <html>
   274 |   <head>
   275 |   <body>
   276 |     "FOO‚ZOO"
   278 #data
   279 FOO&#x0083;ZOO
   280 #errors
   281 (1,3): expected-doctype-but-got-chars
   282 (1,11): illegal-codepoint-for-numeric-entity
   283 #document
   284 | <html>
   285 |   <head>
   286 |   <body>
   287 |     "FOOƒZOO"
   289 #data
   290 FOO&#x0084;ZOO
   291 #errors
   292 (1,3): expected-doctype-but-got-chars
   293 (1,11): illegal-codepoint-for-numeric-entity
   294 #document
   295 | <html>
   296 |   <head>
   297 |   <body>
   298 |     "FOO„ZOO"
   300 #data
   301 FOO&#x0085;ZOO
   302 #errors
   303 (1,3): expected-doctype-but-got-chars
   304 (1,11): illegal-codepoint-for-numeric-entity
   305 #document
   306 | <html>
   307 |   <head>
   308 |   <body>
   309 |     "FOO…ZOO"
   311 #data
   312 FOO&#x0086;ZOO
   313 #errors
   314 (1,3): expected-doctype-but-got-chars
   315 (1,11): illegal-codepoint-for-numeric-entity
   316 #document
   317 | <html>
   318 |   <head>
   319 |   <body>
   320 |     "FOO†ZOO"
   322 #data
   323 FOO&#x0087;ZOO
   324 #errors
   325 (1,3): expected-doctype-but-got-chars
   326 (1,11): illegal-codepoint-for-numeric-entity
   327 #document
   328 | <html>
   329 |   <head>
   330 |   <body>
   331 |     "FOO‡ZOO"
   333 #data
   334 FOO&#x0088;ZOO
   335 #errors
   336 (1,3): expected-doctype-but-got-chars
   337 (1,11): illegal-codepoint-for-numeric-entity
   338 #document
   339 | <html>
   340 |   <head>
   341 |   <body>
   342 |     "FOOˆZOO"
   344 #data
   345 FOO&#x0089;ZOO
   346 #errors
   347 (1,3): expected-doctype-but-got-chars
   348 (1,11): illegal-codepoint-for-numeric-entity
   349 #document
   350 | <html>
   351 |   <head>
   352 |   <body>
   353 |     "FOO‰ZOO"
   355 #data
   356 FOO&#x008A;ZOO
   357 #errors
   358 (1,3): expected-doctype-but-got-chars
   359 (1,11): illegal-codepoint-for-numeric-entity
   360 #document
   361 | <html>
   362 |   <head>
   363 |   <body>
   364 |     "FOOŠZOO"
   366 #data
   367 FOO&#x008B;ZOO
   368 #errors
   369 (1,3): expected-doctype-but-got-chars
   370 (1,11): illegal-codepoint-for-numeric-entity
   371 #document
   372 | <html>
   373 |   <head>
   374 |   <body>
   375 |     "FOO‹ZOO"
   377 #data
   378 FOO&#x008C;ZOO
   379 #errors
   380 (1,3): expected-doctype-but-got-chars
   381 (1,11): illegal-codepoint-for-numeric-entity
   382 #document
   383 | <html>
   384 |   <head>
   385 |   <body>
   386 |     "FOOŒZOO"
   388 #data
   389 FOO&#x008D;ZOO
   390 #errors
   391 (1,3): expected-doctype-but-got-chars
   392 (1,11): illegal-codepoint-for-numeric-entity
   393 #document
   394 | <html>
   395 |   <head>
   396 |   <body>
   397 |     "FOOZOO"
   399 #data
   400 FOO&#x008E;ZOO
   401 #errors
   402 (1,3): expected-doctype-but-got-chars
   403 (1,11): illegal-codepoint-for-numeric-entity
   404 #document
   405 | <html>
   406 |   <head>
   407 |   <body>
   408 |     "FOOŽZOO"
   410 #data
   411 FOO&#x008F;ZOO
   412 #errors
   413 (1,3): expected-doctype-but-got-chars
   414 (1,11): illegal-codepoint-for-numeric-entity
   415 #document
   416 | <html>
   417 |   <head>
   418 |   <body>
   419 |     "FOOZOO"
   421 #data
   422 FOO&#x0090;ZOO
   423 #errors
   424 (1,3): expected-doctype-but-got-chars
   425 (1,11): illegal-codepoint-for-numeric-entity
   426 #document
   427 | <html>
   428 |   <head>
   429 |   <body>
   430 |     "FOOZOO"
   432 #data
   433 FOO&#x0091;ZOO
   434 #errors
   435 (1,3): expected-doctype-but-got-chars
   436 (1,11): illegal-codepoint-for-numeric-entity
   437 #document
   438 | <html>
   439 |   <head>
   440 |   <body>
   441 |     "FOO‘ZOO"
   443 #data
   444 FOO&#x0092;ZOO
   445 #errors
   446 (1,3): expected-doctype-but-got-chars
   447 (1,11): illegal-codepoint-for-numeric-entity
   448 #document
   449 | <html>
   450 |   <head>
   451 |   <body>
   452 |     "FOO’ZOO"
   454 #data
   455 FOO&#x0093;ZOO
   456 #errors
   457 (1,3): expected-doctype-but-got-chars
   458 (1,11): illegal-codepoint-for-numeric-entity
   459 #document
   460 | <html>
   461 |   <head>
   462 |   <body>
   463 |     "FOO“ZOO"
   465 #data
   466 FOO&#x0094;ZOO
   467 #errors
   468 (1,3): expected-doctype-but-got-chars
   469 (1,11): illegal-codepoint-for-numeric-entity
   470 #document
   471 | <html>
   472 |   <head>
   473 |   <body>
   474 |     "FOO”ZOO"
   476 #data
   477 FOO&#x0095;ZOO
   478 #errors
   479 (1,3): expected-doctype-but-got-chars
   480 (1,11): illegal-codepoint-for-numeric-entity
   481 #document
   482 | <html>
   483 |   <head>
   484 |   <body>
   485 |     "FOO•ZOO"
   487 #data
   488 FOO&#x0096;ZOO
   489 #errors
   490 (1,3): expected-doctype-but-got-chars
   491 (1,11): illegal-codepoint-for-numeric-entity
   492 #document
   493 | <html>
   494 |   <head>
   495 |   <body>
   496 |     "FOO–ZOO"
   498 #data
   499 FOO&#x0097;ZOO
   500 #errors
   501 (1,3): expected-doctype-but-got-chars
   502 (1,11): illegal-codepoint-for-numeric-entity
   503 #document
   504 | <html>
   505 |   <head>
   506 |   <body>
   507 |     "FOO—ZOO"
   509 #data
   510 FOO&#x0098;ZOO
   511 #errors
   512 (1,3): expected-doctype-but-got-chars
   513 (1,11): illegal-codepoint-for-numeric-entity
   514 #document
   515 | <html>
   516 |   <head>
   517 |   <body>
   518 |     "FOO˜ZOO"
   520 #data
   521 FOO&#x0099;ZOO
   522 #errors
   523 (1,3): expected-doctype-but-got-chars
   524 (1,11): illegal-codepoint-for-numeric-entity
   525 #document
   526 | <html>
   527 |   <head>
   528 |   <body>
   529 |     "FOO™ZOO"
   531 #data
   532 FOO&#x009A;ZOO
   533 #errors
   534 (1,3): expected-doctype-but-got-chars
   535 (1,11): illegal-codepoint-for-numeric-entity
   536 #document
   537 | <html>
   538 |   <head>
   539 |   <body>
   540 |     "FOOšZOO"
   542 #data
   543 FOO&#x009B;ZOO
   544 #errors
   545 (1,3): expected-doctype-but-got-chars
   546 (1,11): illegal-codepoint-for-numeric-entity
   547 #document
   548 | <html>
   549 |   <head>
   550 |   <body>
   551 |     "FOO›ZOO"
   553 #data
   554 FOO&#x009C;ZOO
   555 #errors
   556 (1,3): expected-doctype-but-got-chars
   557 (1,11): illegal-codepoint-for-numeric-entity
   558 #document
   559 | <html>
   560 |   <head>
   561 |   <body>
   562 |     "FOOœZOO"
   564 #data
   565 FOO&#x009D;ZOO
   566 #errors
   567 (1,3): expected-doctype-but-got-chars
   568 (1,11): illegal-codepoint-for-numeric-entity
   569 #document
   570 | <html>
   571 |   <head>
   572 |   <body>
   573 |     "FOOZOO"
   575 #data
   576 FOO&#x009E;ZOO
   577 #errors
   578 (1,3): expected-doctype-but-got-chars
   579 (1,11): illegal-codepoint-for-numeric-entity
   580 #document
   581 | <html>
   582 |   <head>
   583 |   <body>
   584 |     "FOOžZOO"
   586 #data
   587 FOO&#x009F;ZOO
   588 #errors
   589 (1,3): expected-doctype-but-got-chars
   590 (1,11): illegal-codepoint-for-numeric-entity
   591 #document
   592 | <html>
   593 |   <head>
   594 |   <body>
   595 |     "FOOŸZOO"
   597 #data
   598 FOO&#x00A0;ZOO
   599 #errors
   600 (1,3): expected-doctype-but-got-chars
   601 #document
   602 | <html>
   603 |   <head>
   604 |   <body>
   605 |     "FOO ZOO"
   607 #data
   608 FOO&#xD7FF;ZOO
   609 #errors
   610 (1,3): expected-doctype-but-got-chars
   611 #document
   612 | <html>
   613 |   <head>
   614 |   <body>
   615 |     "FOO퟿ZOO"
   617 #data
   618 FOO&#xD800;ZOO
   619 #errors
   620 (1,3): expected-doctype-but-got-chars
   621 (1,11): illegal-codepoint-for-numeric-entity
   622 #document
   623 | <html>
   624 |   <head>
   625 |   <body>
   626 |     "FOO�ZOO"
   628 #data
   629 FOO&#xD801;ZOO
   630 #errors
   631 (1,3): expected-doctype-but-got-chars
   632 (1,11): illegal-codepoint-for-numeric-entity
   633 #document
   634 | <html>
   635 |   <head>
   636 |   <body>
   637 |     "FOO�ZOO"
   639 #data
   640 FOO&#xDFFE;ZOO
   641 #errors
   642 (1,3): expected-doctype-but-got-chars
   643 (1,11): illegal-codepoint-for-numeric-entity
   644 #document
   645 | <html>
   646 |   <head>
   647 |   <body>
   648 |     "FOO�ZOO"
   650 #data
   651 FOO&#xDFFF;ZOO
   652 #errors
   653 (1,3): expected-doctype-but-got-chars
   654 (1,11): illegal-codepoint-for-numeric-entity
   655 #document
   656 | <html>
   657 |   <head>
   658 |   <body>
   659 |     "FOO�ZOO"
   661 #data
   662 FOO&#xE000;ZOO
   663 #errors
   664 (1,3): expected-doctype-but-got-chars
   665 #document
   666 | <html>
   667 |   <head>
   668 |   <body>
   669 |     "FOOZOO"
   671 #data
   672 FOO&#x10FFFE;ZOO
   673 #errors
   674 (1,3): expected-doctype-but-got-chars
   675 (1,13): illegal-codepoint-for-numeric-entity
   676 #document
   677 | <html>
   678 |   <head>
   679 |   <body>
   680 |     "FOO􏿾ZOO"
   682 #data
   683 FOO&#x1087D4;ZOO
   684 #errors
   685 (1,3): expected-doctype-but-got-chars
   686 #document
   687 | <html>
   688 |   <head>
   689 |   <body>
   690 |     "FOO􈟔ZOO"
   692 #data
   693 FOO&#x10FFFF;ZOO
   694 #errors
   695 (1,3): expected-doctype-but-got-chars
   696 (1,13): illegal-codepoint-for-numeric-entity
   697 #document
   698 | <html>
   699 |   <head>
   700 |   <body>
   701 |     "FOO􏿿ZOO"
   703 #data
   704 FOO&#x110000;ZOO
   705 #errors
   706 (1,3): expected-doctype-but-got-chars
   707 (1,13): illegal-codepoint-for-numeric-entity
   708 #document
   709 | <html>
   710 |   <head>
   711 |   <body>
   712 |     "FOO�ZOO"
   714 #data
   715 FOO&#xFFFFFF;ZOO
   716 #errors
   717 (1,3): expected-doctype-but-got-chars
   718 (1,13): illegal-codepoint-for-numeric-entity
   719 #document
   720 | <html>
   721 |   <head>
   722 |   <body>
   723 |     "FOO�ZOO"

mercurial