Maintenance: Planio will be observing a scheduled maintenance window this Tuesday, November 5, 2024 from 03:00 UTC until 06:30 UTC to perform urgent network maintenance in our primary data center. Your Planio account will be unavailable during this maintenance window.
Bug #3203
closedDefault namespace XHTML not appearing in namespace-uri-from-prefix()
100%
Description
When the default namespace has been set to xmlns="http://www.w3.org/1999/xhtml"
some (but not all) browsers return ""
for namespace-uri-from-prefix('',$context)
- Chrome does, Firefox doesn't - it returns the XHTML URI.
The issue appears that element.lookupNamespaceURI("")
isn't consistent across browsers. https://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespaceURI suggests using null
to recover the default namespace.
Patch applied to CoreFn.namespace-uri-for-prefix
Updated by Debbie Lockett about 7 years ago
- Found in version deleted (
1) - Applies to branch deleted (
9.8) - Applies to JS Branch 1.0 added
- Fix Committed on JS Branch 1.0 added
Updated by Debbie Lockett about 7 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in JS Release set to Saxon-JS 1.0.1
Bug fix applied in Saxon-JS 1.0.1 maintenance release.
Please register to edit this issue
Also available in: Atom PDF Tracking page