xsl-list
[Top] [All Lists]

RE: Handler for xsl:message in Java?

2006-01-06 06:07:27
It depends on the XSLT product you are using. Recent versions of the JAXP
spec actually say that xsl:message output should go to the ErrorListener,
but Saxon has never implemented that (the JAXP spec has a nasty habit of
changing the rules at each new version). Saxon has its own MessageEmitter
interface which predates that change.

Michael Kay
http://www.saxonica.com/

-----Original Message-----
From: Markus [mailto:markus01(_at_)gmail(_dot_)com] 
Sent: 06 January 2006 12:47
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Handler for xsl:message in Java?

Hi

 Is it possible to specify a handler for xsl:message in java
(especially for non-terminating messages)?
 We use xslt in a larger framework where I want to put warnings from a
stylesheet to a logger (instead of stdout).
 ErrorListener does not work, or is this my fault?

 Thanks,

 Markus Reinsch

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>