Hello,
In an fn:put(TempNode,URI) I would expect base-uri(Node) as a URI parameter to work. But base-uri(Node) returns on Windows "file:/C:/somepath/somefile.xml", which does not work, because the URI cannot be opened. The URI "/somepath/somefile.xml" works. And file://C/somepath/somefile.xml does also work.
Is this a bug?
example: let $doc:= doc("bla.xml") put( copy $temp := $doc modify replace value of node $temp/n with lower-case($temp/n) return $temp,base-uri($doc) )
(: this does not work, but should it not? :)
best regards, Sebastian