diff --git a/src/main/org/apache/tools/ant/AntClassLoader.java b/src/main/org/apache/tools/ant/AntClassLoader.java index 4c1ac64c9..1beba1b2f 100644 --- a/src/main/org/apache/tools/ant/AntClassLoader.java +++ b/src/main/org/apache/tools/ant/AntClassLoader.java @@ -324,6 +324,7 @@ public class AntClassLoader extends ClassLoader implements BuildListener { addSystemPackageRoot("java"); addSystemPackageRoot("javax"); addSystemPackageRoot("org.xml.sax"); + addSystemPackageRoot("org.w3c.dom"); addSystemPackageRoot("sun.reflect"); }