Comparison of layout engines (XML)
The following tables compare XML compatibility and support for a number of layout engines.
Explanation of tables
See list of layout engines for the full list.
Values
These indicate the level of support for the given item in each engine. By default, the most recent version of the engine is implied. However, a specific version number can be listed; when this indicates full support, it's the initial version of the engine fully supporting the item.
Value | Meaning |
---|---|
Yes | Fully supported |
No | Has never been supported |
Partial | Only some values are supported |
Incorrect | Not implemented correctly in all cases |
Experimental | May be incomplete or buggy |
Nightly build | Currently in development; full support is expected |
Depends | Only supported for the specified conditions |
Dropped | No longer supported |
Core technologies
A general overview of what core XML technologies are supported.
Trident | Gecko | WebKit | KHTML | Presto | Prince XML | Antenna House | |
---|---|---|---|---|---|---|---|
XML namespace[spec 1] | 5.0 | 1.0 | ? | Yes | 1.0 | 5.1 | Yes |
xml:id[spec 2] | No | No[g 1] | No | No | 2.0 | Yes | |
XML Events[spec 3] | No | 1.8 | ? | ? | 1.0 | ? | No |
XInclude[spec 4] | 3.1 | No[g 2] | No | ? | No | 5.1 | No |
XML Fragment Interchange[spec 5] | ? | ? | ? | ? | ? | ? | No |
Associating CSS | <3.1[IE 5.0] | 1.0 | 419 | Yes | 1.0 | Yes | Yes |
XSL technologies
A general overview of what XSL technologies are supported.
Trident | Gecko | WebKit | KHTML | Presto | Prince XML | Antenna House | |
---|---|---|---|---|---|---|---|
XSLT[spec 6][spec 7] | <3.1[IE 6.0] | 1.0 | 314 | No | Incorrect | ? | Yes |
XSL-FO[spec 8] | No | No[g 3] | No | No | No | Yes | |
EXSLT[spec 9] | ? | 1.9 | No[w 1] | Partial | ? | Depends[a 1] | |
Linking technologies
A general overview of what XML linking technologies are supported.
Trident | Gecko | WebKit | KHTML | Presto | Prince XML | Antenna House | |
---|---|---|---|---|---|---|---|
XLink[spec 10] | 5.0 | Partial[note 2] | No[w 2] | No | Partial | Partial[note 3] | Partial[a 2] |
XML Base[spec 11] | No | 1.0 | No[w 3] | Yes | Yes | 6.0 | Yes[a 3] |
XPointer[spec 12] | ? | Partial | No[w 4] | No | No | ? | No |
Query technologies
A general overview of what XML query technologies are supported.
Trident | Gecko | WebKit | KHTML | Presto | Prince XML | Antenna House | |
---|---|---|---|---|---|---|---|
XPath 1.0[spec 13] | Yes | 1.8 | Yes | 4.8 | 2.0 | ? | Depends[a 1] |
XPath 2.0[spec 14] | No | No[g 6] | ? | ? | ? | ? | Depends[a 1] |
XPath 3.0[spec 15] | ? | ? | ? | ? | ? | ? | ? |
XPath 3.1[spec 16] | ? | ? | ? | ? | ? | ? | ? |
XQuery[spec 17] | ? | No[g 7] | No[w 5] | ? | No | ? | No |
Schema technologies
A general overview of what XML schema technologies are supported.
Trident | Gecko | WebKit | KHTML | Presto | Prince XML | Antenna House | |
---|---|---|---|---|---|---|---|
DTD | No | Partial[note 4] | No[w 6] | No | Partial[note 5] | 3.0 | Depends[a 1] |
XML Schema[spec 18][spec 19][spec 20][spec 21] | ? | Partial | No | ? | No | ? | Depends[a 1] |
RELAX NG[spec 22] | ? | No[g 9] | ? | ? | Depends[a 1] | ||
Security technologies
A general overview of what XML security technologies are supported.
Trident | Gecko | WebKit | KHTML | Presto | Prince XML | Antenna House | |
---|---|---|---|---|---|---|---|
XML Signature[spec 23] | No | No[g 10] | No | No | No | No | No |
XML Encryption[spec 24] | No | ||||||
XML Key Management[spec 25] | |||||||
Notes
- Trident relies on the MSXML library to implement XML processing. MSXML3 and MSXML4 implement XSLT 1.0, while MSXML2 implements the December 1998 XSL Working Draft, which predates XSLT 1.0 and is not fully compatible with it. Further complicating matters is that the MSXML libraries can coexist, but only one of them will be used by Trident, depending on a setting in the Windows Registry. Prior to the release of Internet Explorer 6, MSXML2 was the default XML library for Trident, but MSXML3 or MSXML4 could be installed separately and then registered as the default if desired. Regardless of which version was the default, any version, if installed, could be invoked directly by Microsoft-specific scripting code in the document being rendered by Trident.
- Gecko, as of version 1.8, only supports simple XLinks, and only for SVG and MathML.[g 4][g 5]
- Prince XML supports only simple XLinks.[r 1]
- Only inline DTDs are allowed, external DTDs are ignored.[g 8]
- Prior to version 2.0, only inline DTDs are allowed; external DTDs are ignored. In 2.0, it is possible to load external DTDs, but not cross-domain.
References
Specifications
- Namespaces in XML 1.0 (Third Edition), W3C
- xml:id Version 1.0, W3C
- XML Events, W3C
- XML Inclusions (XInclude) Version 1.0 (Second Edition), W3C
- XML Fragment Interchange, W3C
- XSL Transformations (XSLT), W3C
- XSL Transformations (XSLT) Version 2.0, W3C
- Extensible Stylesheet Language (XSL) Version 1.1, W3C
- EXSLT
- XML Linking Language (XLink) Version 1.1, W3C
- XML Base (Second Edition), W3C
- XPointer Framework, W3C
- XML Path Language (XPath), W3C
- XML Path Language (XPath) 2.0, W3C
- XML Path Language (XPath) 3.0, W3C
- XML Path Language (XPath) 3.1, W3C
- XQuery and XPath Full Text 1.0, W3C
- XML Schema Part 1: Structures Second Edition, W3C
- XML Schema Part 2: Datatypes Second Edition, W3C
- W3C XML Schema Definition Language (XSD) 1.1 Part 1: Structures, W3C
- W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes, W3C
- RELAX NG home page
- XML Signature Syntax and Processing (Second Edition), W3C
- XML Encryption Syntax and Processing, W3C
- XML Key Management Specification (XKMS), W3C
Gecko references
- Bug 275196 - xml:id support, Mozilla
- Bug 201754 - XML Inclusions (XInclude), Mozilla
- Bug 95959 - Mozilla does not support XSL:FO or XML Formatting Objects, Mozilla
- XLink - MDC, Mozilla
- SVG in Firefox, Mozilla
- Bug 396966 - Xpath 2.0, Mozilla
- Bug 385995 - Request to add XQuery, Mozilla
- Bug 22942 - (entities) Load external DTDs (entity/entities) (local and remote) if a pref is set, Mozilla
- Bug 227459 - Implement validating XML parser (validate with RELAX NG), Mozilla
- Bug 125528 - Implement xml signature support, Mozilla
- "Mozilla Developer Documentation". Mozilla XML support. Retrieved May 1, 2005.
WebKit references
- "WebKit Standards Support Targets". Webkit XML support. Retrieved February 3, 2010.
Presto references
- "Opera Documentation". Web specifications supported in Opera. Archived from the original on June 4, 2012. Retrieved May 1, 2005.
Prince XML references
- Prince: XML Input, YesLogic
- "Prince XML Developer Documentation". Prince XML support. Retrieved May 1, 2005.
Antenna House references
- "AH Formatter V6.5 Online Manual". Antenna House support. Retrieved January 26, 2018.