New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unparsed-text-available() in an XSLT step throws an error #92

gimsieke opened this Issue Mar 20, 2013 · 0 comments


None yet
2 participants

gimsieke commented Mar 20, 2013

When I run

  version="1.0" name="bug">
  <p:output port="result" primary="true"/>
  <p:xslt name="xslt" template-name="main">
    <p:input port="source"><p:empty/></p:input>
    <p:input port="stylesheet">
        <xsl:stylesheet version="2.0">
          <xsl:template name="main">
                <xsl:sequence select="doc-available('non-existing.xml')"/>
    <p:input port="parameters"><p:empty/></p:input>

Calabash 1.0.9 terminates with a, complaining about 'non-existing.txt' not being there.

This example works as expected in 1.0.3:


Please note that doc-available() still works.

I didn’t check with which Calabash version it ceased to work. I did check that it happens on Linux and Windows with Saxon HE,, and EE

ndw added a commit that referenced this issue Mar 20, 2013

Fix issue #92, throw an XPathException not an XProcException because …
…Saxon catches the former and not the latter

@ndw ndw closed this Mar 20, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment