Raising error in jurisdiction for the first time on appeal

It is settled that jurisdiction of courts over the subject matter of the litigation of courts is determined by the allegations in the complaint. It is equally settled that an error in jurisdiction can be raised at any time and even for the first time on appeal. [G.R. No. 124292. December 10, 1996]