gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/net/html/testdata/webkit/entities01.dat (about)

     1  #data
     2  FOO>BAR
     3  #errors
     4  (1,3): expected-doctype-but-got-chars
     5  #document
     6  | <html>
     7  |   <head>
     8  |   <body>
     9  |     "FOO>BAR"
    10  
    11  #data
    12  FOO&gtBAR
    13  #errors
    14  (1,3): expected-doctype-but-got-chars
    15  (1,6): named-entity-without-semicolon
    16  #new-errors
    17  (1:7) missing-semicolon-after-character-reference
    18  #document
    19  | <html>
    20  |   <head>
    21  |   <body>
    22  |     "FOO>BAR"
    23  
    24  #data
    25  FOO&gt BAR
    26  #errors
    27  (1,3): expected-doctype-but-got-chars
    28  (1,6): named-entity-without-semicolon
    29  #new-errors
    30  (1:7) missing-semicolon-after-character-reference
    31  #document
    32  | <html>
    33  |   <head>
    34  |   <body>
    35  |     "FOO> BAR"
    36  
    37  #data
    38  FOO&gt;;;BAR
    39  #errors
    40  (1,3): expected-doctype-but-got-chars
    41  #document
    42  | <html>
    43  |   <head>
    44  |   <body>
    45  |     "FOO>;;BAR"
    46  
    47  #data
    48  I'm &notit; I tell you
    49  #errors
    50  (1,4): expected-doctype-but-got-chars
    51  (1,9): named-entity-without-semicolon
    52  #new-errors
    53  (1:9) missing-semicolon-after-character-reference
    54  #document
    55  | <html>
    56  |   <head>
    57  |   <body>
    58  |     "I'm ¬it; I tell you"
    59  
    60  #data
    61  I'm &notin; I tell you
    62  #errors
    63  (1,4): expected-doctype-but-got-chars
    64  #document
    65  | <html>
    66  |   <head>
    67  |   <body>
    68  |     "I'm ∉ I tell you"
    69  
    70  #data
    71  &ammmp;
    72  #errors
    73  (1,1): expected-doctype-but-got-chars
    74  (1,7): unknown-named-character-reference
    75  #new-errors
    76  (1:7) unknown-named-character-reference
    77  #document
    78  | <html>
    79  |   <head>
    80  |   <body>
    81  |     "&ammmp;"
    82  
    83  #data
    84  &ammmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmp;
    85  #errors
    86  (1,1): expected-doctype-but-got-chars
    87  (1,950): unknown-named-character-reference
    88  #new-errors
    89  (1:950) unknown-named-character-reference
    90  #document
    91  | <html>
    92  |   <head>
    93  |   <body>
    94  |     "&ammmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmp;"
    95  
    96  #data
    97  FOO& BAR
    98  #errors
    99  (1,3): expected-doctype-but-got-chars
   100  #document
   101  | <html>
   102  |   <head>
   103  |   <body>
   104  |     "FOO& BAR"
   105  
   106  #data
   107  FOO&<BAR>
   108  #errors
   109  (1,3): expected-doctype-but-got-chars
   110  (1,9): expected-closing-tag-but-got-eof
   111  #document
   112  | <html>
   113  |   <head>
   114  |   <body>
   115  |     "FOO&"
   116  |     <bar>
   117  
   118  #data
   119  FOO&&&&gt;BAR
   120  #errors
   121  (1,3): expected-doctype-but-got-chars
   122  #document
   123  | <html>
   124  |   <head>
   125  |   <body>
   126  |     "FOO&&&>BAR"
   127  
   128  #data
   129  FOO&#41;BAR
   130  #errors
   131  (1,3): expected-doctype-but-got-chars
   132  #document
   133  | <html>
   134  |   <head>
   135  |   <body>
   136  |     "FOO)BAR"
   137  
   138  #data
   139  FOO&#x41;BAR
   140  #errors
   141  (1,3): expected-doctype-but-got-chars
   142  #document
   143  | <html>
   144  |   <head>
   145  |   <body>
   146  |     "FOOABAR"
   147  
   148  #data
   149  FOO&#X41;BAR
   150  #errors
   151  (1,3): expected-doctype-but-got-chars
   152  #document
   153  | <html>
   154  |   <head>
   155  |   <body>
   156  |     "FOOABAR"
   157  
   158  #data
   159  FOO&#BAR
   160  #errors
   161  (1,3): expected-doctype-but-got-chars
   162  (1,5): expected-numeric-entity
   163  #new-errors
   164  (1:6) absence-of-digits-in-numeric-character-reference
   165  #document
   166  | <html>
   167  |   <head>
   168  |   <body>
   169  |     "FOO&#BAR"
   170  
   171  #data
   172  FOO&#ZOO
   173  #errors
   174  (1,3): expected-doctype-but-got-chars
   175  (1,5): expected-numeric-entity
   176  #new-errors
   177  (1:6) absence-of-digits-in-numeric-character-reference
   178  #document
   179  | <html>
   180  |   <head>
   181  |   <body>
   182  |     "FOO&#ZOO"
   183  
   184  #data
   185  FOO&#xBAR
   186  #errors
   187  (1,3): expected-doctype-but-got-chars
   188  (1,7): expected-numeric-entity
   189  #new-errors
   190  (1:9) missing-semicolon-after-character-reference
   191  #document
   192  | <html>
   193  |   <head>
   194  |   <body>
   195  |     "FOOºR"
   196  
   197  #data
   198  FOO&#xZOO
   199  #errors
   200  (1,3): expected-doctype-but-got-chars
   201  (1,6): expected-numeric-entity
   202  #new-errors
   203  (1:7) absence-of-digits-in-numeric-character-reference
   204  #document
   205  | <html>
   206  |   <head>
   207  |   <body>
   208  |     "FOO&#xZOO"
   209  
   210  #data
   211  FOO&#XZOO
   212  #errors
   213  (1,3): expected-doctype-but-got-chars
   214  (1,6): expected-numeric-entity
   215  #new-errors
   216  (1:7) absence-of-digits-in-numeric-character-reference
   217  #document
   218  | <html>
   219  |   <head>
   220  |   <body>
   221  |     "FOO&#XZOO"
   222  
   223  #data
   224  FOO&#41BAR
   225  #errors
   226  (1,3): expected-doctype-but-got-chars
   227  (1,7): numeric-entity-without-semicolon
   228  #new-errors
   229  (1:8) missing-semicolon-after-character-reference
   230  #document
   231  | <html>
   232  |   <head>
   233  |   <body>
   234  |     "FOO)BAR"
   235  
   236  #data
   237  FOO&#x41BAR
   238  #errors
   239  (1,3): expected-doctype-but-got-chars
   240  (1,10): numeric-entity-without-semicolon
   241  #new-errors
   242  (1:11) missing-semicolon-after-character-reference
   243  #document
   244  | <html>
   245  |   <head>
   246  |   <body>
   247  |     "FOO䆺R"
   248  
   249  #data
   250  FOO&#x41ZOO
   251  #errors
   252  (1,3): expected-doctype-but-got-chars
   253  (1,8): numeric-entity-without-semicolon
   254  #new-errors
   255  (1:9) missing-semicolon-after-character-reference
   256  #document
   257  | <html>
   258  |   <head>
   259  |   <body>
   260  |     "FOOAZOO"
   261  
   262  #data
   263  FOO&#x0000;ZOO
   264  #errors
   265  (1,3): expected-doctype-but-got-chars
   266  (1,11): illegal-codepoint-for-numeric-entity
   267  #new-errors
   268  (1:12) null-character-reference
   269  #document
   270  | <html>
   271  |   <head>
   272  |   <body>
   273  |     "FOO�ZOO"
   274  
   275  #data
   276  FOO&#x0078;ZOO
   277  #errors
   278  (1,3): expected-doctype-but-got-chars
   279  #document
   280  | <html>
   281  |   <head>
   282  |   <body>
   283  |     "FOOxZOO"
   284  
   285  #data
   286  FOO&#x0079;ZOO
   287  #errors
   288  (1,3): expected-doctype-but-got-chars
   289  #document
   290  | <html>
   291  |   <head>
   292  |   <body>
   293  |     "FOOyZOO"
   294  
   295  #data
   296  FOO&#x0080;ZOO
   297  #errors
   298  (1,3): expected-doctype-but-got-chars
   299  (1,11): illegal-codepoint-for-numeric-entity
   300  #new-errors
   301  (1:12) control-character-reference
   302  #document
   303  | <html>
   304  |   <head>
   305  |   <body>
   306  |     "FOO€ZOO"
   307  
   308  #data
   309  FOO&#x0081;ZOO
   310  #errors
   311  (1,3): expected-doctype-but-got-chars
   312  (1,11): illegal-codepoint-for-numeric-entity
   313  #new-errors
   314  (1:12) control-character-reference
   315  #document
   316  | <html>
   317  |   <head>
   318  |   <body>
   319  |     "FOOZOO"
   320  
   321  #data
   322  FOO&#x0082;ZOO
   323  #errors
   324  (1,3): expected-doctype-but-got-chars
   325  (1,11): illegal-codepoint-for-numeric-entity
   326  #new-errors
   327  (1:12) control-character-reference
   328  #document
   329  | <html>
   330  |   <head>
   331  |   <body>
   332  |     "FOO‚ZOO"
   333  
   334  #data
   335  FOO&#x0083;ZOO
   336  #errors
   337  (1,3): expected-doctype-but-got-chars
   338  (1,11): illegal-codepoint-for-numeric-entity
   339  #new-errors
   340  (1:12) control-character-reference
   341  #document
   342  | <html>
   343  |   <head>
   344  |   <body>
   345  |     "FOOƒZOO"
   346  
   347  #data
   348  FOO&#x0084;ZOO
   349  #errors
   350  (1,3): expected-doctype-but-got-chars
   351  (1,11): illegal-codepoint-for-numeric-entity
   352  #new-errors
   353  (1:12) control-character-reference
   354  #document
   355  | <html>
   356  |   <head>
   357  |   <body>
   358  |     "FOO„ZOO"
   359  
   360  #data
   361  FOO&#x0085;ZOO
   362  #errors
   363  (1,3): expected-doctype-but-got-chars
   364  (1,11): illegal-codepoint-for-numeric-entity
   365  #new-errors
   366  (1:12) control-character-reference
   367  #document
   368  | <html>
   369  |   <head>
   370  |   <body>
   371  |     "FOO…ZOO"
   372  
   373  #data
   374  FOO&#x0086;ZOO
   375  #errors
   376  (1,3): expected-doctype-but-got-chars
   377  (1,11): illegal-codepoint-for-numeric-entity
   378  #new-errors
   379  (1:12) control-character-reference
   380  #document
   381  | <html>
   382  |   <head>
   383  |   <body>
   384  |     "FOO†ZOO"
   385  
   386  #data
   387  FOO&#x0087;ZOO
   388  #errors
   389  (1,3): expected-doctype-but-got-chars
   390  (1,11): illegal-codepoint-for-numeric-entity
   391  #new-errors
   392  (1:12) control-character-reference
   393  #document
   394  | <html>
   395  |   <head>
   396  |   <body>
   397  |     "FOO‡ZOO"
   398  
   399  #data
   400  FOO&#x0088;ZOO
   401  #errors
   402  (1,3): expected-doctype-but-got-chars
   403  (1,11): illegal-codepoint-for-numeric-entity
   404  #new-errors
   405  (1:12) control-character-reference
   406  #document
   407  | <html>
   408  |   <head>
   409  |   <body>
   410  |     "FOOˆZOO"
   411  
   412  #data
   413  FOO&#x0089;ZOO
   414  #errors
   415  (1,3): expected-doctype-but-got-chars
   416  (1,11): illegal-codepoint-for-numeric-entity
   417  #new-errors
   418  (1:12) control-character-reference
   419  #document
   420  | <html>
   421  |   <head>
   422  |   <body>
   423  |     "FOO‰ZOO"
   424  
   425  #data
   426  FOO&#x008A;ZOO
   427  #errors
   428  (1,3): expected-doctype-but-got-chars
   429  (1,11): illegal-codepoint-for-numeric-entity
   430  #new-errors
   431  (1:12) control-character-reference
   432  #document
   433  | <html>
   434  |   <head>
   435  |   <body>
   436  |     "FOOŠZOO"
   437  
   438  #data
   439  FOO&#x008B;ZOO
   440  #errors
   441  (1,3): expected-doctype-but-got-chars
   442  (1,11): illegal-codepoint-for-numeric-entity
   443  #new-errors
   444  (1:12) control-character-reference
   445  #document
   446  | <html>
   447  |   <head>
   448  |   <body>
   449  |     "FOO‹ZOO"
   450  
   451  #data
   452  FOO&#x008C;ZOO
   453  #errors
   454  (1,3): expected-doctype-but-got-chars
   455  (1,11): illegal-codepoint-for-numeric-entity
   456  #new-errors
   457  (1:12) control-character-reference
   458  #document
   459  | <html>
   460  |   <head>
   461  |   <body>
   462  |     "FOOŒZOO"
   463  
   464  #data
   465  FOO&#x008D;ZOO
   466  #errors
   467  (1,3): expected-doctype-but-got-chars
   468  (1,11): illegal-codepoint-for-numeric-entity
   469  #new-errors
   470  (1:12) control-character-reference
   471  #document
   472  | <html>
   473  |   <head>
   474  |   <body>
   475  |     "FOOZOO"
   476  
   477  #data
   478  FOO&#x008E;ZOO
   479  #errors
   480  (1,3): expected-doctype-but-got-chars
   481  (1,11): illegal-codepoint-for-numeric-entity
   482  #new-errors
   483  (1:12) control-character-reference
   484  #document
   485  | <html>
   486  |   <head>
   487  |   <body>
   488  |     "FOOŽZOO"
   489  
   490  #data
   491  FOO&#x008F;ZOO
   492  #errors
   493  (1,3): expected-doctype-but-got-chars
   494  (1,11): illegal-codepoint-for-numeric-entity
   495  #new-errors
   496  (1:12) control-character-reference
   497  #document
   498  | <html>
   499  |   <head>
   500  |   <body>
   501  |     "FOOZOO"
   502  
   503  #data
   504  FOO&#x0090;ZOO
   505  #errors
   506  (1,3): expected-doctype-but-got-chars
   507  (1,11): illegal-codepoint-for-numeric-entity
   508  #new-errors
   509  (1:12) control-character-reference
   510  #document
   511  | <html>
   512  |   <head>
   513  |   <body>
   514  |     "FOOZOO"
   515  
   516  #data
   517  FOO&#x0091;ZOO
   518  #errors
   519  (1,3): expected-doctype-but-got-chars
   520  (1,11): illegal-codepoint-for-numeric-entity
   521  #new-errors
   522  (1:12) control-character-reference
   523  #document
   524  | <html>
   525  |   <head>
   526  |   <body>
   527  |     "FOO‘ZOO"
   528  
   529  #data
   530  FOO&#x0092;ZOO
   531  #errors
   532  (1,3): expected-doctype-but-got-chars
   533  (1,11): illegal-codepoint-for-numeric-entity
   534  #new-errors
   535  (1:12) control-character-reference
   536  #document
   537  | <html>
   538  |   <head>
   539  |   <body>
   540  |     "FOO’ZOO"
   541  
   542  #data
   543  FOO&#x0093;ZOO
   544  #errors
   545  (1,3): expected-doctype-but-got-chars
   546  (1,11): illegal-codepoint-for-numeric-entity
   547  #new-errors
   548  (1:12) control-character-reference
   549  #document
   550  | <html>
   551  |   <head>
   552  |   <body>
   553  |     "FOO“ZOO"
   554  
   555  #data
   556  FOO&#x0094;ZOO
   557  #errors
   558  (1,3): expected-doctype-but-got-chars
   559  (1,11): illegal-codepoint-for-numeric-entity
   560  #new-errors
   561  (1:12) control-character-reference
   562  #document
   563  | <html>
   564  |   <head>
   565  |   <body>
   566  |     "FOO”ZOO"
   567  
   568  #data
   569  FOO&#x0095;ZOO
   570  #errors
   571  (1,3): expected-doctype-but-got-chars
   572  (1,11): illegal-codepoint-for-numeric-entity
   573  #new-errors
   574  (1:12) control-character-reference
   575  #document
   576  | <html>
   577  |   <head>
   578  |   <body>
   579  |     "FOO•ZOO"
   580  
   581  #data
   582  FOO&#x0096;ZOO
   583  #errors
   584  (1,3): expected-doctype-but-got-chars
   585  (1,11): illegal-codepoint-for-numeric-entity
   586  #new-errors
   587  (1:12) control-character-reference
   588  #document
   589  | <html>
   590  |   <head>
   591  |   <body>
   592  |     "FOO–ZOO"
   593  
   594  #data
   595  FOO&#x0097;ZOO
   596  #errors
   597  (1,3): expected-doctype-but-got-chars
   598  (1,11): illegal-codepoint-for-numeric-entity
   599  #new-errors
   600  (1:12) control-character-reference
   601  #document
   602  | <html>
   603  |   <head>
   604  |   <body>
   605  |     "FOO—ZOO"
   606  
   607  #data
   608  FOO&#x0098;ZOO
   609  #errors
   610  (1,3): expected-doctype-but-got-chars
   611  (1,11): illegal-codepoint-for-numeric-entity
   612  #new-errors
   613  (1:12) control-character-reference
   614  #document
   615  | <html>
   616  |   <head>
   617  |   <body>
   618  |     "FOO˜ZOO"
   619  
   620  #data
   621  FOO&#x0099;ZOO
   622  #errors
   623  (1,3): expected-doctype-but-got-chars
   624  (1,11): illegal-codepoint-for-numeric-entity
   625  #new-errors
   626  (1:12) control-character-reference
   627  #document
   628  | <html>
   629  |   <head>
   630  |   <body>
   631  |     "FOO™ZOO"
   632  
   633  #data
   634  FOO&#x009A;ZOO
   635  #errors
   636  (1,3): expected-doctype-but-got-chars
   637  (1,11): illegal-codepoint-for-numeric-entity
   638  #new-errors
   639  (1:12) control-character-reference
   640  #document
   641  | <html>
   642  |   <head>
   643  |   <body>
   644  |     "FOOšZOO"
   645  
   646  #data
   647  FOO&#x009B;ZOO
   648  #errors
   649  (1,3): expected-doctype-but-got-chars
   650  (1,11): illegal-codepoint-for-numeric-entity
   651  #new-errors
   652  (1:12) control-character-reference
   653  #document
   654  | <html>
   655  |   <head>
   656  |   <body>
   657  |     "FOO›ZOO"
   658  
   659  #data
   660  FOO&#x009C;ZOO
   661  #errors
   662  (1,3): expected-doctype-but-got-chars
   663  (1,11): illegal-codepoint-for-numeric-entity
   664  #new-errors
   665  (1:12) control-character-reference
   666  #document
   667  | <html>
   668  |   <head>
   669  |   <body>
   670  |     "FOOœZOO"
   671  
   672  #data
   673  FOO&#x009D;ZOO
   674  #errors
   675  (1,3): expected-doctype-but-got-chars
   676  (1,11): illegal-codepoint-for-numeric-entity
   677  #new-errors
   678  (1:12) control-character-reference
   679  #document
   680  | <html>
   681  |   <head>
   682  |   <body>
   683  |     "FOOZOO"
   684  
   685  #data
   686  FOO&#x009E;ZOO
   687  #errors
   688  (1,3): expected-doctype-but-got-chars
   689  (1,11): illegal-codepoint-for-numeric-entity
   690  #new-errors
   691  (1:12) control-character-reference
   692  #document
   693  | <html>
   694  |   <head>
   695  |   <body>
   696  |     "FOOžZOO"
   697  
   698  #data
   699  FOO&#x009F;ZOO
   700  #errors
   701  (1,3): expected-doctype-but-got-chars
   702  (1,11): illegal-codepoint-for-numeric-entity
   703  #new-errors
   704  (1:12) control-character-reference
   705  #document
   706  | <html>
   707  |   <head>
   708  |   <body>
   709  |     "FOOŸZOO"
   710  
   711  #data
   712  FOO&#x00A0;ZOO
   713  #errors
   714  (1,3): expected-doctype-but-got-chars
   715  #document
   716  | <html>
   717  |   <head>
   718  |   <body>
   719  |     "FOO ZOO"
   720  
   721  #data
   722  FOO&#xD7FF;ZOO
   723  #errors
   724  (1,3): expected-doctype-but-got-chars
   725  #document
   726  | <html>
   727  |   <head>
   728  |   <body>
   729  |     "FOO퟿ZOO"
   730  
   731  #data
   732  FOO&#xD800;ZOO
   733  #errors
   734  (1,3): expected-doctype-but-got-chars
   735  (1,11): illegal-codepoint-for-numeric-entity
   736  #new-errors
   737  (1:12) surrogate-character-reference
   738  #document
   739  | <html>
   740  |   <head>
   741  |   <body>
   742  |     "FOO�ZOO"
   743  
   744  #data
   745  FOO&#xD801;ZOO
   746  #errors
   747  (1,3): expected-doctype-but-got-chars
   748  (1,11): illegal-codepoint-for-numeric-entity
   749  #new-errors
   750  (1:12) surrogate-character-reference
   751  #document
   752  | <html>
   753  |   <head>
   754  |   <body>
   755  |     "FOO�ZOO"
   756  
   757  #data
   758  FOO&#xDFFE;ZOO
   759  #errors
   760  (1,3): expected-doctype-but-got-chars
   761  (1,11): illegal-codepoint-for-numeric-entity
   762  #new-errors
   763  (1:12) surrogate-character-reference
   764  #document
   765  | <html>
   766  |   <head>
   767  |   <body>
   768  |     "FOO�ZOO"
   769  
   770  #data
   771  FOO&#xDFFF;ZOO
   772  #errors
   773  (1,3): expected-doctype-but-got-chars
   774  (1,11): illegal-codepoint-for-numeric-entity
   775  #new-errors
   776  (1:12) surrogate-character-reference
   777  #document
   778  | <html>
   779  |   <head>
   780  |   <body>
   781  |     "FOO�ZOO"
   782  
   783  #data
   784  FOO&#xE000;ZOO
   785  #errors
   786  (1,3): expected-doctype-but-got-chars
   787  #document
   788  | <html>
   789  |   <head>
   790  |   <body>
   791  |     "FOOZOO"
   792  
   793  #data
   794  FOO&#x10FFFE;ZOO
   795  #errors
   796  (1,3): expected-doctype-but-got-chars
   797  (1,13): illegal-codepoint-for-numeric-entity
   798  #new-errors
   799  (1:14) noncharacter-character-reference
   800  #document
   801  | <html>
   802  |   <head>
   803  |   <body>
   804  |     "FOO􏿾ZOO"
   805  
   806  #data
   807  FOO&#x1087D4;ZOO
   808  #errors
   809  (1,3): expected-doctype-but-got-chars
   810  #document
   811  | <html>
   812  |   <head>
   813  |   <body>
   814  |     "FOO􈟔ZOO"
   815  
   816  #data
   817  FOO&#x10FFFF;ZOO
   818  #errors
   819  (1,3): expected-doctype-but-got-chars
   820  (1,13): illegal-codepoint-for-numeric-entity
   821  #new-errors
   822  (1:14) noncharacter-character-reference
   823  #document
   824  | <html>
   825  |   <head>
   826  |   <body>
   827  |     "FOO􏿿ZOO"
   828  
   829  #data
   830  FOO&#x110000;ZOO
   831  #errors
   832  (1,3): expected-doctype-but-got-chars
   833  (1,13): illegal-codepoint-for-numeric-entity
   834  #new-errors
   835  (1:14) character-reference-outside-unicode-range
   836  #document
   837  | <html>
   838  |   <head>
   839  |   <body>
   840  |     "FOO�ZOO"
   841  
   842  #data
   843  FOO&#xFFFFFF;ZOO
   844  #errors
   845  (1,3): expected-doctype-but-got-chars
   846  (1,13): illegal-codepoint-for-numeric-entity
   847  #new-errors
   848  (1:14) character-reference-outside-unicode-range
   849  #document
   850  | <html>
   851  |   <head>
   852  |   <body>
   853  |     "FOO�ZOO"
   854  
   855  #data
   856  FOO&#11111111111
   857  #errors
   858  (1,3): expected-doctype-but-got-chars
   859  (1,13): illegal-codepoint-for-numeric-entity
   860  (1,13): eof-in-numeric-entity
   861  #new-errors
   862  (1:17) missing-semicolon-after-character-reference
   863  (1:17) character-reference-outside-unicode-range
   864  #document
   865  | <html>
   866  |   <head>
   867  |   <body>
   868  |     "FOO�"
   869  
   870  #data
   871  FOO&#1111111111
   872  #errors
   873  (1,3): expected-doctype-but-got-chars
   874  (1,13): illegal-codepoint-for-numeric-entity
   875  (1,13): eof-in-numeric-entity
   876  #new-errors
   877  (1:16) missing-semicolon-after-character-reference
   878  (1:16) character-reference-outside-unicode-range
   879  #document
   880  | <html>
   881  |   <head>
   882  |   <body>
   883  |     "FOO�"
   884  
   885  #data
   886  FOO&#111111111111
   887  #errors
   888  (1,3): expected-doctype-but-got-chars
   889  (1,13): illegal-codepoint-for-numeric-entity
   890  (1,13): eof-in-numeric-entity
   891  #new-errors
   892  (1:18) missing-semicolon-after-character-reference
   893  (1:18) character-reference-outside-unicode-range
   894  #document
   895  | <html>
   896  |   <head>
   897  |   <body>
   898  |     "FOO�"
   899  
   900  #data
   901  FOO&#11111111111ZOO
   902  #errors
   903  (1,3): expected-doctype-but-got-chars
   904  (1,16): numeric-entity-without-semicolon
   905  (1,16): illegal-codepoint-for-numeric-entity
   906  #new-errors
   907  (1:17) missing-semicolon-after-character-reference
   908  (1:17) character-reference-outside-unicode-range
   909  #document
   910  | <html>
   911  |   <head>
   912  |   <body>
   913  |     "FOO�ZOO"
   914  
   915  #data
   916  FOO&#1111111111ZOO
   917  #errors
   918  (1,3): expected-doctype-but-got-chars
   919  (1,15): numeric-entity-without-semicolon
   920  (1,15): illegal-codepoint-for-numeric-entity
   921  #new-errors
   922  (1:16) missing-semicolon-after-character-reference
   923  (1:16) character-reference-outside-unicode-range
   924  #document
   925  | <html>
   926  |   <head>
   927  |   <body>
   928  |     "FOO�ZOO"
   929  
   930  #data
   931  FOO&#111111111111ZOO
   932  #errors
   933  (1,3): expected-doctype-but-got-chars
   934  (1,17): numeric-entity-without-semicolon
   935  (1,17): illegal-codepoint-for-numeric-entity
   936  #new-errors
   937  (1:18) missing-semicolon-after-character-reference
   938  (1:18) character-reference-outside-unicode-range
   939  #document
   940  | <html>
   941  |   <head>
   942  |   <body>
   943  |     "FOO�ZOO"