A court in Shanghai has revoked a mother’s guardianship of her eight-year-old daughter after she refused to send the girl to school, claiming she was “setting an example of home schooling for humanity”.