<?xml version='1.0'?>
<?xml-stylesheet type="text/xsl" href="/style/testcase.xsl"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite" xmlns:p="http://www.w3.org/ns/xproc" xmlns:c="http://www.w3.org/ns/xproc-step" xmlns:err="http://www.w3.org/ns/xproc-error" ignore-whitespace-differences="true" xmlns:xs="http://www.w3.org/2001/XMLSchema">

<t:title>Test validxsd-012</t:title>

<t:pipeline>
<p:declare-step version='1.0' name="pipeline">
<p:output port="result"/>

<p:validate-with-xml-schema assert-valid="true" mode="lax">
  <p:input port="source">
    <p:inline>
      <a xmlns="http://www.example.com"/>
    </p:inline>
  </p:input>
  <p:input port="schema">
    <p:inline>
      <xs:schema targetNamespace="http://www.example.com">
      </xs:schema>
    </p:inline>
  </p:input>
</p:validate-with-xml-schema>

</p:declare-step>
</t:pipeline>

<t:output port="result">
  <a xmlns="http://www.example.com"/>
</t:output>

</t:test>
