#14, #57: Support maxlength attribute