The XSLT spec <http://www.w3.org/TR/xslt#document> states: "The data resulting from the retrieval action is parsed as an XML document regardless of the media type of the retrieval result; if the top-level media type is text, then it is parsed in the same way as if the media type were text/xml; otherwise, it is parsed in the same way as if the media type were application/xml." Currently document() function called on XML documents with non-XML Mime-type returns an empty node-set, which is bug.
Fixed with checkin for bug 203192.
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.