Re: Testing parse-html

> 
> BTW, ignoring javascript leads to being incognizant of a significant portion of Html in the browsers -- the Html that is generated dynamically by the javascript of the initially-loaded pages. This demonstrates a significant risk of not representing in the test-data a considerable portion of the Html documents that the web-browsers already have to deal with on a daily basis at present.

This is a valid point, but I think it's more a point about the use-cases for the parse-html() function than about testing. The parse-html() function does nothing with the script on the page, or with HTML that is generated by the script on the page, which (a) limits the usefulness of the function, and (b) limits what we need to test.

Michael Kay
Saxonica

Received on Friday, 23 December 2022 19:12:07 UTC