Affects Version/s: 184.108.40.206
Fix Version/s: 2.5.8
Windows XP/SP2; WebSphere Application Server v220.127.116.11.
Make Struts action e.g:
Supply any XML by including some code like this in action class:
Supply the XSL file, sort of this:
At a run time it will generate the error:
with the following stack:
None of the <xsl:include> directive variations ("../filename", "WEB-INF/filename" etc) don't work.
- the URIResolver method in XSLTResult class is accessing the action context to get the realPath and use it as a base for included XSL file:
Path returned during the test was correct, like C:\Projects\DealApplication\WebContent. The XSL file existed and was well formed.
Suggestion: the base might be ignored and not applied to URI.