- From: Martin Honnen <martin.honnen@gmx.de>
- Date: Thu, 18 Apr 2024 17:45:15 +0200
- To: xproc-dev@w3.org
- Message-ID: <e3c36883-4c6c-4616-aa2d-400f578e7c98@gmx.de>
On 18/04/2024 17:42, Benjamin W. Bohl wrote: > Dear Martin, > > Thanks for spotting this! > > Hopefully more clarification will surface ;-) Yes, I am sure if Norm finds the time to read this he will tell you whether it is a quirk in Calabash or whether the step needs some different usage than you have tried. > >> On 18. Apr 2024, at 14:48, Martin Honnen <martin.honnen@gmx.de> wrote: >> >> >> On 17/04/2024 15:56, Benjamin W. Bohl wrote: >>> Dear list:eners, >>> >>> I'm still learning XProc and wanted to copy some image files from a >>> directory using pxf:copy in my pipeline running >>> on xmlcalabash-1.5.7-120. >>> >>> Nevertheless, I cannot make it work and always get a strange >>> SaxonAPIError: >>> >>> com.xmlcalabash.core.XProcException: XProc error err:XD0045 >>> […] >>> Caused by: net..sf.saxon.s9api.SaxonApiException: The string >>> "file:/Volumes/VCS/SVN/bazga-ed..." cannot be cast to a boolean >>> >>> The string that throws the error is my target option for pxf:copy. >> >> >> The documentation >> https://xmlcalabash.com/docs/reference/pxf-copy.html indeed declares >> the type of target as boolean >> >> |<p:declare-step||type||="||pxf:copy||"||xmlns:pxf||="||http://exproc.org/proposed/steps/file||"||>| >> |<p:output||port||="||result||"||primary||="||false||"||/>| >> |<p:option||name||="||href||"||required||="||true||"||/>||||<!-- >> |anyURI| -->| >> |<p:option||name||="||target||"||required||="||true||"||/>||||<!-- >> |boolean| -->| >> |<p:option||name||="||fail-on-error||"||select||="||'true'||"||/>||||<!-- >> |boolean| -->| >> |</p:declare-step>| >> >> >> Hopefully Norm or someone else can explain you how to correctly use >> the step. >> >
Received on Thursday, 18 April 2024 15:45:18 UTC