Fix for localName and createDocumentType()