Bug #6298
openbase-uri() value does not update together with DOM
0%
Description
My SaxonJS code replaces large chunks of DOM with content loaded from different documents. DOM's baseURI property returns the source document's URL, but base-uri()
does not always seem to do that. Which can lead to a stale value, probably because the DOM is updated?
This is my observation of the discrepancy:
ixsl:get(., 'baseURI'): https://localhost:4443/7b386331-5a82-46ab-820b-38df78a91456/ SaxonJS2.rt.js:785:84
base-uri(): https://localhost:4443/ SaxonJS2.rt.js:785:84
ixsl:location(): https://localhost:4443/7b386331-5a82-46ab-820b-38df78a91456/
Updated by Norm Tovey-Walsh 5 months ago
- Status changed from New to AwaitingInfo
Can you provide a small example that demonstrates the problem?
Updated by Martynas Jusevicius 4 months ago
Hi Norm,
I made a test for this and I cannot reproduce this anymore :)
https://github.com/namedgraph/saxon-js2-test/blob/gh-pages/client.xsl#L421
Can be invoked by clicking the base-uri() change
button at the bottom here: https://namedgraph.github.io/saxon-js2-test/
Can probably be closed.
Please register to edit this issue
Also available in: Atom PDF Tracking page