W3C home > Mailing lists > Public > xproc-dev@w3.org > April 2012

RE: xsl:message support

From: <vojtech.toman@emc.com>
Date: Tue, 3 Apr 2012 02:29:33 -0400
To: <xproc-dev@w3.org>
Message-ID: <F3C7EBECE80AC346BE4D1C5A9BB4A41F2ED0279C95@MX11A.corp.emc.com>
Hi Wendell,

Currently, the only standard way to get the results of xsl:message is using the p:try/p:catch step. This, however, works only in the cases when you use <xsl:message terminate="yes">. Without terminate set to "yes", you cannot access the messages.

You can find an example of this in the XProc specification: http://www.w3.org/TR/xproc/#error-example, or in this XProc test: http://tests.xproc.org/tests/required/try-003.xml


Regards,
Vojtech

--
Vojtech Toman
Consultant Software Engineer
EMC | Information Intelligence Group
vojtech.toman@emc.com
http://developer.emc.com/xmltech


> -----Original Message-----
> From: Wendell Piez [mailto:wapiez@mulberrytech.com]
> Sent: Monday, April 02, 2012 8:50 PM
> To: xproc-dev@w3.org
> Subject: xsl:message support
> 
> Hi,
> 
> First off, thanks for those who responded to my most recent newbie
> post,
> regarding getting hex notation in Unicode character references.
> 
> Today's is another question regarding something for which there may be
> only soft support or none at all.
> 
> What do I need to know about using xsl:message in an XProc context?
> 
> I gather that the results of xsl:message aren't accessible in Calabash,
> except maybe in a log?
> 
> Is there any way to make them accessible? How should I approach using
> try/catch, if it's applicable, or any other means to make this
> information available to users?
> 
> Or instead of using xsl:message should I just use be using XML and run
> through filters to siphon the messages out from the main results?
> 
> Thanks,
> Wendell
> 
> ======================================================================
> Wendell Piez                            mailto:wapiez@mulberrytech.com
> Mulberry Technologies, Inc.                http://www.mulberrytech.com

> 17 West Jefferson Street                    Direct Phone: 301/315-9635
> Suite 207                                          Phone: 301/315-9631
> Rockville, MD  20850                                 Fax: 301/315-8285
> ----------------------------------------------------------------------
>    Mulberry Technologies: A Consultancy Specializing in SGML and XML
> ======================================================================
> 

Received on Tuesday, 3 April 2012 06:30:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:30:16 GMT