On 13 Oct 2015, at 13:41, Hans Hagen
wrote: if you have a small example ... this whole entity stuff is a mess .. officially entities are replaced at load time but tex code is delayed .. so maybe i need to invent some other trick (there was an issue with & ; sequences being replaced while being just text in that stage
Yes, it looks like the treatment of & has changed. Here’s an example: \startbuffer[test] <text> Random text with an entity: °ree; </text> \stopbuffer \startxmlsetups xml:testsetups \xmlsetsetup{#1}{text}{xml:*} \stopxmlsetups \xmlregistersetup{xml:testsetups} \startxmlsetups xml:text \xmlflush{#1}\par \stopxmlsetups \xmltexentity{degree}{\textdegree} \starttext \xmlprocessbuffer{main}{test}{} \stoptext Works with older betas, not with the current one. Thomas