[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Handler for xsl:message in Java?

Subject: RE: Handler for xsl:message in Java?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 6 Jan 2006 13:07:27 -0000
xsl message java
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@xxxxxxxxx] 
> Sent: 06 January 2006 12:47
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.