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

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

    Priority: Minor  (was: Major)

Note that this bug report is talking about an internal API of Xalan-Java - the 
setParameters method is not a method defined on the Transformer interface.  For 
this reason, I will reduce the priority.

> 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
>     Priority: Minor
>  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to