The W3C Document Object Model (DOM) working group has released candidate recommendations of the Document Object Model (DOM) Level 3 Core Specification and the Document Object Model (DOM) Level 3 Load and Save Specification.
Changes since the last draft in the Core specification include
DOMStringList
interface now has a contains(String str)
method. NameList
interface has contains(String name)
and contains(String name, String namespaceURI)
methods. TypeInfo
class now has an isDerivedFrom()
method to tell whether one type is derived from another by restriction, extension, union, or list. getOffset()
method has split into getByteOffset()
and getUtf16Offset()
. (I really don't approve of this change. It should be a sinngle character offset as in the last draft.)DOMConfiguration
has a new getParameterNames()
method that returns a list of all known parameters.Of special note with this release, "Given the lack of implementation commitments regarding character normalization, the DOM Working Group considers it "at risk". This affects the "check-character-normalization" and "normalize-characters" parameters defined in the DOMConfiguration interface in the [DOM Level 3 Core]. The Working Group may remove the parameters before requesting Proposed Recommendation status."
In the Load-Save draft, the most substantive change appears to be that the
optional convenience interfaces DocumentLS
and ElementLS
have been removed completely.
Editorially, methods like createDOMParser()
and createDOMSerializer()
appear to have been renamed
createLSParser()
and createLSSerializer()
.
Interfaces like DOMInput
and DOMFilter
are now
LSInput
and LSFilter
. DOMSerializer.writeURI()
is now LSSerializer.writeToURI()
. DOMInput.getCertified()
and setCertified()
are now LSInput.getCertifiedText()
and setCertifiedText()
.
Comments are due by November 30.
John Krasnay has posted Vex 0.5, an open source visual editor for XML with a word processor-like interface that is written in Java. "It is targeted toward users of XML schemas like DocBook and XHTML that represent human-readable documents." Vex is published under the GPL.