Closed Bug 164640 Opened 22 years ago Closed 21 years ago

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

Categories

(Core :: XSLT, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: jarno.elovirta, Assigned: peterv)

References

()

Details

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.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Depends on: 203192
Fixed with checkin for bug 203192.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
mass verifying
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.