The following comment has been added to this issue:

     Author: Brian Minchau
    Created: Wed, 8 Sep 2004 8:55 AM
       Body:
Alexander,
please attach a test case.

Thanks
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XALANJ-1939?page=comments#action_52966

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XALANJ-1939

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XALANJ-1939
    Summary: Enumeration bug in TransformerImpl.setParameters
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: XalanJ2
   Versions:
             2.6

   Assignee: 
   Reporter: Alexander Peters

    Created: Wed, 8 Sep 2004 2:17 AM
    Updated: Wed, 8 Sep 2004 8:55 AM

Description:
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);



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.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