You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Rainer Hermanns (JIRA)" <ji...@apache.org> on 2006/07/20 19:24:21 UTC

[jira] Closed: (WW-1255) XSLTResult - 3 issues

     [ http://issues.apache.org/struts/browse/WW-1255?page=all ]

Rainer Hermanns closed WW-1255.
-------------------------------

    Resolution: Fixed

Fixed in SVN

> XSLTResult - 3 issues
> ---------------------
>
>                 Key: WW-1255
>                 URL: http://issues.apache.org/struts/browse/WW-1255
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>    Affects Versions: WW 2.2.1
>         Environment: Any
>            Reporter: Claus Ibsen
>         Assigned To: Rainer Hermanns
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> There are 3 issues here
> #1:
> XSLTResult does not work with JDK1.5 out of the box.
> See XSLResultTest and enable the test, and run it under JDK1.5
> Both Rainer and I have this problem. Running on Mac OS and WinXP.
> I don't have the exception at hand, but it as a NPE in some SUN code.
> #2:
> XSLTResult requires the end user to have:
>    webwork.xslt.nocache = false|true 
> defined in webwork.properties
> The given exception is:
> org.springframework.beans.FatalBeanException: Could not instantiate class [com.opensymphony.webwork.views.xslt.XSLTResult]; constructor threw exception; nested exception is java.lang.IllegalArgumentException: No such setting:webwork.xslt.nocache
> 	org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:187)
> 	
> I think this should be improved with a better exception message so we can guide the end user
> to include this in webwork.properties.
> #3:
> XSLTResult
> It appears that it does not handle iteration. Only the first element is outputted.
> See XSLTResultTest.java with an example that ought to output at least 2 books.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira