Detailed errors from pxp:nvdl

Using xmlcalabash 1.1.27-99
See: https://gist.github.com/dwcramer/997a35527ebc34ebf7d671b18ca19149

I'm using try/catch and pxp:nvdl to validate documents using the same
pattern I learned on this list several years ago [1]. The problem is
that I don't get detailed errors about what's wrong with the document
from the catch's error port. Instead I get:

    <c:errors xmlns:c="http://www.w3.org/ns/xproc-step">
        <c:error
            xmlns:err="http://www.w3.org/ns/xproc-error"
            code="err:XC0053"
            href="file:/Users/dcramer/test.xpl"
            line="5"
            column="45">XC0053</c:error>
    </c:errors>

I DO get the errors on stdout, but I want to generate an attractive
report for the user and put it someplace useful.

Is this user error, a limitation of pxp:nvdl, or a bug in Calabash/its
dependencies?

Regards,
David

[1] https://lists.w3.org/Archives/Public/xproc-dev/2011Dec/0037.html

Received on Tuesday, 25 June 2019 23:07:17 UTC