Project

Profile

Help

Bug #5058

closed

Document.createElementNS not implemented in saxon-js 2.2

Added by Michael Gunter over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
2021-08-08
Due date:
% Done:

100%

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

Description

I am currently using saxon-js 2.0.3, and my project runs without issues. I am using createElementNS to create qualified elements.

I have been trying to upgrade to saxon-js 2.2.0. However, my project now gets the following error. The createElementNS method is no longer defined. How does one create qualified elements in the newer version?

                    const linkElement = document.createElementNS("http://www.w3.org/1999/xhtml", "h:a");
                                                         ^
TypeError: document.createElementNS is not a function

Please register to edit this issue

Also available in: Atom PDF Tracking page