cmarchand / gaulois-pipe

A XSLT pipelining solution
Mozilla Public License 2.0
9 stars 4 forks source link

Base-uri() in a Gaulois-pipe context #28

Open jimetevenard opened 7 years ago

jimetevenard commented 7 years ago

Hello,

When an XSL stylesheet is processed as the 2th or Nth step of a pipe, the return of base-uri() or base-uri(/) is always the empty sequence. The reference to the initial file URI seems to be lost.

(cf. sample pipe attached) base-uri-gaulois-pipe.zip

release 1.03.00

cmarchand commented 7 years ago

Yes I understand. $[input-absolute] can be used, instead, no ? input-absolute is an absolute path, as return by java.io.File.getAbsolutePath(), but this should be turn into a URI via

<xsl:variable name="base-uri" select="resolve-uri($input-absolute)"/>