Skip to content

Conversation

@rimi-itk
Copy link
Contributor

@rimi-itk rimi-itk commented Oct 28, 2025

Sometimes (!) https://digitaliseringskataloget.dk/integration/sf1601 has trouble understanding numeric XML entities, e.g.

        <memo:label>G&#xE5; til samtykke</memo:label>

which leads to random errors depending on a lot of factors.

It seems that the issue stems from the kombi_request document not using the utf-8 encoding. We could fix this by changing

    <xsl:output method="xml"/>

to

    <xsl:output method="xml" encoding="utf-8"/>

in src/Service/SF1601/resources/namespaces.xslt, but it seems that we don't need that weird namespace transformation anymore, i.e. we can just use the XML document as it is.

@rimi-itk rimi-itk force-pushed the hotfix/xml-encoding-utf8 branch from bbf1683 to 428129e Compare October 28, 2025 14:19
@rimi-itk rimi-itk changed the title Fixed issue with <kombi_request/> not using utf-8 Fixed issue with <kombi_request/> not using utf-8 Oct 28, 2025
@rimi-itk rimi-itk force-pushed the hotfix/xml-encoding-utf8 branch from 428129e to e6e9688 Compare October 28, 2025 14:27
@rimi-itk rimi-itk marked this pull request as ready for review October 29, 2025 08:24
@rimi-itk rimi-itk requested a review from jekuaitk October 29, 2025 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants