Generated by GPT-5-mini| DOM Level 2 Core | |
|---|---|
| Name | DOM Level 2 Core |
| Developer | World Wide Web Consortium |
| Released | 2000 |
| Latest release | 2000 |
| Genre | Application programming interface |
| License | Public specification |
DOM Level 2 Core is a W3C specification that extended the original Document Object Model to provide a richer Application programming interface for structured document manipulation, interoperability, and scripting across Netscape Communications Corporation, Microsoft, and other vendors. It formalized interfaces used by Internet Explorer, Mozilla Foundation and other implementations, enabling programmatic access to HTML and XML documents within contexts such as Netscape Navigator, Opera Software, and server environments like Apache HTTP Server and Sun Microsystems-based platforms.
DOM Level 2 Core defines interfaces and conventions that separate document structure from presentation and scripting, aligning with practices from World Wide Web Consortium working groups and influenced by prior efforts including W3C DOM Level 1 and the W3C HTML Working Group. It targets interoperable behavior across Microsoft Internet Explorer, Mozilla Firefox, Opera, and other user agents, and complements related specifications such as DOM Level 2 Events and XML Namespaces from the W3C XML Activity.
The specification introduces interface definitions for node types like Element, Attr, Text, and Document, and adds support for operations including tree modification, attribute handling, and document cloning, consistent with terminology used by Tim Berners-Lee-led initiatives at the World Wide Web Consortium. It specifies document creation and traversal mechanisms, normalization behavior, and mutation semantics that informed implementations at Sun Microsystems and browser vendors such as Microsoft Corporation and Mozilla Foundation.
DOM Level 2 Core exposes a language-neutral API that was commonly bound to JavaScript in browsers and to Java in server-side environments such as Apache Tomcat and Eclipse. Key interfaces include Document, Element, NodeList, NamedNodeMap, and DocumentFragment, enabling operations used by web applications maintained by organizations like Google and Yahoo!. The API design was influenced by object models from NeXT and object interface standards such as those used in CORBA and COM implementations.
Major browser implementations adopted much of the DOM Level 2 Core feature set: Netscape Communications Corporation-derived engines, Microsoft's Trident engine, and later Gecko-based browsers provided varying degrees of compatibility. Server-side parsers and processors, including libraries distributed by Apache Software Foundation projects and Oracle Corporation products, implemented DOM Level 2 Core for XML manipulation. Cross-vendor inconsistencies required web developers from companies like Amazon and eBay to use feature detection patterns and polyfills in environments influenced by ECMAScript and standards from IETF.
The specification addressed namespace support by aligning with the W3C XML Namespaces recommendation, clarifying requirements for prefix, localName, and namespaceURI handling used in multilingual and enterprise deployments involving IBM and Microsoft technologies. Security considerations around document manipulation were relevant to browser vendors such as Apple and server platforms like Red Hat; DOM operations interact with same-origin policies rooted in security models influenced by incidents documented by organizations like CERT and standards discussed at IETF meetings.
DOM Level 2 Core emerged from extensions to W3C DOM Level 1 work by contributors from World Wide Web Consortium, Netscape, Microsoft, academics from institutions such as Massachusetts Institute of Technology and Stanford University, and engineers at companies like Sun Microsystems and IBM. The timeline reflects coordination among working groups that also produced companion specifications including DOM Level 2 Views and Events, with discussions recorded during meetings attended by delegates from European Commission-funded projects and industry consortia.
DOM Level 2 Core shaped subsequent standards work at the W3C and influenced the evolution of HTML5 APIs, modern Web Components ideas, and the consolidation of APIs used by companies such as Google, Facebook, and Microsoft. Its model for interface separation and namespace handling informed later specifications like DOM Level 3 Core and contributed to interoperability efforts led by browser vendors and organizations including the WHATWG and the W3C Web Applications Working Group.