-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #792 from ndw/nw-err-xs0100
Test for the error that I failed to detect in nw-err-xs0071-001
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0" | ||
xmlns:err="http://www.w3.org/ns/xproc-error" | ||
expected="fail" code="err:XS0100"> | ||
<t:info> | ||
<t:title>Test nw-err-xs0100-001</t:title> | ||
<t:revision-history> | ||
<t:revision> | ||
<t:date>2024-12-27</t:date> | ||
<t:author> | ||
<t:name>Norm Tovey-Walsh</t:name> | ||
</t:author> | ||
<t:description xmlns="http://www.w3.org/1999/xhtml"> | ||
<p>Initial commit.</p> | ||
</t:description> | ||
</t:revision> | ||
</t:revision-history> | ||
</t:info> | ||
<t:description xmlns="http://www.w3.org/1999/xhtml"> | ||
<p>Tests that <code>err:XS0100</code> is raised if <code>p:import</code> follows | ||
a port binding.</p> | ||
</t:description> | ||
|
||
<t:pipeline> | ||
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" | ||
xmlns:ex="http://test" | ||
version="3.0"> | ||
<p:output port="result"/> | ||
|
||
<p:import href="../pipelines/err-xs0071.xpl"/> | ||
|
||
<p:identity> | ||
<p:with-input><doc/></p:with-input> | ||
</p:identity> | ||
</p:declare-step> | ||
</t:pipeline> | ||
</t:test> |