Is there a simple way to disable external entity resolution in Saxon/C API?
No, there is no direct way at the moment to do this in Saxon/C. I have added this as a bug/feature request on our bug tracker site to address the issue. Please see:
Thanks and kind regards,