Skip to content

Commit

Permalink
Adding subpipeline mistakenly omitted from the last PR
Browse files Browse the repository at this point in the history
  • Loading branch information
wendellpiez committed Jun 12, 2024
1 parent 497fb51 commit 93c811b
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/testing/tinydata/tinydata-samples.xpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" xmlns:c="http://www.w3.org/ns/xproc-step"
xmlns:cx="http://xmlcalabash.com/ns/extensions" version="1.0"
xmlns:metaschema="http://csrc.nist.gov/ns/metaschema/1.0"
type="metaschema:tinydata-samples"
name="tinydata-samples"
xmlns:x="http://www.jenitennison.com/xslt/xspec"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:nm="http://csrc.nist.gov/ns/metaschema"
xmlns:xs="http://www.w3.org/2001/XMLSchema">




<!-- &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& -->
<!-- Ports -->

<p:input port="parameters" kind="parameter"/>

<p:input port="samples" sequence="true">
<!-- for the XML, invalid documents are marked with a PI <?ERROR ?> to show an expectation of INVALID -->
<p:document href="tiny-data/tiny1.xml"/>
<p:document href="tiny-data/bigbadtiny.xml"/>
<p:document href="tiny-data/terms-of-art.xml"/>
</p:input>

<p:output port="tinydata" sequence="true">
<p:pipe port="result" step="pass-through"/>
</p:output>


<p:identity name="pass-through"/>

</p:declare-step>

0 comments on commit 93c811b

Please sign in to comment.