Skip to content

Commit

Permalink
Deploying to gh-pages from @ ffd6377 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
xml-project committed May 9, 2024
1 parent 69773e2 commit 4fd86c1
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 10 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.

13 changes: 11 additions & 2 deletions test-suite/tests/ab-p-archive-057.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"
xmlns:err="http://www.w3.org/ns/xproc-error"
expected="fail" code="err:XC0085">
expected="fail" code="err:XC0081">
<t:info>
<t:title>p:archive 057 (AB)</t:title>
<t:revision-history>
<t:revision>
<t:date>2024-05-08</t:date>
<t:author>
<t:name>Achim Berndzen</t:name>
</t:author>
<t:description xmlns="http://www.w3.org/1999/xhtml">
<p>Changed error code back from XC0085 to XC0081 as a consequence of the change in p:archive 056 (AB)</p>
</t:description>
</t:revision>
<t:revision>
<t:date>2019-12-20</t:date>
<t:author>
Expand All @@ -25,7 +34,7 @@
</t:revision-history>
</t:info>
<t:description xmlns="http://www.w3.org/1999/xhtml">
<p>Tests p:archive: XC0085 must be raised @format and content-type do not match.</p>
<p>Tests p:archive: XC0081 must be raised @format and content-type do not match.</p>
</t:description>
<t:pipeline>
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
Expand Down
9 changes: 7 additions & 2 deletions tests/ab-p-archive-057.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:archive 057 (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-p-archive-056.html"><i class="fas fa-chevron-circle-left"></i></a>&nbsp;<a href="ab-p-archive-058.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:archive 057 (AB)</h1><div class="description">
<p>Tests p:archive: XC0085 must be raised @format and content-type do not match.</p>
</div><p class="expected">Test <a class="testuri" href="../test-suite/tests/ab-p-archive-057.xml">ab-p-archive-057.xml</a> is expected to fail with error code <code><a href="http://spec.xproc.org/master/head/steps/#err.C0085">err:XC0085</a></code>.</p><div class="pipeline"><h2>The pipeline</h2><pre class="programlisting line-numbers language-markup" data-language="Markup"><code>
<p>Tests p:archive: XC0081 must be raised @format and content-type do not match.</p>
</div><p class="expected">Test <a class="testuri" href="../test-suite/tests/ab-p-archive-057.xml">ab-p-archive-057.xml</a> is expected to fail with error code <code><a href="http://spec.xproc.org/master/head/steps/#err.C0081">err:XC0081</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:c</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">http://www.w3.org/ns/xproc-step</span><span class="aq">"</span></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="attr"><span class="aname">pipe</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">report</span><span class="aq">"</span></span><span class="eto">/&gt;</span></span>
<span class="stag"><span class="sto">&lt;</span><span class="gi">p:archive</span> <span class="attr"><span class="aname">format</span><span class="aeq">=</span><span class="aq">"</span><span class="avalue">zip</span><span class="aq">"</span></span><span class="eto">&gt;</span></span>
Expand All @@ -16,6 +16,11 @@
<span class="etag"><span class="eto">&lt;/</span><span class="gi endgi">p:archive</span><span class="etc">&gt;</span></span>
<span class="etag"><span class="eto">&lt;/</span><span class="gi endgi">p:declare-step</span><span class="etc">&gt;</span></span>
</code></pre><div class="implbanners"><span class="morganaxproc"><a href="../implementation.html#ab-p-archive-057"><img src="../img/mx-pass.svg" alt="MorganaXProc passing"></a></span> <span class="xmlcalabash"><a href="../implementation.html#ab-p-archive-057"><img src="../img/xc-pass.svg" alt="XML Calabash passing"></a></span></div></div><dl class="revision-history"><h2>Revision history</h2>
<dt>08 May 2024,
<span class="name">Achim Berndzen</span>
</dt><dd><div class="description">
<p>Changed error code back from XC0085 to XC0081 as a consequence of the change in p:archive 056 (AB)</p>
</div></dd>
<dt>20 Dec 2019,
<span class="name">Achim Berndzen</span>
</dt><dd><div class="description">
Expand Down

0 comments on commit 4fd86c1

Please sign in to comment.