This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
There should be one and only one head element in a valid page, but since we still try to run the tests on invalid pages, we may receive a page that contains more than one head elements. The stylesheet PageTitleTest.xsl already takes into account the case where they may be more than one title element, but does not expect that there may be more than one head element. When that happens, the checker crashes
Fixed the PageTitleTest stylesheet to take the first head into account (the presence of more than one head elements will be returned by the check on validity) Also fixed the same potential problem in functions.xsl in moki:get-retrieved-resource to select one base element when more than one head element is defined.