Lines Matching refs:prefix
49234 function throwIfNotStringOrBuffer(val, prefix) {
49236 throw new TypeError(prefix + ' must be a string or a buffer');
75737 function nsPairCheck(parser, prefix, uri) {
75738 switch (prefix) {
75758 …parser.fail(prefix === "" ? "the default namespace may not be set to ".concat(uri, ".") : "may not…
75762 switch (prefix) {
77683 prefix = _this$qname.prefix,
77688 prefix: prefix,
77696 if (prefix === "xmlns") {
77778 value: function resolve(prefix) {
77781 var uri = this.topNS[prefix];
77790 uri = tags[index].ns[prefix];
77797 uri = this.ns[prefix];
77803 …turn (_b = (_a = this.opt).resolvePrefix) === null || _b === void 0 ? void 0 : _b.call(_a, prefix);
77821 prefix: "",
77827 var prefix = name.slice(0, colon);
77829 if (prefix === "" || local === "" || local.includes(":")) {
77834 prefix: prefix,
77848 prefix = _this$qname2.prefix,
77851 tag.prefix = prefix;
77853 var uri = tag.uri = (_a = this.resolve(prefix)) !== null && _a !== void 0 ? _a : "";
77855 if (prefix !== "") {
77856 if (prefix === "xmlns") {
77861 this.fail("unbound namespace prefix: ".concat(JSON.stringify(prefix), "."));
77862 tag.uri = prefix;
77882 _prefix = attr.prefix,