Skip to content

Commit

Permalink
Deploying to gh-pages from @ 3eff7df 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
xml-project committed Jun 15, 2024
1 parent 93c627c commit 9ea9616
Show file tree
Hide file tree
Showing 23 changed files with 37 additions and 23 deletions.
2 changes: 1 addition & 1 deletion alphabetical.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion date.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion element.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion errors.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion expected.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion implementation.html

Large diffs are not rendered by default.

11 changes: 10 additions & 1 deletion test-suite/tests/nw-markdown-to-html-001.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0"
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0" features="markdown-to-html"
xmlns:err="http://www.w3.org/ns/xproc-error"
expected="pass">
<t:info>
<t:title>p:markdown-to-text 001 (NW)</t:title>
<t:revision-history>
<t:revision>
<t:date>2024-06-15</t:date>
<t:author>
<t:name>Achim Berndzen</t:name>
</t:author>
<t:description xmlns="http://www.w3.org/1999/xhtml">
<p>Just added features attribute to mark depencies.</p>
</t:description>
</t:revision>
<t:revision>
<t:date>2024-05-18</t:date>
<t:author>
Expand Down
2 changes: 1 addition & 1 deletion tests/ab-compress-004.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE HTML><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><title>AB-compress-004</title><link href="../css/prism.css" rel="stylesheet" type="text/css"><link href="../css/db-prism.css" rel="stylesheet" type="text/css"><link rel="stylesheet" type="text/css" href="../css/base.css"><link rel="stylesheet" type="text/css" href="../css/xproc.css"><link rel="stylesheet" type="text/css" href="../css/base.css"><link href="../css/all.css" rel="stylesheet" type="text/css"><link href="../css/testsuite.css" rel="stylesheet" type="text/css"><script type="text/javascript" src="../js/dbmodnizr.js"></script></head><body><nav><a href="ab-compress-003.html"><i class="fas fa-chevron-circle-left"></i></a>&nbsp;<a href="ab-compress-005.html"><i class="fas fa-chevron-circle-right"></i></a>&nbsp;<a href="../"><i class="fa fa-chevron-circle-up"></i></a></nav><h1>AB-compress-004</h1><div class="description">
<p>Tests error is raised for unknown format.</p>
</div><p class="expected">Test <a class="testuri" href="../test-suite/tests/ab-compress-004.xml">ab-compress-004.xml</a> is expected to fail with error code <code>err:XC0202 [<a href="http://spec.xproc.org/master/head/run/#err.C0202">Run step</a>, <a href="http://spec.xproc.org/master/head/steps/#err.C0202">Core steps</a>]</code>.</p><div class="pipeline"><h2>The pipeline</h2><pre class="programlisting line-numbers language-markup" data-language="Markup"><code>
</div><p class="expected">Test <a class="testuri" href="../test-suite/tests/ab-compress-004.xml">ab-compress-004.xml</a> is expected to fail with error code <code><a href="http://spec.xproc.org/master/head/steps/#err.C0202">err:XC0202</a></code>.</p><div class="pipeline"><h2>The pipeline</h2><pre class="programlisting line-numbers language-markup" data-language="Markup"><code>
<span class="stag"><span class="sto">&lt;</span><span class="gi">p:declare-step</span> <span class="attr nsattr"><span class="aname">xmlns:err</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">http://www.w3.org/ns/xproc-error</span><span class="aq">"</span></span> <span class="attr nsattr"><span class="aname">xmlns:p</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">http://www.w3.org/ns/xproc</span><span class="aq">"</span></span> <span class="attr"><span class="aname">version</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">3.0</span><span class="aq">"</span></span><span class="eto">&gt;</span></span>
<span class="stag"><span class="sto">&lt;</span><span class="gi">p:output</span> <span class="attr"><span class="aname">port</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">result</span><span class="aq">"</span></span><span class="eto">/&gt;</span></span>
<span class="stag"><span class="sto">&lt;</span><span class="gi">p:compress</span> <span class="attr"><span class="aname">format</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">i-am-unknown</span><span class="aq">"</span></span><span class="eto">&gt;</span></span>
Expand Down
2 changes: 1 addition & 1 deletion tests/ab-import-005.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE HTML><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><title>Import-005 (AB)</title><link href="../css/prism.css" rel="stylesheet" type="text/css"><link href="../css/db-prism.css" rel="stylesheet" type="text/css"><link rel="stylesheet" type="text/css" href="../css/base.css"><link rel="stylesheet" type="text/css" href="../css/xproc.css"><link rel="stylesheet" type="text/css" href="../css/base.css"><link href="../css/all.css" rel="stylesheet" type="text/css"><link href="../css/testsuite.css" rel="stylesheet" type="text/css"><script type="text/javascript" src="../js/dbmodnizr.js"></script></head><body><nav><a href="ab-import-004.html"><i class="fas fa-chevron-circle-left"></i></a>&nbsp;<a href="ab-import-006.html"><i class="fas fa-chevron-circle-right"></i></a>&nbsp;<a href="../"><i class="fa fa-chevron-circle-up"></i></a></nav><h1>Import-005 (AB)</h1><div class="description">
<p>Tests XS0053 is raised if imported p:declare-step has no @type.</p>
</div><p class="expected">Test <a class="testuri" href="../test-suite/tests/ab-import-005.xml">ab-import-005.xml</a> is expected to fail with error code <code><a href="http://spec.xproc.org/master/head/xproc/#err.S0053">err:XS0053</a></code>.</p><div class="pipeline"><h2>The pipeline</h2><pre class="programlisting line-numbers language-markup" data-language="Markup"><code>
</div><p class="expected">Test <a class="testuri" href="../test-suite/tests/ab-import-005.xml">ab-import-005.xml</a> is expected to fail with error code <code>err:XS0053</code>.</p><div class="pipeline"><h2>The pipeline</h2><pre class="programlisting line-numbers language-markup" data-language="Markup"><code>
<span class="stag"><span class="sto">&lt;</span><span class="gi">p:declare-step</span> <span class="attr nsattr"><span class="aname">xmlns:err</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">http://www.w3.org/ns/xproc-error</span><span class="aq">"</span></span> <span class="attr nsattr"><span class="aname">xmlns:p</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">http://www.w3.org/ns/xproc</span><span class="aq">"</span></span> <span class="attr nsattr"><span class="aname">xmlns:x</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">http://test</span><span class="aq">"</span></span> <span class="attr"><span class="aname">version</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">3.0</span><span class="aq">"</span></span><span class="eto">&gt;</span></span>
<span class="stag"><span class="sto">&lt;</span><span class="gi">p:import</span> <span class="attr"><span class="aname">href</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">../pipelines/ab-import-002.xpl</span><span class="aq">"</span></span><span class="eto">/&gt;</span></span>
<span class="stag"><span class="sto">&lt;</span><span class="gi">p:output</span> <span class="attr"><span class="aname">port</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">result</span><span class="aq">"</span></span><span class="eto">/&gt;</span></span>
Expand Down
2 changes: 1 addition & 1 deletion tests/ab-p-run-005.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE HTML><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><title>p:run-005</title><link href="../css/prism.css" rel="stylesheet" type="text/css"><link href="../css/db-prism.css" rel="stylesheet" type="text/css"><link rel="stylesheet" type="text/css" href="../css/base.css"><link rel="stylesheet" type="text/css" href="../css/xproc.css"><link rel="stylesheet" type="text/css" href="../css/base.css"><link href="../css/all.css" rel="stylesheet" type="text/css"><link href="../css/testsuite.css" rel="stylesheet" type="text/css"><script type="text/javascript" src="../js/dbmodnizr.js"></script></head><body><nav><a href="ab-p-run-004.html"><i class="fas fa-chevron-circle-left"></i></a>&nbsp;<a href="ab-p-run-006.html"><i class="fas fa-chevron-circle-right"></i></a>&nbsp;<a href="../"><i class="fa fa-chevron-circle-up"></i></a></nav><h1>p:run-005</h1><div class="description">
<p>Tests p:run: Error raised difference in input port declared as primary.</p>
</div><p class="expected">Test <a class="testuri" href="../test-suite/tests/ab-p-run-005.xml">ab-p-run-005.xml</a> is expected to fail with error code <code>err:XC0201 [<a href="http://spec.xproc.org/master/head/run/#err.C0201">Run step</a>, <a href="http://spec.xproc.org/master/head/steps/#err.C0201">Core steps</a>]</code>.</p><p class="features">It requires the following features: p-run.</p><div class="pipeline"><h2>The pipeline</h2><pre class="programlisting line-numbers language-markup" data-language="Markup"><code>
</div><p class="expected">Test <a class="testuri" href="../test-suite/tests/ab-p-run-005.xml">ab-p-run-005.xml</a> is expected to fail with error code <code><a href="http://spec.xproc.org/master/head/steps/#err.C0201">err:XC0201</a></code>.</p><p class="features">It requires the following features: p-run.</p><div class="pipeline"><h2>The pipeline</h2><pre class="programlisting line-numbers language-markup" data-language="Markup"><code>
<span class="stag"><span class="sto">&lt;</span><span class="gi">p:declare-step</span> <span class="attr nsattr"><span class="aname">xmlns:err</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">http://www.w3.org/ns/xproc-error</span><span class="aq">"</span></span> <span class="attr nsattr"><span class="aname">xmlns:p</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">http://www.w3.org/ns/xproc</span><span class="aq">"</span></span> <span class="attr"><span class="aname">version</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">3.0</span><span class="aq">"</span></span><span class="eto">&gt;</span></span>
<span class="stag"><span class="sto">&lt;</span><span class="gi">p:identity</span><span class="eto">&gt;</span></span>
<span class="stag"><span class="sto">&lt;</span><span class="gi">p:with-input</span><span class="eto">&gt;</span></span>
Expand Down
2 changes: 1 addition & 1 deletion tests/ab-p-run-006.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE HTML><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><title>p:run-006</title><link href="../css/prism.css" rel="stylesheet" type="text/css"><link href="../css/db-prism.css" rel="stylesheet" type="text/css"><link rel="stylesheet" type="text/css" href="../css/base.css"><link rel="stylesheet" type="text/css" href="../css/xproc.css"><link rel="stylesheet" type="text/css" href="../css/base.css"><link href="../css/all.css" rel="stylesheet" type="text/css"><link href="../css/testsuite.css" rel="stylesheet" type="text/css"><script type="text/javascript" src="../js/dbmodnizr.js"></script></head><body><nav><a href="ab-p-run-005.html"><i class="fas fa-chevron-circle-left"></i></a>&nbsp;<a href="ab-p-run-007.html"><i class="fas fa-chevron-circle-right"></i></a>&nbsp;<a href="../"><i class="fa fa-chevron-circle-up"></i></a></nav><h1>p:run-006</h1><div class="description">
<p>Tests p:run: Error raised difference in input port declared explicitly as primary.</p>
</div><p class="expected">Test <a class="testuri" href="../test-suite/tests/ab-p-run-006.xml">ab-p-run-006.xml</a> is expected to fail with error code <code>err:XC0201 [<a href="http://spec.xproc.org/master/head/run/#err.C0201">Run step</a>, <a href="http://spec.xproc.org/master/head/steps/#err.C0201">Core steps</a>]</code>.</p><p class="features">It requires the following features: p-run.</p><div class="pipeline"><h2>The pipeline</h2><pre class="programlisting line-numbers language-markup" data-language="Markup"><code>
</div><p class="expected">Test <a class="testuri" href="../test-suite/tests/ab-p-run-006.xml">ab-p-run-006.xml</a> is expected to fail with error code <code><a href="http://spec.xproc.org/master/head/steps/#err.C0201">err:XC0201</a></code>.</p><p class="features">It requires the following features: p-run.</p><div class="pipeline"><h2>The pipeline</h2><pre class="programlisting line-numbers language-markup" data-language="Markup"><code>
<span class="stag"><span class="sto">&lt;</span><span class="gi">p:declare-step</span> <span class="attr nsattr"><span class="aname">xmlns:err</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">http://www.w3.org/ns/xproc-error</span><span class="aq">"</span></span> <span class="attr nsattr"><span class="aname">xmlns:p</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">http://www.w3.org/ns/xproc</span><span class="aq">"</span></span> <span class="attr"><span class="aname">version</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">3.0</span><span class="aq">"</span></span><span class="eto">&gt;</span></span>
<span class="stag"><span class="sto">&lt;</span><span class="gi">p:identity</span><span class="eto">&gt;</span></span>
<span class="stag"><span class="sto">&lt;</span><span class="gi">p:with-input</span><span class="eto">&gt;</span></span>
Expand Down
2 changes: 1 addition & 1 deletion tests/ab-p-run-007.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE HTML><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><title>p:run-007</title><link href="../css/prism.css" rel="stylesheet" type="text/css"><link href="../css/db-prism.css" rel="stylesheet" type="text/css"><link rel="stylesheet" type="text/css" href="../css/base.css"><link rel="stylesheet" type="text/css" href="../css/xproc.css"><link rel="stylesheet" type="text/css" href="../css/base.css"><link href="../css/all.css" rel="stylesheet" type="text/css"><link href="../css/testsuite.css" rel="stylesheet" type="text/css"><script type="text/javascript" src="../js/dbmodnizr.js"></script></head><body><nav><a href="ab-p-run-006.html"><i class="fas fa-chevron-circle-left"></i></a>&nbsp;<a href="ab-p-run-008.html"><i class="fas fa-chevron-circle-right"></i></a>&nbsp;<a href="../"><i class="fa fa-chevron-circle-up"></i></a></nav><h1>p:run-007</h1><div class="description">
<p>Tests p:run: Error raised difference in input port declared explicitly as not primary.</p>
</div><p class="expected">Test <a class="testuri" href="../test-suite/tests/ab-p-run-007.xml">ab-p-run-007.xml</a> is expected to fail with error code <code>err:XC0201 [<a href="http://spec.xproc.org/master/head/run/#err.C0201">Run step</a>, <a href="http://spec.xproc.org/master/head/steps/#err.C0201">Core steps</a>]</code>.</p><p class="features">It requires the following features: p-run.</p><div class="pipeline"><h2>The pipeline</h2><pre class="programlisting line-numbers language-markup" data-language="Markup"><code>
</div><p class="expected">Test <a class="testuri" href="../test-suite/tests/ab-p-run-007.xml">ab-p-run-007.xml</a> is expected to fail with error code <code><a href="http://spec.xproc.org/master/head/steps/#err.C0201">err:XC0201</a></code>.</p><p class="features">It requires the following features: p-run.</p><div class="pipeline"><h2>The pipeline</h2><pre class="programlisting line-numbers language-markup" data-language="Markup"><code>
<span class="stag"><span class="sto">&lt;</span><span class="gi">p:declare-step</span> <span class="attr nsattr"><span class="aname">xmlns:err</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">http://www.w3.org/ns/xproc-error</span><span class="aq">"</span></span> <span class="attr nsattr"><span class="aname">xmlns:p</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">http://www.w3.org/ns/xproc</span><span class="aq">"</span></span> <span class="attr"><span class="aname">version</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">3.0</span><span class="aq">"</span></span><span class="eto">&gt;</span></span>
<span class="stag"><span class="sto">&lt;</span><span class="gi">p:identity</span><span class="eto">&gt;</span></span>
<span class="stag"><span class="sto">&lt;</span><span class="gi">p:with-input</span><span class="eto">&gt;</span></span>
Expand Down
2 changes: 1 addition & 1 deletion tests/ab-p-run-008.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE HTML><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><title>p:run-008</title><link href="../css/prism.css" rel="stylesheet" type="text/css"><link href="../css/db-prism.css" rel="stylesheet" type="text/css"><link rel="stylesheet" type="text/css" href="../css/base.css"><link rel="stylesheet" type="text/css" href="../css/xproc.css"><link rel="stylesheet" type="text/css" href="../css/base.css"><link href="../css/all.css" rel="stylesheet" type="text/css"><link href="../css/testsuite.css" rel="stylesheet" type="text/css"><script type="text/javascript" src="../js/dbmodnizr.js"></script></head><body><nav><a href="ab-p-run-007.html"><i class="fas fa-chevron-circle-left"></i></a>&nbsp;<a href="ab-p-run-009.html"><i class="fas fa-chevron-circle-right"></i></a>&nbsp;<a href="../"><i class="fa fa-chevron-circle-up"></i></a></nav><h1>p:run-008</h1><div class="description">
<p>Tests p:run: Error raised difference in output port is implicitly as not primary.</p>
</div><p class="expected">Test <a class="testuri" href="../test-suite/tests/ab-p-run-008.xml">ab-p-run-008.xml</a> is expected to fail with error code <code>err:XC0202 [<a href="http://spec.xproc.org/master/head/run/#err.C0202">Run step</a>, <a href="http://spec.xproc.org/master/head/steps/#err.C0202">Core steps</a>]</code>.</p><p class="features">It requires the following features: p-run.</p><div class="pipeline"><h2>The pipeline</h2><pre class="programlisting line-numbers language-markup" data-language="Markup"><code>
</div><p class="expected">Test <a class="testuri" href="../test-suite/tests/ab-p-run-008.xml">ab-p-run-008.xml</a> is expected to fail with error code <code><a href="http://spec.xproc.org/master/head/steps/#err.C0202">err:XC0202</a></code>.</p><p class="features">It requires the following features: p-run.</p><div class="pipeline"><h2>The pipeline</h2><pre class="programlisting line-numbers language-markup" data-language="Markup"><code>
<span class="stag"><span class="sto">&lt;</span><span class="gi">p:declare-step</span> <span class="attr nsattr"><span class="aname">xmlns:err</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">http://www.w3.org/ns/xproc-error</span><span class="aq">"</span></span> <span class="attr nsattr"><span class="aname">xmlns:p</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">http://www.w3.org/ns/xproc</span><span class="aq">"</span></span> <span class="attr"><span class="aname">version</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">3.0</span><span class="aq">"</span></span><span class="eto">&gt;</span></span>
<span class="stag"><span class="sto">&lt;</span><span class="gi">p:identity</span><span class="eto">&gt;</span></span>
<span class="stag"><span class="sto">&lt;</span><span class="gi">p:with-input</span><span class="eto">&gt;</span></span>
Expand Down
Loading

0 comments on commit 9ea9616

Please sign in to comment.