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

Re: XSLT 3.0 Output and Serialization: Native XSLT me

Subject: Re: XSLT 3.0 Output and Serialization: Native XSLT message and error listeners?
From: Philip Fearon <pgfearo@xxxxxxxxxxxxxx>
Date: Mon, 21 Jan 2013 21:41:46 +0000
Re:  XSLT 3.0 Output and Serialization: Native XSLT  me
XProc does (as I understand - I've only recently started using
Calabash) at least already provide some means to process xsl:message
output - as stated in the spec at http://www.w3.org/TR/xproc/:

 it is common for all xsl:message output from the XSLT component to
appear on the error output port

- it's unclear from this whether xsl:message output is somehow
converted to well-formed XML by the XProc processor (I'm guessing it
should be), and perhaps XProc 2 should address this - but given my
unfamiliarity with XProc I'm not quite ready to pursue this at the
moment.

However, instead of an XProc solution, I was rather hoping that with
streaming XSLT there would be a neat way to bind an XSLT 3.0 template
to the message stream of one or more transforms. My standard XSLT
test-harness exploits multi-threaded processing - providing a
real-time count of errors and messages but results are only merged
once all tests are complete. I feel it would be much more elegant,
portable and maintainable if more of this test-harness could be coded
in XSLT instead of the current mix of C# and Java.

Thanks

Phil



On Mon, Jan 21, 2013 at 8:46 PM, Liam R E Quin <liam@xxxxxx> wrote:
> On Mon, 2013-01-21 at 20:05 +0000, Philip Fearon wrote:
>> Dear list,
>>
>> With XSLT 1.0 and 2.0 there is (so far as I know) no specified way of
>> assigning a 'native' XSLT listener to the message output from
>> xsl:message instructions or to the error output.
>
> This might be an interesting use case for XProc 2. Feel free to submit
> it to the XProc Working Group (let me know if you need help negotiating
> the W3C Maze to do that).
>
> Liam
>
> --
> Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
> Pictures from old books: http://fromoldbooks.org/
> Ankh: irc.sorcery.net irc.gnome.org freenode/#xml

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.