Skip to content

Commit c440f5b

Browse files
committed
2 parents 8f682f0 + 17c628c commit c440f5b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/signed-xml.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -927,12 +927,14 @@ export class SignedXml {
927927
let nodes = xpath.selectWithResolver(ref.xpath ?? "", doc, this.namespaceResolver);
928928

929929
if (!utils.isArrayHasLength(nodes)) {
930+
<<<<<<< HEAD
930931
if (this.xadesQualifyingProperties != null) {
931932
nodes = xpath.selectWithResolver(
932933
ref.xpath ?? "",
933934
new xmldom.DOMParser().parseFromString(this.xadesQualifyingProperties()),
934935
this.namespaceResolver,
935936
);
937+
>>>>>>> 17c628c0bc401c3c80d5129fd7f6757dc0834621
936938
}
937939
if (!utils.isArrayHasLength(nodes)) {
938940
throw new Error(
@@ -942,6 +944,7 @@ export class SignedXml {
942944
}
943945

944946
for (const node of nodes) {
947+
<<<<<<< HEAD
945948
let addattr = "";
946949
if (node["localName"] === "SignedProperties") {
947950
addattr = ' Type="http://uri.etsi.org/01903#SignedProperties"';
@@ -952,6 +955,7 @@ export class SignedXml {
952955
const id = this.ensureHasId(node);
953956
ref.uri = id;
954957
res += `<${prefix}Reference URI="#${id}"${addattr}>`;
958+
>>>>>>> 17c628c0bc401c3c80d5129fd7f6757dc0834621
955959
}
956960
res += `<${prefix}Transforms>`;
957961
for (const trans of ref.transforms || []) {

0 commit comments

Comments
 (0)