You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by ki...@engr.orst.edu on 2003/11/17 22:16:12 UTC

Compile errors in src dist: XPathContext

I'm trying to compile the source tarball and I'm getting these errors:

build/src/org/apache/xml/security/transforms/implementations/FuncHereContext.java:136:
m_dtmManager has private access in org.apache.xpath.XPathContext
    [javac]          super.m_dtmManager = xpathContext.getDTMManager();
    [javac]               ^
..
build/src/org/apache/xml/security/transforms/implementations/FuncHereContext.java:155:
m_dtmManager has private access in org.apache.xpath.XPathContext
    [javac]          super.m_dtmManager =
previouslyUsed.getXPathContext().getDTMManager();
    [javac]               ^
..
build/src/org/apache/xml/security/transforms/implementations/FuncHereContext.java:174:
m_dtmManager has private access in org.apache.xpath.XPathContext
    [javac]          super.m_dtmManager = dtmManager;
    [javac]               ^

This happens with both the 1.2 and 1.3 versions of the JDK, on a Solaris
machine.  Any help as to what I'm missing?  An investigation of the
XPathContext class shows that m_dtmManager is protected, not private.

-Alex

Re: Compile errors in src dist: XPathContext

Posted by Erwin van der Koogh <vd...@apache.org>.
> I'm trying to compile the source tarball and I'm getting these errors:
>
> build/src/org/apache/xml/security/transforms/implementations/FuncHereCont
> ext.java:136: m_dtmManager has private access in
> org.apache.xpath.XPathContext     [javac]          super.m_dtmManager =
> xpathContext.getDTMManager();     [javac]               ^
> ..
> build/src/org/apache/xml/security/transforms/implementations/FuncHereCont
> ext.java:155: m_dtmManager has private access in
> org.apache.xpath.XPathContext     [javac]          super.m_dtmManager =
> previouslyUsed.getXPathContext().getDTMManager();
>     [javac]               ^
> ..
> build/src/org/apache/xml/security/transforms/implementations/FuncHereCont
> ext.java:174: m_dtmManager has private access in
> org.apache.xpath.XPathContext     [javac]          super.m_dtmManager =
> dtmManager;
>     [javac]               ^
>
> This happens with both the 1.2 and 1.3 versions of the JDK, on a Solaris
> machine.  Any help as to what I'm missing?  An investigation of the
> XPathContext class shows that m_dtmManager is protected, not private.

If I remember correctly this is a Xalan version mismatch. There's a version 
in the libs directory (at least in CVS) that should definately work.
Here's a link to the JDK1.4 problem which seems to be pretty familiar:

<http://xml.apache.org/security/Java/faq.html#jdk140>

Hope that helps!

Erwin