I found my problem.  I was not using $frame when I called the parser. 

 

$input = $parser->recursiveTagParse($input, $frame);  within my extension worked for me. 

 

Thanks,

 

Mary