I am using saxonica EE (trial version) for xslt transformation in java application, need a help on handling infinite loop while transforming a payload using XSLT. Is there any timeout we can configure for transformation so that if it goes to infinite loop we can timeout the request and it should not bring down the application?
I read that infinite loop will not cause stack-overflow in saxonica parser, so was time-out is better option to stop the transformation and throw an error.