On 3/22/08, mathew <meta / pobox.com> wrote:
>  Seems to me that accepting more than 1 XML declaration is entirely
>  acceptable, for a parser which states that it is non-validating.

Fair enough, no fix for this then.

About the second issue: A doctype at the end of the document would be
invalid too, but the purpose of the current source code is to add it
between the XMLDecl and the first node, replacing an existing doctype
if there's already one. Can this be fixed or should it stay that way
too?

-- 
Federico