Check wml content is valid