Non-XML Mime-types not handled by document() function

VERIFIED FIXED

Status

()

Core
XSLT
VERIFIED FIXED
16 years ago
15 years ago

People

(Reporter: Jarno Elovirta, Assigned: peterv)

Tracking

Trunk
x86
Windows 98
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

16 years ago
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.

Updated

16 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
(Assignee)

Updated

15 years ago
Depends on: 203192
(Assignee)

Comment 1

15 years ago
Fixed with checkin for bug 203192.
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED

Comment 2

15 years ago
mass verifying
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.