added a rough draft xml validation section, closes #9