This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
As far as I see, we have no test for invoking fn:doc() on a non-wellformed XML document.
Hey Frans: Thanks for the message. I thonk we can add a few extra tests at sometime in the future. For now, we are not adding extra tests. Thanks, carmelo