diff --git a/pmd-xml/src/main/java/net/sourceforge/pmd/lang/xml/ast/internal/XmlParserImpl.java b/pmd-xml/src/main/java/net/sourceforge/pmd/lang/xml/ast/internal/XmlParserImpl.java index cab0908204..aaa17c9fd3 100644 --- a/pmd-xml/src/main/java/net/sourceforge/pmd/lang/xml/ast/internal/XmlParserImpl.java +++ b/pmd-xml/src/main/java/net/sourceforge/pmd/lang/xml/ast/internal/XmlParserImpl.java @@ -95,7 +95,7 @@ public class XmlParserImpl { /** * The root should implement {@link RootNode}. */ - static class RootXmlNode extends XmlNodeWrapper implements RootNode { + public static class RootXmlNode extends XmlNodeWrapper implements RootNode { RootXmlNode(XmlParserImpl parser, Node domNode) { super(parser, domNode); } diff --git a/pmd-xml/src/test/java/net/sourceforge/pmd/lang/xml/XmlParsingHelper.java b/pmd-xml/src/test/java/net/sourceforge/pmd/lang/xml/XmlParsingHelper.java index d35c521d30..8faa47e547 100644 --- a/pmd-xml/src/test/java/net/sourceforge/pmd/lang/xml/XmlParsingHelper.java +++ b/pmd-xml/src/test/java/net/sourceforge/pmd/lang/xml/XmlParsingHelper.java @@ -7,7 +7,7 @@ package net.sourceforge.pmd.lang.xml; import net.sourceforge.pmd.lang.ast.test.BaseParsingHelper; import net.sourceforge.pmd.lang.pom.PomLanguageModule; import net.sourceforge.pmd.lang.wsdl.WsdlLanguageModule; -import net.sourceforge.pmd.lang.xml.ast.XmlParser.RootXmlNode; +import net.sourceforge.pmd.lang.xml.ast.internal.XmlParserImpl.RootXmlNode; /** * @author Clément Fournier