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.

Legend
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]

[note 1]

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

  1. 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.
  2. Gecko, as of version 1.8, only supports simple XLinks, and only for SVG and MathML.[g 4][g 5]
  3. Prince XML supports only simple XLinks.[r 1]
  4. Only inline DTDs are allowed, external DTDs are ignored.[g 8]
  5. 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

Gecko references

WebKit references

Presto references

Prince XML references

Antenna House references

Other references

    This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.