Please send feedback to julian.reschke@gmx.de.
Unless stated otherwise, all tests were executed with the latest release versions of Firefox, Google Chrome, Microsoft Internet Explorer (both 8 & 9 as IE9 is not available for XP), Safari and Opera on a machine running Windows 7.
Colors -- Red: Failure, Green: Pass, Yellow: Warning, Grey: Not Supported
Score -- Passes: 2 points, Warning: 1 point, in percent of possible points (this should be updated to count optional features differently)
Test Case | Firefox 40 | Microsoft IE 11 | Safari 7 | Google Chrome 45 | |
---|---|---|---|---|---|
Summary | Score: 77 | Score: 62 | Score: 62 | Score: 62 | |
Processing Instruction | pi-tx-tx | pass | pass | pass | pass |
pi-tx-ax | pass | pass | pass | pass | |
pi-ax-ax | pass | pass | fail | fail ((see Chrome Issue 81897)) | |
pi-no-tx | fail ((see Mozilla Bug 688712)) | fail | fail | fail | |
pi-tc-tx | fail ((see Mozilla Bug 688712)) | fail | fail | fail | |
Source Loading | src-ws | pass | pass | pass | pass |
XSLT 1.0 support | xslt-namespace-axis | fail (no support for namespace axis (see Mozilla Bug 94270)) | pass | pass | pass |
Feature Detection | ft-system-property | pass | pass | pass | pass |
ft-system-property-unknown | pass | pass | pass (fixed in 7.0) | pass (fixed in 45) | |
Forwards Compatibility Mode | ft-xsl-function | pass (xsl:function ignored) | pass (xsl:function ignored) | pass (fixed in 7.0) | pass (fixed in 45) |
EXSLT Support | ft-exslt-nodeset | pass | unsupported (but see David Carlisle: "The EXSLT node-set function" and MS Connect feedback 612252) | pass | pass |
ft-exslt-object-type | pass | unsupported | unsupported | unsupported | |
ft-exslt-date-time | pass | unsupported (but can be simulated using msxsl:script) | unsupported ((see Webkit bug 4079)) | unsupported ((see Chromium bug 1006210)) |
Basic tests for the stylesheet processing instruction
Test Results | |
---|---|
FF40 | pass |
MSIE11 | pass |
Safari | pass |
Chrome | pass |
testing <?xml-stylesheet type='text/xsl' href='...' ?>, referencing an XSLT served with media type "text/xsl"
Result for this UA:
Test Results | |
---|---|
FF40 | pass |
MSIE11 | pass |
Safari | pass |
Chrome | pass |
testing <?xml-stylesheet type='text/xsl' href='...' ?>, referencing an XSLT served with media type "application/xslt+xml"
Result for this UA:
Test Results | |
---|---|
FF40 | pass |
MSIE11 | pass |
Safari | fail |
Chrome | fail ((see Chrome Issue 81897)) |
testing <?xml-stylesheet type='application/xslt+xml' href='...' ?>, referencing an XSLT served with media type "application/xslt+xml"
Result for this UA:
Test Results | |
---|---|
FF40 | fail ((see Mozilla Bug 688712)) |
MSIE11 | fail |
Safari | fail |
Chrome | fail |
testing <?xml-stylesheet href='...' ?>, referencing an XSLT served with media type "text/xsl", but not specifying the media type
The media type is specified to be advisory only, so the XSLT should be fetched and used (see Section 4 of xml-stylesheet).
Result for this UA:
Test Results | |
---|---|
FF40 | fail ((see Mozilla Bug 688712)) |
MSIE11 | fail |
Safari | fail |
Chrome | fail |
testing <?xml-stylesheet type="text/css" href='...' ?>, referencing an XSLT served with media type "text/xsl", but specifying the incorrect media type "text/css"
The media type is specified to be advisory only, so the XSLT should be fetched and used (see Section 4 of xml-stylesheet).
Result for this UA:
Tests for XSLT 1.0 features.
Test Results | |
---|---|
FF40 | fail (no support for namespace axis (see Mozilla Bug 94270)) |
MSIE11 | pass |
Safari | pass |
Chrome | pass |
namespace axis
Result for this UA:
Basic tests for feature detection
Test Results | |
---|---|
FF40 | pass |
MSIE11 | pass |
Safari | pass |
Chrome | pass |
testing system properties
Result for this UA:
Test Results | |
---|---|
FF40 | pass |
MSIE11 | pass |
Safari | pass (fixed in 7.0) |
Chrome | pass (fixed in 45) |
testing unknown system properties
Result for this UA:
Tests forwards compatibility mode.
Test Results | |
---|---|
FF40 | pass (xsl:function ignored) |
MSIE11 | pass (xsl:function ignored) |
Safari | pass (fixed in 7.0) |
Chrome | pass (fixed in 45) |
testing forwards compat mode with xsl:function
Result for this UA:
Some tests for EXSLT Support.
Test Results | |
---|---|
FF40 | pass |
MSIE11 | unsupported (but see David Carlisle: "The EXSLT node-set function" and MS Connect feedback 612252) |
Safari | pass |
Chrome | pass |
testing exslt:node-set
Result for this UA:
Test Results | |
---|---|
FF40 | pass |
MSIE11 | unsupported |
Safari | unsupported |
Chrome | unsupported |
testing exslt:object-type
Result for this UA:
Test Results | |
---|---|
FF40 | pass |
MSIE11 | unsupported (but can be simulated using msxsl:script) |
Safari | unsupported ((see Webkit bug 4079)) |
Chrome | unsupported ((see Chromium bug 1006210)) |
testing exslt-date:date-time
Result for this UA:
Both this document and the indiviual test "scripts" are generated from one single XML source (xslt.xml), using an XSLT2 transformation (xslt.xslt).
To generate the files, an XSLT2 processor such as Saxon 9 is needed. Copy both files into an empty directory, then run:
saxon9 xslt.xml xslt.xslt > index.html
Note that this will also generate a set of "asis" files that contain the actual test cases. These can be served using the Apache httpd mod_asis module.