Re: Tests for named character references in HTML

On 29/05/2012 08:54, Mathias Bynens wrote:

 > Would there be any interest in having these tests submitted?

Not that I have any standing here but I'd be happy if they were 
submitted, looks a useful test thanks. I added a test for three or four 
"tricky" entity names in the math parsing test, but having a 
comprehensive test can't be a bad thing.


It would probably be worth testing behaviour on less good input as well, 
such as

&rubbish; (undefined entity: parse as &rubbish; )
or
  � (bad character number: parse as �)
or

&copya (dubious use of a ;-less reference followed immediately by a letter
         parse as ©a )

David


________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Received on Tuesday, 29 May 2012 09:08:06 UTC