You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bo...@apache.org on 2003/02/06 13:39:06 UTC

cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional TraXLiaison.java

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;
       }
   
  
  
  

Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional TraXLiaison.java

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 07 Feb 2003, Conor MacNeill <co...@cortexebusiness.com.au>
wrote:

> - if you want to go ahead in the meantime, that would be cool.

will do, thanks.

Stefan

Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional TraXLiaison.java

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
Stefan Bodewig wrote:
> 
> Conor, do you see any problem with merging your latest changes in
> TraxLiaison into the 1.5 branch so this one could be merged as well?
> 

No problems - It will also need to XSLTProcess changes. We can bring this 
into 1.5.2, I think. I did a quick merge just then and got quite a few 
conflicts which I won't be able to get to till tomorrow - if you want to go 
ahead in the meantime, that would be cool.

Conor



Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional TraXLiaison.java

Posted by Stefan Bodewig <bo...@apache.org>.
On 6 Feb 2003, <bo...@apache.org> wrote:

>   set URI resolver on transformer factory as well.

this has been almost trivial in HEAD, but in the 1.5 branch it would
require moving liaison.setStylesheet in XSLTProcess after
configureTraxLiaison, a change I wouldn't want to do as I'm not able
to see all consequences.

Conor, do you see any problem with merging your latest changes in
TraxLiaison into the 1.5 branch so this one could be merged as well?

Stefan