A study of benzobisoxazole and benzobisthiazole compounds and polymers under hydrolytic conditions