<?xml version="1.0" encoding="utf-8"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0"
        xml:base="/nw-cdata-sections-010.xml"
        name="nw-cdata-sections-010.xml"
        serialized="true"
        expected="fail"
        code="err:XD0020">
   <t:info xmlns:err="http://www.w3.org/ns/xproc-error">
      <t:title>nw-cdata-sections-010</t:title>
      <t:revision-history>
         <t:revision>
            <t:date>2026-05-09</t:date>
            <t:author>
               <t:name>Norman Tovey-Walsh</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Test setting the cdata-section-elements property</p>
            </t:description>
         </t:revision>
      </t:revision-history>
   </t:info>
   <t:pipeline xmlns:err="http://www.w3.org/ns/xproc-error">
      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
                      xmlns:xs="http://www.w3.org/2001/XMLSchema"
                      version="3.0">
         <p:option name="code"
                   as="xs:QName"
                   static="true"
                   select="xs:QName('spoon')"/>
         <p:output port="result"
                   serialization="map{'method':'xml', 'indent':false(),                                  'cdata-section-elements': 'p:test'}"/>
         <p:identity>
            <p:with-input href="../documents/serial.xml"/>
         </p:identity>
      </p:declare-step>
   </t:pipeline>
</t:test>
