node_xslt icon indicating copy to clipboard operation
node_xslt copied to clipboard

capture internal errors

Open MartijnR opened this issue 11 years ago • 3 comments

Would be nice if we could capture internal warnings (and errors).

In particular output generated by <xsl:message>a warning message</xsl:message>.

MartijnR avatar May 13 '14 20:05 MartijnR

@MartijnR I'll try something.

andreyvital avatar May 13 '14 20:05 andreyvital

Thanks @andreyknupp!

Yes, retrievable after transformation is complete (or has quit due to a fatal error) - synchronously seems most useful in my opinion - with something like .getErrors(), basically the equivalent of libxml_get_errors which returns three different type of errors (warning, error, fatal).

MartijnR avatar May 13 '14 20:05 MartijnR

Yep!

andreyvital avatar May 13 '14 21:05 andreyvital