The W3C DOM working group has released
the final
Document Object Model (DOM) Level 3 Core Specification
and the
Document Object Model (DOM) Level 3 Load and Save Specification.
The load and save specification defines platform and language independent means to parse an XML document to create a DOM Document
object, and to serialize DOM Document
objects into a file or output stream, something that was previously implementation dependent and accomplished with APIs like JAXP.
DOM Level 3 Core adds various new features and methods to the standard DOM classes including:
DOMImplementation
in Java by reading a DOMImplementationRegistry
DOMConfiguration
interface that controls lots of little fiddly details like normalizationDocument
objectDOMErrorHandler
for reporting errors (like SAX2's ErrorHandler
)DOMLocator
interface for reporting document positions (like SAX2's Locator
)TypeInfo
interface for DTDs and schemas