I have implemented a SPWebProvisioningProvider class which overrides the Provision method for a custom site definition. If I don't run any code, I get the 'select a template' page when I open up my new site collection. So I noticed some examples stating that you should call props.Web.ApplyWebTemplate. But when I do; the code seems to run into an andless loop calling the provisioning provider again, resulting in a stack overflow exception.
No one else seems to be having this problem, so I guess I'm making a mistake somewhere; but where?
Provision
method, and alsowebtemp_<your site>.xml
schema file?