Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix escaping log messages from XSLT #4376 #4387

Merged
merged 1 commit into from Feb 3, 2024

Conversation

jelovirt
Copy link
Member

@jelovirt jelovirt commented Feb 3, 2024

Description

Fix escaping XML delimiter characters in log messages thrown by XSLT.

Motivation and Context

Fixes regression bug #4376. This change effectively changes the behaviour of logging from XSLT, e.g. from fix to #3969. If you want to output XML from XSLT messages, you have to serialize the nodes into XML strings manually. From now on, log message will not contain XML element, only text.

How Has This Been Tested?

Unit tests.

Type of Changes

  • Bug fix (non-breaking change which fixes an issue)

Signed-off-by: Jarno Elovirta <jarno@elovirta.com>
@jelovirt jelovirt force-pushed the feature/fix-xslt-message-escape branch from a2ca003 to c8b35b5 Compare February 3, 2024 20:08
@jelovirt jelovirt merged commit 2345a4f into release/4.2 Feb 3, 2024
4 checks passed
@jelovirt jelovirt added this to the 4.2 milestone Feb 3, 2024
@jelovirt jelovirt deleted the feature/fix-xslt-message-escape branch February 3, 2024 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

in DITA-OT 4.2 prerelease, DOTX030W message shows angle brackets in encoded form
1 participant