W3C home > Mailing lists > Public > public-html-testsuite@w3.org > May 2012

Re: Tests for named character references in HTML

From: David Carlisle <davidc@nag.co.uk>
Date: Tue, 29 May 2012 10:07:36 +0100
Message-ID: <4FC491D8.4070907@nag.co.uk>
To: Mathias Bynens <mathias@qiwi.be>
Cc: public-html-testsuite@w3.org
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 &amp;rubbish; )
or
  &#999999999; (bad character number: parse as &#xFFFD;)
or

&copya (dubious use of a ;-less reference followed immediately by a letter
         parse as &copy;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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 29 May 2012 09:08:07 GMT