diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a8b0566..236afb75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- [PR-45](https://github.com/itk-dev/serviceplatformen/pull/45) + Fixed issue with not using utf-8 + ## [1.7.1] - 2025-08-20 - [PR-43](https://github.com/itk-dev/serviceplatformen/pull/43) diff --git a/src/Service/SF1601/SF1601.php b/src/Service/SF1601/SF1601.php index bf68a387..7c28c01e 100644 --- a/src/Service/SF1601/SF1601.php +++ b/src/Service/SF1601/SF1601.php @@ -127,13 +127,6 @@ public function kombiPostAfsend(string $transactionId, string $type, ?Message $m { $document = $this->buildKombiRequestDocument($type, $message, $forsendelse); - // Serviceplatformen doesn't understand XML namespaces! - $xsldoc = new DOMDocument(); - $xsldoc->load(__DIR__.'/resources/namespaces.xslt'); - $xsl = new XSLTProcessor(); - $xsl->importStyleSheet($xsldoc); - $document = $xsl->transformToDoc($document); - $this->lastKombiMemoMessage = null; foreach ($document->getElementsByTagNameNS('https://DigitalPost.dk/MeMo-1', 'Message') as $element) { $this->lastKombiMemoMessage = $element; diff --git a/src/Service/SF1601/resources/namespaces.xslt b/src/Service/SF1601/resources/namespaces.xslt deleted file mode 100644 index 56d3be9c..00000000 --- a/src/Service/SF1601/resources/namespaces.xslt +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -