Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <kombi_request/> not using utf-8

## [1.7.1] - 2025-08-20

- [PR-43](https://github.com/itk-dev/serviceplatformen/pull/43)
Expand Down
7 changes: 0 additions & 7 deletions src/Service/SF1601/SF1601.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
26 changes: 0 additions & 26 deletions src/Service/SF1601/resources/namespaces.xslt

This file was deleted.

Loading