Bug #1973
closedHTML5 serialization: default attributes
100%
Description
HTML5 introduced quite a number of new boolean attributes, for example which need to be specially recognized by the serializer ( in the stylesheet should be output as in the HTML serialization. The newly introduced attributes are not recognized in Saxon 9.5, which is a non-conformance with the serialization specification.
Updated by Michael Kay over 10 years ago
- Status changed from New to Resolved
A patch has been applied to HTMLEmitter to add the boolean attributes defined in HTML5 (including "hidden" which is allowed on any HTML element).
Not yet tested, but low-risk.
Updated by Michael Kay over 10 years ago
Despite my confidence, the patch proved incorrect and I am submitting a revised version. (The custom hash table used for case-blind lookup of HTML attribute names cannot handle overflow beyond its initial size, so it must be allocated large enough to hold all entries).
Updated by O'Neil Delpratt over 10 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in version set to 9.5.1.4
Bug fix applied in Saxon maintenance release 9.5.1.4
Please register to edit this issue