It's a performance tradeoff, since attributes can occur in large numbers checking for all variations of casing is a big performance hit. Remember that in HTML attributes are case insensitive while in XHTML they are case-sensitive. Because ebooks usually work with XHTML calibre is optimized for that.
|