You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by hu...@redspark.com on 2001/04/10 20:10:55 UTC

build error

Hi everybody,

I just got the source code from cvs for slide this morning (4/10.2001.)  When I did a build for it, this is the error message I got back:

prepare:

util:
     [echo] Building Utils
    [javac] Compiling 1 source file to D:\jakarta-slide\build\classes
    [javac] D:\jakarta-slide\src\util\org\apache\util\DOMUtils.java:245: Method getNamespaceURI() no
t found in interface org.w3c.dom.Element.
    [javac]             namespace = element.getNamespaceURI();
    [javac]                                                ^
    [javac] D:\jakarta-slide\src\util\org\apache\util\DOMUtils.java:301: Method getLocalName() not f
ound in interface org.w3c.dom.Element.
    [javac]             localName = element.getLocalName();
    [javac]                                             ^
    [javac] D:\jakarta-slide\src\util\org\apache\util\DOMUtils.java:342: Method getElementsByTagName
NS(java.lang.String, java.lang.String) not found in interface org.w3c.dom.Element.
    [javac]             list = ((Element) node).getElementsByTagNameNS(namespace, tagName);
    [javac]                                                           ^
    [javac] 3 errors

BUILD FAILED

Is there anyone else who get the same error message?  I checked the org.w3c.dom.Element.java from DOMJuan and I don't see any method for getNamespaceURI(), getLocalName() but getElementsByTagNameNS(String , String).  Can anyone tell me what is going on here?  Thanks.

Huy-

Re: build error

Posted by Remy Maucherat <re...@betaversion.org>.
Quoting huy.nguyen@redspark.com:

> Hi everybody,
> 
> I just got the source code from cvs for slide this morning (4/10.2001.) 
> When I did a build for it, this is the error message I got back:


> Is there anyone else who get the same error message?  I checked the
> org.w3c.dom.Element.java from DOMJuan and I don't see any method for
> getNamespaceURI(), getLocalName() but getElementsByTagNameNS(String ,
> String).  Can anyone tell me what is going on here?  Thanks.

Slide requires DOM level 2 to build.

Remy