Added deprecation comment to validate_xml
Test validation the new way and the old way