-
Notifications
You must be signed in to change notification settings - Fork 3
/
passing2.xml
52 lines (45 loc) · 1.37 KB
/
passing2.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0" expected="pass">
<t:info>
<t:title>YOUR TITLE HERE</t:title>
<t:revision-history>
<t:revision>
<t:date>TODAY’S DATE HERE</t:date>
<t:author>
<t:name>YOUR NAME</t:name>
<t:email>YOU@EXAMPLE.COM</t:email>
<t:uri>HTTP://EXAMPLE.COM</t:uri>
</t:author>
<t:description xmlns="http://www.w3.org/1999/xhtml">
<p>DESCRIBE THIS REVISION.</p>
</t:description>
</t:revision>
</t:revision-history>
</t:info>
<t:description xmlns="http://www.w3.org/1999/xhtml">
<p>DESCRIBE YOUR TEST HERE.</p>
</t:description>
<t:input port="source">
<doc/>
</t:input>
<t:option name="ignored" select="3"/>
<t:pipeline>
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:input port="source"/>
<p:output port="result"/>
<p:option name="ignored" required="true"/>
<p:identity/>
</p:declare-step>
</t:pipeline>
<t:schematron>
<s:schema xmlns:s="http://purl.oclc.org/dsdl/schematron"
xmlns:p="http://www.w3.org/ns/xproc"
xmlns:rng="http://relaxng.org/ns/structure/1.0">
<s:ns prefix="p" uri="http://www.w3.org/ns/xproc"/>
<s:pattern>
<s:rule context="/*">
<s:assert test="self::doc">The pipeline root is not doc.</s:assert>
</s:rule>
</s:pattern>
</s:schema>
</t:schematron>
</t:test>