Bugzilla – Bug 799
[html4/xhtml1] message "param element has a required name attribute" reported even for param elements that have a name element
Last modified: 2010-12-12 13:49:30 CET
For HTML4/XHTML1 checking: data:text/html;charset=utf-8,<!DOCTYPE%20html>%0A<title></title>%0A<p>%0A<object%20data%3Dfoo>%0A<param%20name%3Dfoo%20value%3Dbar>%0A</object>%0A</p> ...causes a "param element has a required name attribute" message to be emitted. The cause is this assertion in the xhtml.sch file: <rule context="html:param"> <assert test="html:param/@name"> ... ...which should just be: <rule context="html:param"> <assert test="@name"> ... However, why is this check being done in the xhtml.sch file at all, instead of being expressed in the schema itself?
(In reply to comment #0) > However, why is this check being done in the xhtml.sch file at all, instead of > being expressed in the schema itself? No idea. It could be that it came from upstream that way. It could also be me goofing.
https://bitbucket.org/validator/validator/changeset/a73185742317