enso-org / enso

Hybrid visual and textual functional programming.
https://enso.org
Apache License 2.0
7.3k stars 317 forks source link

Move XML parsing into its own Standard.XML module #10325

Open JaroslavTulach opened 1 week ago

JaroslavTulach commented 1 week ago

XML specification and XML support in JDK is quite bloated. Moreover it is even packaged in its own Java module - it is not part of java.base.

We should move the XML support out of Standard.Base library in order to not force people to include JDK's java.xml module.

_Originally posted by @JaroslavTulach in https://github.com/enso-org/enso/pull/10296#discussion_r1645783573_

When at it, please: refactor the polyglot java import of XML classes. Rather than importing org.w3c.dom interfaces, import "only" own wrapper XML_Utils with static methods.