Character references > U+10FFFF

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Character references > U+10FFFF

Bjoern Hoehrmann

Dear XML Core Working Group,

  I was unable to locate tests like the following in the XML test suite.
Please include tests similar to the ones below in the test suite, there
are several XML processors that incorrectly accept them (e.g., the Opera
web browser):

  <p>Bj&#xFF000000F6;rn</p>          <!-- 32 bit integer overflow -->
  <p>Bj&#4294967542;rn</p>           <!-- 32 bit integer overflow -->
  <p>Bj&#xFFFFFFFF000000F6;rn</p>    <!-- 64 bit integer overflow -->
  <p>Bj&#18446744073709551862;rn</p> <!-- 64 bit integer overflow -->

I would recommend to re-construct these cases so that the word "FAIL"
instead of my name appears.

Thanks,
--
Björn Höhrmann · mailto:[hidden email] · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Character references > U+10FFFF

Henry S. Thompson
Bjoern Hoehrmann wrote [7 years ago!]:

>   I was unable to locate tests like the following in the XML test suite.
> Please include tests similar to the ones below in the test suite, there
> are several XML processors that incorrectly accept them (e.g., the Opera
> web browser):
>
>   <p>Bj&#xFF000000F6;rn</p>          <!-- 32 bit integer overflow -->
>   <p>Bj&#4294967542;rn</p>           <!-- 32 bit integer overflow -->
>   <p>Bj&#xFFFFFFFF000000F6;rn</p>    <!-- 64 bit integer overflow -->
>   <p>Bj&#18446744073709551862;rn</p> <!-- 64 bit integer overflow -->
>
> I would recommend to re-construct these cases so that the word "FAIL"
> instead of my name appears.

These have been added in CVS, and will be in the next release.

ht
--
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: [hidden email]
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Character references > U+10FFFF

Bjoern Hoehrmann
* Henry S. Thompson wrote:

>Bjoern Hoehrmann wrote [7 years ago!]:
>
>>   I was unable to locate tests like the following in the XML test suite.
>> Please include tests similar to the ones below in the test suite, there
>> are several XML processors that incorrectly accept them (e.g., the Opera
>> web browser):
>>
>>   <p>Bj&#xFF000000F6;rn</p>          <!-- 32 bit integer overflow -->
>>   <p>Bj&#4294967542;rn</p>           <!-- 32 bit integer overflow -->
>>   <p>Bj&#xFFFFFFFF000000F6;rn</p>    <!-- 64 bit integer overflow -->
>>   <p>Bj&#18446744073709551862;rn</p> <!-- 64 bit integer overflow -->
>>
>> I would recommend to re-construct these cases so that the word "FAIL"
>> instead of my name appears.
>
>These have been added in CVS, and will be in the next release.

I guess it's time to sell radiators to the light bringer...

Thanks!
--
Björn Höhrmann · mailto:[hidden email] · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Loading...