From e6e9688d8d0e0f406393b77a1976a9420ac521cc Mon Sep 17 00:00:00 2001 From: Mikkel Ricky Date: Tue, 28 Oct 2025 14:56:41 +0100 Subject: [PATCH 1/2] Fixed issue with not using utf-8 --- CHANGELOG.md | 3 +++ src/Service/SF1601/SF1601.php | 7 ------ src/Service/SF1601/resources/namespaces.xslt | 26 -------------------- 3 files changed, 3 insertions(+), 33 deletions(-) delete mode 100644 src/Service/SF1601/resources/namespaces.xslt 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 @@ - - - - - - - - - - - - - - - - - - - - - - - - From f1f700655f6ed2f5aecca069e88bbe5b37f7c579 Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Mon, 24 Nov 2025 09:37:10 +0100 Subject: [PATCH 2/2] Release 1.7.2 --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 236afb75..5103b780 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.7.2] - 2025-11-24 + - [PR-45](https://github.com/itk-dev/serviceplatformen/pull/45) Fixed issue with not using utf-8 @@ -130,7 +132,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Functionality for making calls to the PersonBaseDataExtended service. - Possibility to use certificates stored in Azure Key Vault. -[Unreleased]: https://github.com/itk-dev/serviceplatformen/compare/1.7.1...HEAD +[Unreleased]: https://github.com/itk-dev/serviceplatformen/compare/1.7.2...HEAD +[1.7.2]: https://github.com/itk-dev/serviceplatformen/compare/1.7.1...1.7.2 [1.7.1]: https://github.com/itk-dev/serviceplatformen/compare/1.7.0...1.7.1 [1.7.0]: https://github.com/itk-dev/serviceplatformen/compare/1.6.1...1.7.0 [1.6.1]: https://github.com/itk-dev/serviceplatformen/compare/1.6.0...1.6.1