Skip to content

Commit 428129e

Browse files
committed
Fixed issue with <kombi_request/> not using utf-8
1 parent 574d078 commit 428129e

File tree

3 files changed

+3
-33
lines changed

3 files changed

+3
-33
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
- [PR-45](https://github.com/itk-dev/serviceplatformen/pull/45)
11+
Fixed issue with <kombi_request/> not using utf-8
12+
1013
## [1.7.1] - 2025-08-20
1114

1215
- [PR-43](https://github.com/itk-dev/serviceplatformen/pull/43)

src/Service/SF1601/SF1601.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,6 @@ public function kombiPostAfsend(string $transactionId, string $type, ?Message $m
127127
{
128128
$document = $this->buildKombiRequestDocument($type, $message, $forsendelse);
129129

130-
// Serviceplatformen doesn't understand XML namespaces!
131-
$xsldoc = new DOMDocument();
132-
$xsldoc->load(__DIR__.'/resources/namespaces.xslt');
133-
$xsl = new XSLTProcessor();
134-
$xsl->importStyleSheet($xsldoc);
135-
$document = $xsl->transformToDoc($document);
136-
137130
$this->lastKombiMemoMessage = null;
138131
foreach ($document->getElementsByTagNameNS('https://DigitalPost.dk/MeMo-1', 'Message') as $element) {
139132
$this->lastKombiMemoMessage = $element;

src/Service/SF1601/resources/namespaces.xslt

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)