Copy-graphics fails on Windows
Brought to you by:
drmacro
This code map2graphicMap.xsl produces Windows paths, rather than URLs, under Windows:
<xsl:variable name="absoluteUrl" as="xs:string" select="relpath:newFile($inputdir, .)" />
<gmap:graphic-map-item input-url="{$absoluteUrl}" output-url="{relpath:newFile($imagesOutputPath, relpath:getName($absoluteUrl))}"/>
That causes the generation of the result URL to fail because the code sees it as an absolute URL.
Need to use a URL form of the inputdir parameter.
Anonymous