File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -927,12 +927,14 @@ export class SignedXml {
927
927
let nodes = xpath . selectWithResolver ( ref . xpath ?? "" , doc , this . namespaceResolver ) ;
928
928
929
929
if ( ! utils . isArrayHasLength ( nodes ) ) {
930
+ < < < << << HEAD
930
931
if ( this . xadesQualifyingProperties != null ) {
931
932
nodes = xpath . selectWithResolver (
932
933
ref . xpath ?? "" ,
933
934
new xmldom . DOMParser ( ) . parseFromString ( this . xadesQualifyingProperties ( ) ) ,
934
935
this . namespaceResolver ,
935
936
) ;
937
+ >>> > >>> 17 c628c0bc401c3c80d5129fd7f6757dc0834621
936
938
}
937
939
if ( ! utils . isArrayHasLength ( nodes ) ) {
938
940
throw new Error (
@@ -942,6 +944,7 @@ export class SignedXml {
942
944
}
943
945
944
946
for ( const node of nodes ) {
947
+ << < < < << HEAD
945
948
let addattr = "" ;
946
949
if ( node [ "localName" ] === "SignedProperties" ) {
947
950
addattr = ' Type="http://uri.etsi.org/01903#SignedProperties"' ;
@@ -952,6 +955,7 @@ export class SignedXml {
952
955
const id = this . ensureHasId ( node ) ;
953
956
ref . uri = id ;
954
957
res += `<${ prefix } Reference URI="#${ id } "${ addattr } >` ;
958
+ >>> > >>> 17 c628c0bc401c3c80d5129fd7f6757dc0834621
955
959
}
956
960
res += `<${ prefix } Transforms>` ;
957
961
for ( const trans of ref . transforms || [ ] ) {
You can’t perform that action at this time.
0 commit comments