nw-tvt-001

Test insertion of attribute nodes into non-XML content with a TVT.

Test nw-tvt-001.xml is expected to fail with error code err:XD0084.

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result"/>
   <p:identity>
      <p:with-input>
         <doc name="value"/>
      </p:with-input>
   </p:identity>
   <p:identity>
      <p:with-input>
         <p:inline content-type="text/plain">{/doc/@name}</p:inline>
      </p:with-input>
   </p:identity>
   <p:wrap-sequence wrapper="wrapper"/>
</p:declare-step>

Revision history

02 Feb 2025, Norm Tovey-Walsh

Changed to err:XD0084 per https://github.com/xproc/3.0-specification/issues/1131

12 Jan 2025, Norm Tovey-Walsh

Initial commit