Draft text leaked in Copenhagen, roiling talks