You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Olivier Cailloux <ol...@dauphine.psl.eu> on 2025/05/04 22:05:57 UTC
DOM Level 1 HTML
Dear list,
Apache Xerces-J says that it implements DOM Level 1 HTML
(https://xerces.apache.org/xerces2-j/dom.html; see also
https://lists.apache.org/thread/rflbm50vv9jwsbf5tys2mskxcqmo4z2q).
It also supports DOM Level 3
(https://xerces.apache.org/xerces2-j/dom3.html) and as such, supports
bootstrapping
(https://docs.oracle.com/en/java/javase/22/docs/api/java.xml/org/w3c/dom/bootstrap/DOMImplementationRegistry.html
).
However, in version 2.12.2, it seems that the Xerces DOMImplementation
implementation classes do not advertise knowing HTML:
hasFeature("HTML", "1.0") returns false. Relatedly, and more annoyingly
for concrete reasons of proper bootstrapping,
DOMImplementationRegistry.newInstance().getDOMImplementation("HTML")
and variants return null.
According
to https://www.w3.org/TR/DOM-Level-1/level-one-core.html#ID-BBACDC08, I
believe that this should be otherwise.
Is it possible to correct this? Or am I mistaken in thinking that it
should work?
Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org