I am currently developing using the cxml-stp framework, but while parsing I do get a cxml-stp:stp-error, which is a subclass of simple-error, which is documented to be a kind of error where a format-control is supplied.
How can I print the error message? As neither API supplies any specific functions and a simple FORMAT just results in the object being printed but not using the supplied FORMAT string.
e.g.
(SB-KERNEL:CASE-FAILURE
ETYPECASE
#<CXML-STP:STP-ERROR "text includes characters that cannot be ~
represented in XML at all: ~S"
{1007814951}>
(STRING SIMPLE-STRING))
Simply write the condition object without escaping: