I need to generate a runtime error in an xslt. How to do so?
The following xpaths do not generate runtime errors:
- "1 div 0"
- "/*/*[1 div 0]"
- "/*/*[0]"
- "/*/*[NaN]"
It does not have to be done using xpath, could be done using some xslt construct.
The reason I want this is to effectively have a "NotImplementedException" in my xslt. There is a specific path that will not be used any time soon, so I do not want to implement it yet.