Canada prevailed late in beating Sweden 5-3 to open the ice hockey world championship Friday.