Restricting maximum tag length