Project

Profile

Help

Revision f99a73fd

Added by Michael Kay almost 8 years ago

Fix the incorrect patch for bug 1973

View differences:

latest9.5/hej/net/sf/saxon/serialize/HTMLEmitter.java
79 79

  
80 80
    // we use two HashMaps to avoid unnecessary string concatenations
81 81

  
82
    private static HTMLTagHashSet booleanAttributes = new HTMLTagHashSet(31);
83
    private static HTMLTagHashSet booleanCombinations = new HTMLTagHashSet(53);
82
    // Sizes must be large enough: this hash set cannot grow beyond the initial size
83
    private static HTMLTagHashSet booleanAttributes = new HTMLTagHashSet(43);
84
    private static HTMLTagHashSet booleanCombinations = new HTMLTagHashSet(57);
84 85

  
85 86
    static {
86 87
            setBooleanAttribute("*", "hidden"); // HTML5

Also available in: Unified diff