ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional TraXLiaison.java
Date Thu, 06 Feb 2003 12:39:06 GMT
bodewig     2003/02/06 04:39:06

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional
                        TraXLiaison.java
  Log:
  set URI resolver on transformer factory as well.
  
  PR: 16809
  
  Revision  Changes    Path
  1.24      +4 -0      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java
  
  Index: TraXLiaison.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- TraXLiaison.java	1 Feb 2003 04:39:07 -0000	1.23
  +++ TraXLiaison.java	6 Feb 2003 12:39:06 -0000	1.24
  @@ -308,6 +308,10 @@
               final Object[] pair = (Object[])attributes.elementAt(i);
               tfactory.setAttribute((String)pair[0], pair[1]);
           }
  +
  +        if (uriResolver != null) {
  +            tfactory.setURIResolver(uriResolver);
  +        }
           return tfactory;
       }
   
  
  
  

Mime
View raw message