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 18 | Microsoft IE 8 | Microsoft IE 9 | Opera 12 | Safari 5.1 | Google Chrome 23 | |
|---|---|---|---|---|---|---|---|
| Summary | Score: 77 | Score: 46 | Score: 62 | Score: 62 | Score: 46 | Score: 46 | |
| Processing Instruction | pi-tx-tx | pass | pass | pass | pass | pass | |
| pi-tx-ax | pass | pass | pass | pass | pass | ||
| pi-ax-ax | pass | fail | pass | fail | fail | fail ((see Chrome Issue 81897)) | |
| pi-no-tx | fail ((see Mozilla Bug 688712)) | fail | fail | fail | fail | ||
| pi-tc-tx | fail ((see Mozilla Bug 688712)) | fail | fail | fail | fail | ||
| Source Loading | src-ws | pass | fail
(drops "ignorable" whitespace (see | pass | pass | pass | pass |
| XSLT 1.0 support | xslt-namespace-axis | fail (no support for namespace axis (see Mozilla Bug 94270)) | pass | pass | pass | pass | |
| Feature Detection | ft-system-property | pass | pass | pass | pass | pass | |
| ft-system-property-unknown | pass | pass | pass | fail
(getting an unknown system property aborts the transformation (see Webkit bug 47453 and
| fail
(getting an unknown system property aborts the transformation (see Chrome Issue 142292, Webkit bug 47453 and
| ||
| Forwards Compibility Mode | ft-xsl-function | pass (xsl:function ignored) | pass (xsl:function ignored) | pass (xsl:function ignored) | fail
(transformation aborts (see Webkit bug 89279 and | fail
(transformation aborts (see Chrome Issue 157869, Webkit bug 89279 and | |
| EXSLT Support | ft-exslt-nodeset | pass | unsupported (but see David Carlisle: "The EXSLT node-set function" and MS Connect feedback 612252) | pass | pass | pass | |
| ft-exslt-object-type | pass | unsupported | unsupported | unsupported | unsupported | ||
| ft-exslt-date-time | pass | unsupported (but can be simulated using msxsl:script) | unsupported | unsupported ((see Webkit bug 4079)) | unsupported ((see Webkit bug 4079)) | ||
Basic tests for the stylesheet processing instruction
| Test Results | |
|---|---|
| FF18 | pass |
| MSIE8 | pass |
| MSIE9 | pass |
| Opera | 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 | |
|---|---|
| FF18 | pass |
| MSIE8 | pass |
| MSIE9 | pass |
| Opera | 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 | |
|---|---|
| FF18 | pass |
| MSIE8 | fail |
| MSIE9 | pass |
| Opera | fail |
| 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 | |
|---|---|
| FF18 | fail ((see Mozilla Bug 688712)) |
| MSIE8 | fail |
| MSIE9 | fail |
| Opera | 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 | |
|---|---|
| FF18 | fail ((see Mozilla Bug 688712)) |
| MSIE8 | fail |
| MSIE9 | fail |
| Opera | 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 about how the XML source is loaded.
| Test Results | |
|---|---|
| FF18 | pass |
| MSIE8 | fail
(drops "ignorable" whitespace (see |
| MSIE9 | pass |
| Opera | pass |
| Safari | pass |
| Chrome | pass |
whitespace nodes in XML source
Result for this UA:
Tests for XSLT 1.0 features.
| Test Results | |
|---|---|
| FF18 | fail (no support for namespace axis (see Mozilla Bug 94270)) |
| MSIE8 | pass |
| MSIE9 | pass |
| Opera | pass |
| Safari | pass |
| Chrome | pass |
namespace axis
Result for this UA:
Basic tests for feature detection
| Test Results | |
|---|---|
| FF18 | pass |
| MSIE8 | pass |
| MSIE9 | pass |
| Opera | pass |
| Safari | pass |
| Chrome | pass |
testing system properties
Result for this UA:
| Test Results | |
|---|---|
| FF18 | pass |
| MSIE8 | pass |
| MSIE9 | pass |
| Opera | pass |
| Safari | fail
(getting an unknown system property aborts the transformation (see Webkit bug 47453 and
|
| Chrome | fail
(getting an unknown system property aborts the transformation (see Chrome Issue 142292, Webkit bug 47453 and
|
testing unknown system properties
Result for this UA:
Tests forwards compatibility mode.
| Test Results | |
|---|---|
| FF18 | pass (xsl:function ignored) |
| MSIE8 | pass (xsl:function ignored) |
| MSIE9 | pass (xsl:function ignored) |
| Opera | pass (xsl:function ignored) |
| Safari | fail
(transformation aborts (see Webkit bug 89279 and |
| Chrome | fail
(transformation aborts (see Chrome Issue 157869, Webkit bug 89279 and |
testing forwards compat mode with xsl:function
Result for this UA:
Some tests for EXSLT Support.
| Test Results | |
|---|---|
| FF18 | pass |
| MSIE8 | unsupported (but see David Carlisle: "The EXSLT node-set function" and MS Connect feedback 612252) |
| MSIE9 | unsupported (but see David Carlisle: "The EXSLT node-set function" and MS Connect feedback 612252) |
| Opera | pass |
| Safari | pass |
| Chrome | pass |
testing exslt:node-set
Result for this UA:
| Test Results | |
|---|---|
| FF18 | pass |
| MSIE8 | unsupported |
| MSIE9 | unsupported |
| Opera | unsupported |
| Safari | unsupported |
| Chrome | unsupported |
testing exslt:object-type
Result for this UA:
| Test Results | |
|---|---|
| FF18 | pass |
| MSIE8 | unsupported (but can be simulated using msxsl:script) |
| MSIE9 | unsupported (but can be simulated using msxsl:script) |
| Opera | unsupported |
| Safari | unsupported ((see Webkit bug 4079)) |
| Chrome | unsupported ((see Webkit bug 4079)) |
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.