Thousands lined up in the streets of Venezuela to say good-bye to former president Hugo Chávez.   

More than 55 leaders from five continents were on hand as the country prepared the formal state funeral of Chávez, who died Tuesday after a two-year-long battle with cancer. Following the funeral, the controversial swearing in of his anointed interim successor, Nicolás Maduro, was planned -- even as the opposition charged he had no constitutional right to the job.

The swearing in was adamantly opposed by Republican U.S. Senator Marco Rubio, who claimed it sent the world the wrong message. 

“It does not bode well that the first act of this new leadership is to ignore their own constitution," Rubio said in a statement. "The democratic nations of the Western Hemisphere should condemn this flagrant violation of the constitutional order.”

Friday's funeral promises to be a final turn on the world stage for Chávez after 14 tumultuous years in power, though in some ways the polarizing former paratrooper is not going anywhere: Venezuela announced Thursday that it would embalm his body and put it on permanent display.

Hours before the ceremony was to start, basic details were still unknown, even where it would be held. The most likely setting was a military academy where Chávez's body has lain in state since Wednesday. Since then, Venezuelans in their hundreds of thousands have filed past Chávez's glass-covered casket in a round-the-clock marathon of tears, prayers and military salutes.

The last of what the Venezuelan government says are more than 30 heads of state arrived for the funeral early Friday. 

Iranian President Mahmoud Ahmadinejad touched down after 1 a.m. and Chilean President Sebastian Pinera landed around dawn. U.S. Rep. Gregory Meeks, a New York Democrat, and former Rep. William Delahunt, a Democrat from Massachusetts, represented the United States, which Chávez often portrayed as a great global evil even as he sent the country billions of dollars in oil each year.

The normally traffic-choked streets of Caracas were empty early Friday with schools and many businesses shuttered. The government also prohibited alcohol sales. Many Venezuelans, particularly Chávez supporters, said they were caught up in the pomp and circumstance of the past few days, and flattered to be in the world's attention.

"This is historic ...I have never seen anything like it," said Edila Ojeda, a 57-year-old janitor. "He was a world leader recognized internationally. I am speechless. It is impressive."
Others said they were put off by what they saw as excess, particularly the plan to put Chávez's body on permanent display.

"He was a president, and I would say not a good one. Not a hero," said Gloria Ocampos, a retired office manager. "He should be buried, just like any other president. They are treating him like he was the father of the country ... It's crazy."

Following the funeral, National Assembly Speaker Diosdado Cabello was to swear in Vice President Nicolas Maduro as interim president, as Chávez desired, despite complaints by the opposition that Cabello is the rightful holder of that post under the constitution.
Cabello announced that the swearing in will be held at the same military academy complex where Chávez's body is lying in state. 

Normally, presidents in Venezuela are sworn in at the National Assembly.

The constitution says elections must be held within 30 days of Chávez's Mar. 5 death, though the government has not set a date. Maduro has announced he will be the candidate of Chávez's ruling socialist party against likely opposition candidate Henrique Capriles, and many expect him to ride the wave of emotion following Chávez's death to victory.

Friday's funeral promises a climax to three days of ceremony have followed Chávez's death, and Venezuelan media were filled with commentary about the outsized place the late leader held on the world stage. Foreign Minister Elias Jaua said countries from Cuba to China to Iran had declared days of national mourning for Chávez, highly unusual for the leader of another country.
For many Chávez supporters, and the political insiders he left behind, the task ahead will be continuing the president's political movement beyond his death.

Maduro announced Thursday that the late president's body will be embalmed and forever displayed inside a glass tomb at a military museum not far from the presidential palace from which he ruled. Analysts said the perpetual display was meant to keep Chávez's power structure alive, long after his death at age 58.

"Nicolas Maduro and his government are building an aura that makes it very difficult, I would say, that in the future, the opposition tries to promote an alternative to the government," said Oscar Valles, a political analyst at the Metropolitan University in Caracas.
Heart-broken supporters are clearly in favor of the effort.

"We must think about the future and how we are going to guarantee the continuity of the revolution," said Rolando Tarazon, a street vendor who was waiting with his wife to see Chávez's body lying in state at the military academy late Thursday.

Some lined up to see Chávez's body early Friday mixed politics with emotion.

"Chávez, we swear to you, we'll vote for Maduro!" they chanted.

Chávez was particularly beloved by the poor, whose lot he championed. But critics say he left his successors a monumental task, with inflation of more than 20 percent a year, and public debt quadrupling to more than $100 billion. Crime is endemic and Chávez's chaotic management style has been blamed for a breakdown in infrastructure, particularly in the key oil industry.

Some Venezuelans worried whether the nation's anointed leaders are up to the task of governing. Others said they wanted to learn when the election will be held.

"People are beginning to get back to their lives. One must keep working," said 40-year-old Caracas resident Laura Guerra, a Chávez supporter who said she was not yet sold on Maduro.

"I don't think he will be the same. I don't think he has the same strength that the 'comandante' had."

Based on reporting by the Associated Press

Follow us on twitter.com/foxnewslatino
Like us at facebook.com/foxnewslatino