Re: Fwd: Spurious error on recursive invocation of fn:transform

Michael Kay <mike-JkSD5nQpfvpWk0Htik3J/[email protected]> Tue, 24 Nov 2020 12:32:19 +0000
Newsgroups gmane.text.xml.saxon.help
Message-ID <[email protected]>
> 
> The usage of doc('') is not the causation here 
> 
> stylesheet-node : doc('fullpathToTheStylesheetAsGeneratedWithdocument-uri/myStylesheet.xsl')
> 
> the exact same result.
>  

It's not so much the use of doc(""), as the reliance on preservation of a base URI.

Having said that, if you can put together a repro we'll be happy to look at it. I think it's fairly clear the problem is happening because the base URI is being lost through the call on fn:transform(), but whether losing it is a bug or an application error is something we can only determine if we study the detail.

Michael Kay
Saxonica

_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[email protected]
https://lists.sourceforge.net/lists/listinfo/saxon-help