W3C home > Mailing lists > Public > public-iri@w3.org > July 2011

Re: IRI normalization and escaping test results for DOM and HTTP

From: Chris Weber <chris@lookout.net>
Date: Tue, 12 Jul 2011 14:39:17 -0700
Message-ID: <4E1CBF05.2080109@lookout.net>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
On 7/10/2011 5:45 PM, Bjoern Hoehrmann wrote:
> * Chris Weber wrote:
>> I ran some tests to produce the following observations.
>> 1) Safari applies NFC normalization to the path, query, and fragment.
>> 2) Chrome applies NFC normalization to the fragment.
>> 3) MSIE sends raw, unescaped UTF-8 bytes in the query of an HTTP GET
>> request.
> My http://lists.w3.org/Archives/Public/www-html/2002Oct/0002.html would
> add results to yours, although they are nine years old and I have not
> checked them recently. I note that you don't say how you arrived at your
> conclusions. Does it happen in the address bar, XMLHttpRequest results,
> when clicking links, which encoding did you use or configure, and so on?

My conclusions were based on reviewing the following set of results 
associated with each test case.

1) the DOM property values for the anchor element, which included an 
individual TestCase along side an <img> element which included the same 
2) the raw HTTP GET request (for the img) as sniffed off the wire using 

The spreadsheet tab "Normalization Results" includes the HTML fragment 
containing each TestCase, and each TestCase is included inline in the 
table of results.  This fragment was included in the <body> of an <html> 
page with no DOCTYPE, so Quirks mode was tested using the UTF-8 charset 
as set by the HTTP header.

>> https://spreadsheets.google.com/spreadsheet/ccc?key=0AifoWoA0trUndEZSTlRRNnd5MzE3N3RYOVlIVFFMREE&hl=en_US#gid=3
>> https://spreadsheets.google.com/spreadsheet/ccc?key=0AifoWoA0trUndEZSTlRRNnd5MzE3N3RYOVlIVFFMREE&hl=en_US#gid=5
> I would encourage you to post your findings in a more portable format,
> like Microsoft Excel files or Java applets or something like that. I'm
> afraid the browser I use the most is not one "Google" "supports".

I've copied the Google docs spreadsheet to an excel file located at 
  I'll continue to update this file as I update the test plan and results.

I've sent a different message on this topic 
<http://lists.w3.org/Archives/Public/public-iri/2011Jul/0038.html> but 
it would seem that having a test plan in place that described some goals 
and methods for testing would allow us to discuss conclusions and 
results without having to question how we arrived at them.  Do you agree?

Thank you for the feedback,
Received on Tuesday, 12 July 2011 21:39:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:14:42 UTC