When an table using HTML markup is output to HTML, the @id and @scope attributes on td or th are not copied through. All other HTML-like attributes are enumerated and copied through in mode="htmlTableAtt", so this looks like an oversight.
I checked in the fix to include these two attributes in mode="htmlTableAtt".
I checked in the fix to include these two attributes in mode="htmlTableAtt".