Hi, I have the example below that uses the three images in the attachment. For some reason multiple spaces encoded as %20 get merged into a single %20. The first image (<test two20spaces.pdf>) does not get included even though the name is correct. The second image (<test one space.pdf>) gets included. Filename is correct. The third image (<test not two space.pdf>) gets included even though the actual file name does not contain two spaces (but @xlink:href does). Any ideas what is going on here? Then, in the case of the link, the two %20 end up as a single %20. Best, Denis \setupinteraction[state=start] \startxmlsetups xml:test \xmlsetsetup{#1}{*}{-} \xmlsetsetup{#1}{document|fig}{xml:*} \stopxmlsetups \xmlregisterdocumentsetup{test}{xml:test} \startxmlsetups xml:document \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:fig \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:graphic \externalfigure[\xmlfilter{#1}{./url('xlink:href')}] \stopxmlsetups \startxmlsetups xml:link https://uv-v4.netlify.app/\#?manifest=\xmlfilter{#1}{./url('xlink:href')} \stopxmlsetups \startxmlsetups xml:fig \startplacefigure[title=Test] \startalignment[center] \goto {\xmlfilter{#1}{/graphic/command(xml:graphic)}} [url(\xmlfilter{#1}{/link/command(xml:link)})] \stopalignment \stopplacefigure \goto{test}[url(\xmlfilter{#1}{/link/command(xml:link)})] \stopxmlsetups \startbuffer[test] <?xml version="1.0" encoding="UTF-8"?> <document> <fig> <graphic xlink:href="test%20%20two%20spaces.pdf"/> <link xlink:href="https://iiif.ub.unibe.ch/presentation/v2.1/berner-inkunabeln/manifest/Inc%20IV%2076%20%20Spiegel%20vorn_Teigstempel"/> </fig> <fig> <graphic xlink:href="test%20one%20space.pdf"/> <link xlink:href="https://iiif.ub.unibe.ch/presentation/v2.1/berner-inkunabeln/manifest/Inc%20IV%2076%20%20Spiegel%20vorn_Teigstempel"/> </fig> <fig> <graphic xlink:href="test%20%20not%20two%20spaces.pdf"/> <link xlink:href="https://iiif.ub.unibe.ch/presentation/v2.1/berner-inkunabeln/manifest/Inc%20IV%2076%20%20Spiegel%20vorn_Teigstempel"/> </fig> </document> \stopbuffer \starttext \xmlprocessbuffer{test}{test}{} \stoptext