Skip to content

Commit bbf1683

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

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed

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)