Skip to content

Conversation

@elharo
Copy link
Contributor

@elharo elharo commented Jun 30, 2025

The various classes were removed from the jars some time ago. They've been in the JDK since at least Java 1.4. HTMLDOMImplementation.class is no longer bundled in 2.12.3 though it was in 2.12.2. It's worth noting that org.w3c.dom.html was bundled in OpenJDK 1.8 (as I verified by looking inside rt.jar) but did not appear in the official JavaDoc until JDK 11 (or maybe 9).

See commit 13826ae which removed the source code but left the build instructions behind. This PR finishes up by removing a reference to HTMLDOMImplementation from build.xml

@elharo elharo changed the title Xerces no longer bundles DOM classes [XERCESJ-1689] Xerces no longer bundles DOM classes Jun 30, 2025
@elharo elharo marked this pull request as ready for review June 30, 2025 23:44
@elharo elharo requested a review from mukulga June 30, 2025 23:44
@elharo elharo changed the title [XERCESJ-1689] Xerces no longer bundles DOM classes [XERCESJ-1689] Xerces no longer bundles any DOM classes Jun 30, 2025
@elharo elharo changed the title [XERCESJ-1689] Xerces no longer bundles any DOM classes [XERCESJ-1689] Xerces no longer bundles HTMLDOMImplementation Jul 1, 2025
Copy link
Contributor

@SingingBush SingingBush left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are x4 places in build.xml that will need HTMLDOMImplementation to be removed.

Worth noting that XERCESJ-1706 also mentions this and has a PR on the xerces2-j repo.

@elharo elharo merged commit 6862449 into apache:main Nov 25, 2025
5 checks passed
@elharo elharo deleted the w3c branch November 25, 2025 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants