Project

Profile

Help

Bug #1973

closed

HTML5 serialization: default attributes

Added by Michael Kay over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Serialization
Sprint/Milestone:
-
Start date:
2014-01-07
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

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.

Actions #1

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.

Actions #2

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).

Actions #3

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

Also available in: Atom PDF