diff --git a/src/XML/SignableElementTrait.php b/src/XML/SignableElementTrait.php index 327d7ac4..1bd9bc5d 100644 --- a/src/XML/SignableElementTrait.php +++ b/src/XML/SignableElementTrait.php @@ -81,7 +81,7 @@ public function sign( $canonicalizationAlg, [ C::C14N_INCLUSIVE_WITH_COMMENTS, - C::C14N_EXCLUSIVE_WITHOUT_COMMENTS, + C::C14N_INCLUSIVE_WITHOUT_COMMENTS, C::C14N_EXCLUSIVE_WITH_COMMENTS, C::C14N_EXCLUSIVE_WITHOUT_COMMENTS, ],