cast-content-type 022 (AB)

Tests casting to xml raises XD0049 if text document is not well-formed.

Test ab-cast-content-type-022.xml is expected to fail with error code err:XD0049.

The pipeline

<p:declare-step xmlns:err="" xmlns:map="" xmlns:p="" name="pipeline" version="3.0">
   <p:output port="result"/>
   <p:cast-content-type content-type="application/xml" name="caster">
         <p:inline content-type="text/plain" document-properties="map{'base-uri' : '',                         'serialization' : map{'method' : 'text'},                         'additional' : 'property'}">&lt;document &gt;</p:inline>
MorganaXProc passing XML Calabash passing

Revision history

27 Dec 2019, Achim Berndzen

Initial tests for the new iteration of p:cast-content-type