You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Henry Zongaro (JIRA)" <xa...@xml.apache.org> on 2004/11/18 20:59:36 UTC

[jira] Updated: (XALANJ-1939) Enumeration bug in TransformerImpl.setParameters

     [ http://nagoya.apache.org/jira/browse/XALANJ-1939?page=history ]

Henry Zongaro updated XALANJ-1939:
----------------------------------

    Attachment: j1939.java

I believe the attached file j1939.java can be used to reproduce the problem.

> Enumeration bug in TransformerImpl.setParameters
> ------------------------------------------------
>
>          Key: XALANJ-1939
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-1939
>      Project: XalanJ2
>         Type: Bug
>   Components: JAXP
>     Versions: 2.6
>     Reporter: Alexander Peters
>  Attachments: j1939.java
>
> Hi all,
> the initialization of the transformer parameters failed by using the setParameters method. a look into the sourcecode shows a bug at the name attribute.
> kind regards,
> Alexander 
> public void setParameters(Properties params)
>   {
>     clearParameters();
>     Enumeration names = params.propertyNames();
>     while (names.hasMoreElements())
>     {
> -      String name = params.getProperty((String) names.nextElement());
> +       String name = (String) names.nextElement();
>       StringTokenizer tokenizer = new StringTokenizer(name, "{}", false);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org