Re: stopping transformer mid-transform

Adam Jenkins <[email protected]>
Newsgroups gmane.text.xml.xalan.java.user
Message-ID <[email protected]>
I just found this method on TransformerImpl.java
 
  /**
   * NEEDSDOC Method stopTransformation 
   *
   */
  public void stopTransformation(){}
 
If someone can tell me in pseudo code what this method was supposed to do I'm happy to code it up and submit a patch.
 
Cheers
Adam

--- On Tue, 5/5/09, Adam Jenkins <[email protected]> wrote:


From: Adam Jenkins <[email protected]>
Subject: stopping transformer mid-transform
To: [email protected]
Received: Tuesday, 5 May, 2009, 5:30 PM



Hi Guys,

I want to put a cancel button on a Xalan GUI we've made for our transfomations, I was just wonder...once you've called transformer.transform(...), is there a nice way to cancel it (for long running tranformations or when some spanner has put an infinite loop in their xslt)?

Cheers
Adam


      Yahoo!7 recommends that you update your browser to the new Internet Explorer 8.Get it now.



      The new Internet Explorer 8 optimised for Yahoo!7: Faster, Safer, Easier.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.