Project

Profile

Help

Bug #6298

open

base-uri() value does not update together with DOM

Added by Martynas Jusevicius 11 months ago. Updated 3 months ago.

Status:
AwaitingInfo
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2023-12-19
Due date:
% Done:

0%

Estimated time:
Applies to JS Branch:
2
Fix Committed on JS Branch:
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

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/

Please register to edit this issue

Also available in: Atom PDF Tracking page