I haven't actually got a date for 9.1. I've basically put a freeze on new features and am now testing. That could take two days or three weeks depending on what it uncovers. I try to avoid committing a date wherever possible because my experience is that it can so easily lead to shipping code before it's fully baked.
 
I've designed s9api so you can drop down into lower layer interfaces when you need to, but if you've got an existing JAXP application then you can't "escape upwards" in the same way; you would have to start with the s9api framework.
 
Regards,
 
Michael Kay
http://www.saxonica.com/


From: saxon-help-bounces@lists.sourceforge.net [mailto:saxon-help-bounces@lists.sourceforge.net] On Behalf Of martin.me.roberts@bt.com
Sent: 04 June 2008 16:59
To: saxon-help@lists.sourceforge.net
Subject: Re: [saxon] Getting message output and saxon errors from java

Michael,
  questions arising:
1) When is 9.1 available?
2) can you mix and match s9api with jaxp or will I have to reimplement my jaxp processing engine?
 
Martin


From: saxon-help-bounces@lists.sourceforge.net [mailto:saxon-help-bounces@lists.sourceforge.net] On Behalf Of Michael Kay
Sent: 04 June 2008 16:49
To: 'Mailing list for the SAXON XSLT and XQuery processor'
Subject: Re: [saxon] Getting message output and saxon errors from java

The interface for doing this is rather low-level, I'm afraid (there's a much cleaner interface coming as part of the 9.1 release of s9api).
 
Cast the Transformer to net.sf.saxon.Controller, and then use setMessageEmitter(Receiver r).
 
Each message (which in general is an XML document) is sent to the receiver as a sequence of events starting with a startDocument event and ending with endDocument. If you're only interested in the text of the message (no markup or typographical rendition), then write your Receiver as a subclass of net.sf.saxon.event.Sink, implementing two methods: characters() to append text to a StringBuffer, and endDocument() to display the contents of the StringBuffer to the screen (and empty the buffer).
 
Michael Kay
http://www.saxonica.com/


From: saxon-help-bounces@lists.sourceforge.net [mailto:saxon-help-bounces@lists.sourceforge.net] On Behalf Of martin.me.roberts@bt.com
Sent: 04 June 2008 16:07
To: saxon-help@lists.sourceforge.net
Subject: [saxon] Getting message output and saxon errors from java

Hi,
  I am using the JAXP interface and I am wondering how I can get hold of the message out put from the xslt processor so that I can display it on a screen for a user.  I would like to get it as it happens so I can build the output as it happens.
 
Martin