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