We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c40b54c commit 2ae2408Copy full SHA for 2ae2408
lib/util/tXml.js
@@ -556,8 +556,9 @@ shaka.util.TXml = class {
556
const schemaNS = shaka.util.TXml.getKnownNameSpace(ns);
557
const found = [];
558
if (elem.children) {
559
+ const tagName = schemaNS ? `${schemaNS}:${name}` : name;
560
for (const child of elem.children) {
- if (child && child.tagName === `${schemaNS}:${name}`) {
561
+ if (child && child.tagName === tagName) {
562
found.push(child);
563
}
564
0 commit comments