Hi Jürgen, * Juergen Hermann | | This week I had "fun" with external entities. ;) Ouch! It looks like something has been screwed up in xmlproc's internal buffer handling. Could you report both these problems as a single bug at SourceForge, attach the XML and scripts to it, and assign it to me? I'll try to figure it out later this evening. --Lars M.