Re: Placing text/plain on a port via p:identity

John Dziurlaj <john@turnout.rocks> writes:
> Unfortunately, this yields the same error. Interestingly, using p:with-input/@select produces something slightly different, e.g. 
>
> <p:when test="/tc:test-case/tc:test-string">
>   <p:identity>
>     <p:with-input port="source" select="/tc:test-case/tc:test-string" />
>   </p:identity>
> </p:when>
>
> "Error: err:XD0030 {...}: Step failed: Only text source documents are supported."

I don’t see the connection between p:identity and that error message in your example, but a quick look at the sources demonstrates that you’re bumping up against a bug in XML Calabash. It appears that I haven’t implemented accepting the iXML grammar as XML.

https://codeberg.org/xmlcalabash/xmlcalabash3/issues/127

                                        Be seeing you,
                                          norm

--
Norm Tovey-Walsh <ndw@nwalsh.com>
https://norm.tovey-walsh.com/

> Furious activity is no substitute for understanding.--H. H. Williams

Received on Saturday, 12 July 2025 14:13:38 UTC