A fix was checked in into chameleon so that the initial parsing with expat keeps the 'doctype' around, and the same doctype is passed over explicitly to the output, instead of relying on the lxml docinfo object. This could be improved as described by Stefan, but should do for now.
A fix was checked in into chameleon so that the initial parsing with expat keeps the 'doctype' around, and the same doctype is passed over explicitly to the output, instead of relying on the lxml docinfo object. This could be improved as described by Stefan, but should do for now.