There is a maximum amount that can be contributed. At the bottom of page 1, the bill reads:the amount that is the lesser of the RESP dollar limit for the year and 18% of the taxpayer's earned income for the preceding tax year;
On February 8th, 2007. See this statement in context.