mmidy       00/12/15 07:28:01

  Modified:    java/src/org/apache/xalan/templates OutputProperties.java
  Log:
  Don't append a space after the last property value
  
  Revision  Changes    Path
  1.7       +3 -1      
xml-xalan/java/src/org/apache/xalan/templates/OutputProperties.java
  
  Index: OutputProperties.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/templates/OutputProperties.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- OutputProperties.java     2000/12/12 22:10:41     1.6
  +++ OutputProperties.java     2000/12/15 15:28:00     1.7
  @@ -673,7 +673,9 @@
         QName qname = (QName) v.elementAt(i);
   
         fsb.append(qname.toNamespacedString());
  -      fsb.append(' ');
  +      // Don't append space after last value
  +      if (i < s-1) 
  +        fsb.append(' ');
       }
   
       m_properties.put(key, fsb.toString());
  
  
  

Reply via email to