Fixed: made the doctype name case insensitive
Fixed: both members of the comparison must be lowercased
Merge pull request #17 from jsilvestre/master

Fixed: made the doctype name case insensitive