Don't throw when validating doctype/property aliases with dangerous chars