The San Antonio city council is considering an ordinance that would seem to bar anyone who opposes homosexuality from serving in public office or getting a city contract.