Added attribute check for xml properties