Hi all, the attached code slighty refactors read.c and adds a new frontend to allow parsing directly from memory. This is useful if the document is stored elsewhere or has to be de-compressed first. Comments? Joerg