p:inline 004
Test is expected to fail with error code err:XS0069.
The pipeline
<p:declare-step xmlns:c="http://www.w3.org/ns/xproc-step"
xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc"
xmlns:t="http://xproc.org/ns/testsuite/3.0" name="main" version="3.0">
<p:output port="result" sequence="true"/>
<p:identity name="inline">
<p:with-input port="source">
<p:inline encoding="unknown"
content-type="image/png">
iVBORw0KGgoAAAANSUhEUgAAAIAAAAAdCAYAAABixmRWAAAABGdBTUEAALGPC/xhBQAAACBjSFJN
</p:inline>
</p:with-input>
</p:identity>
<p:cast-content-type name="cast"
content-type="application/xml">
<p:with-input port="source" pipe="@inline"/>
</p:cast-content-type>
<p:wrap-sequence wrapper="c:result"/>
</p:declare-step>
Revision history
- 22 Oct 2018,
Fixed syntax of pipe attribute.- 12 Oct 2018, Achim Berndzen
Fixing broken test (namespace removed) - 07 Jul 2018, Achim Berndzen
=Adapted tests to PR #422 - 03 Apr 2018, Achim Berndzen
Some new tests. - 02 Feb 2018, Achim Berndzen
added new tests - 09 Oct 2017,
New p:inline tests - 09 Oct 2017, Norman Walsh
New p:inline tests