Add bug reference
Validations for XML elements and attributes
Minor naming and style corrections
Merge branch 'mgaskill-validation-for-xml-elements-and-attributes'