1. Document Object Model Requirements
1.1 General Requirements
- References to XML and HTML documents generally
denote the physical files that contain structural
markup.
- Some requirements are not implemented in DOM Level
1. Those requirements are identified in this document
with the notation [After Level 1].
Listed below are the general requirements of the Document
Object Model.
- The Object Model is language neutral and platform
independent.
- There will be a core DOM that is applicable to
HTML, CSS and XML documents.
- The Object Model can be used to construct and
deconstruct the document.
- The Object Model will not preclude use by either
agents external to the document content, or scripts
embedded within the document.
- Consistent naming conventions must be used through
all levels of the Object Model.
- A visual UI component will not be required for a
conforming implementation of the Object Model.
- The specific HTML, CSS or XML document object
models will be driven by the underlying constructs of
those languages.
- It must be possible to read in a document and
write out a structurally isomorphic document.
- The Object Model will not expose the user to
problems with security, validity, or privacy.
- The Object Model will not preclude other mechanisms
for manipulating documents.