Skip to content

Plug-in specific xsl:message has been changed in 4.2 #4415

Answered by jelovirt
ToshihikoMakita asked this question in Q&A
Discussion options

You must be logged in to vote

Try to change the log message prefix from [WARNING][General 001W] to [General 001W][WARNING] or better yet [General 001W][WARN] because WARN is the supported logging level in our loggers, not WARNING. I think that will fix your issue for now, before we release #4416 in 4.2.1.

In addition, if you're using plain <xsl:message> to log messages, you should use

<xsl:processing-instruction name="error-code" select="'General 001W'"/>
<xsl:processing-instruction name="level" select="'WARN'"/>

In the message body. These are processing-instructions that DITA-OT's logging code from XSLT uses to pass the error code and logging level.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@jelovirt
Comment options

Comment options

You must be logged in to vote
2 replies
@ToshihikoMakita
Comment options

@jelovirt
Comment options

Answer selected by jelovirt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants