<?xml-stylesheet type="text/xsl" href="/style/testcase.xsl"?>
<test xmlns="http://xproc.org/ns/testsuite"
      xmlns:p="http://www.w3.org/ns/xproc"
      xmlns:px="http://xproc.dev.java.net/ns/extensions"
      xmlns:c="http://www.w3.org/ns/xproc-step"
      xmlns:err="http://www.w3.org/ns/xproc-error"
      error="err:XS0062">
<title>Test for err:XS0062 #002</title>

<description xmlns:h="http://www.w3.org/1999/xhtml">                                                              
  <h:p>Tests that importing a library with no
  version attribute triggers err:XS0062.</h:p>
</description>     

<pipeline>
    <p:declare-step version="1.0">
      <p:output port="result"/>
      <p:import href="library-missing-version.xpl"/>
      <p:identity>
        <p:input port="source"><p:inline><doc/></p:inline></p:input>
      </p:identity>
    </p:declare-step>
</pipeline>

</test>

