With TL18, the following produces the expected xml and associated files.

\setupbackend         [export=yes]
\starttext
\input knuth
\stoptext

With current betas, the xhtml file contains:

<error>invalid xml file - parsed text</error>

and the other files have similar content.

Can anyone reproduce the error or offer a workaround?

--
Rik