You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Michael Reardon <mi...@onewebsystems.com> on 2001/06/08 00:36:43 UTC

build problems

Now I'm regretting ignoring the emails others had sent about problems
building the 2.2 sources. I'm completely perplexed. Here is the order of
my classpath....

D:\java\xerces-1_4_0\xerces.jar
D:\java\jaf-1.0.1\activation.jar
D:\java\javamail-1.2\mail.jar
D:\java\junit3.5\junit.jar
D:\java\smtp\lib\smtp.jar
D:\java\pop3\lib\pop3.jar
D:\java\bsf-2_2\lib\bsf.jar
D:\java\xml-soap\lib\xmisoap.jar
D:\java\j2ee.jar

But ant does this to me....

compile:
    [javac] Compiling 13 source files to D:\java\xml-soap\build\classes
    [javac]
D:\java\xml-soap\src\org\apache\soap\AttributeHandler.java:234: Method
getNamespaceURI() not found in interface org.w3c.dom.Attr.
    [javac]       String namespaceURI = attr.getNamespaceURI();
    [javac]                                                 ^
    [javac]
D:\java\xml-soap\src\org\apache\soap\AttributeHandler.java:235: Method
getLocalName() not found in interface org.w3c.dom.Attr.
    [javac]       String localName = attr.getLocalName();
    [javac]                                           ^
    [javac]
D:\java\xml-soap\src\org\apache\soap\encoding\soapenc\ParameterSerializer.java:150:
Method getNamespaceURI() not found in interface org.w3c.dom.Elem
ent.
    [javac]           String paramNamespaceURI =
paramEl.getNamespaceURI();
    [javac]                                                            
^
    [javac]
D:\java\xml-soap\src\org\apache\soap\encoding\soapenc\ParameterSerializer.java:184:
Method getNamespaceURI() not found in interface org.w3c.dom.Elem
etc..


This is clearly not getting the DOM Level 2 stuff, but I can't figure
out why. I have xerces 1.4 at the top of the classpath. Any clues?

Thanks,
Mike Reardon

Re: build problems

Posted by Michael Reardon <mi...@onewebsystems.com>.
Doh! That explains it. I forgot I just updated Ant to 1.3

Thanks

"Matthew J. Duftler" wrote:
> 
> Hi Michael,
> 
> If you are using Ant (which obviously you are) you will probably have to
> move the jaxp.jar and parser.jar out of Ant's lib directory. This is
> described in Ant's installation docs. I believe parser.jar contains a DOM
> impl that is pre-namespaces.
> 
> Thanks,
> -Matt
> 
> > -----Original Message-----
> > From: Michael Reardon [mailto:mike@onewebsystems.com]
> > Sent: Thursday, June 07, 2001 6:37 PM
> > To: soap user
> > Subject: build problems
> >
> >
> > Now I'm regretting ignoring the emails others had sent about problems
> > building the 2.2 sources. I'm completely perplexed. Here is the order of
> > my classpath....
> >
> > D:\java\xerces-1_4_0\xerces.jar
> > D:\java\jaf-1.0.1\activation.jar
> > D:\java\javamail-1.2\mail.jar
> > D:\java\junit3.5\junit.jar
> > D:\java\smtp\lib\smtp.jar
> > D:\java\pop3\lib\pop3.jar
> > D:\java\bsf-2_2\lib\bsf.jar
> > D:\java\xml-soap\lib\xmisoap.jar
> > D:\java\j2ee.jar
> >
> > But ant does this to me....
> >
> > compile:
> >     [javac] Compiling 13 source files to D:\java\xml-soap\build\classes
> >     [javac]
> > D:\java\xml-soap\src\org\apache\soap\AttributeHandler.java:234: Method
> > getNamespaceURI() not found in interface org.w3c.dom.Attr.
> >     [javac]       String namespaceURI = attr.getNamespaceURI();
> >     [javac]                                                 ^
> >     [javac]
> > D:\java\xml-soap\src\org\apache\soap\AttributeHandler.java:235: Method
> > getLocalName() not found in interface org.w3c.dom.Attr.
> >     [javac]       String localName = attr.getLocalName();
> >     [javac]                                           ^
> >     [javac]
> > D:\java\xml-soap\src\org\apache\soap\encoding\soapenc\ParameterSer
> > ializer.java:150:
> > Method getNamespaceURI() not found in interface org.w3c.dom.Elem
> > ent.
> >     [javac]           String paramNamespaceURI =
> > paramEl.getNamespaceURI();
> >     [javac]
> > ^
> >     [javac]
> > D:\java\xml-soap\src\org\apache\soap\encoding\soapenc\ParameterSer
> > ializer.java:184:
> > Method getNamespaceURI() not found in interface org.w3c.dom.Elem
> > etc..
> >
> >
> > This is clearly not getting the DOM Level 2 stuff, but I can't figure
> > out why. I have xerces 1.4 at the top of the classpath. Any clues?
> >
> > Thanks,
> > Mike Reardon
> >

RE: build problems

Posted by "Matthew J. Duftler" <du...@watson.ibm.com>.
Hi Michael,

If you are using Ant (which obviously you are) you will probably have to
move the jaxp.jar and parser.jar out of Ant's lib directory. This is
described in Ant's installation docs. I believe parser.jar contains a DOM
impl that is pre-namespaces.

Thanks,
-Matt

> -----Original Message-----
> From: Michael Reardon [mailto:mike@onewebsystems.com]
> Sent: Thursday, June 07, 2001 6:37 PM
> To: soap user
> Subject: build problems
>
>
> Now I'm regretting ignoring the emails others had sent about problems
> building the 2.2 sources. I'm completely perplexed. Here is the order of
> my classpath....
>
> D:\java\xerces-1_4_0\xerces.jar
> D:\java\jaf-1.0.1\activation.jar
> D:\java\javamail-1.2\mail.jar
> D:\java\junit3.5\junit.jar
> D:\java\smtp\lib\smtp.jar
> D:\java\pop3\lib\pop3.jar
> D:\java\bsf-2_2\lib\bsf.jar
> D:\java\xml-soap\lib\xmisoap.jar
> D:\java\j2ee.jar
>
> But ant does this to me....
>
> compile:
>     [javac] Compiling 13 source files to D:\java\xml-soap\build\classes
>     [javac]
> D:\java\xml-soap\src\org\apache\soap\AttributeHandler.java:234: Method
> getNamespaceURI() not found in interface org.w3c.dom.Attr.
>     [javac]       String namespaceURI = attr.getNamespaceURI();
>     [javac]                                                 ^
>     [javac]
> D:\java\xml-soap\src\org\apache\soap\AttributeHandler.java:235: Method
> getLocalName() not found in interface org.w3c.dom.Attr.
>     [javac]       String localName = attr.getLocalName();
>     [javac]                                           ^
>     [javac]
> D:\java\xml-soap\src\org\apache\soap\encoding\soapenc\ParameterSer
> ializer.java:150:
> Method getNamespaceURI() not found in interface org.w3c.dom.Elem
> ent.
>     [javac]           String paramNamespaceURI =
> paramEl.getNamespaceURI();
>     [javac]
> ^
>     [javac]
> D:\java\xml-soap\src\org\apache\soap\encoding\soapenc\ParameterSer
> ializer.java:184:
> Method getNamespaceURI() not found in interface org.w3c.dom.Elem
> etc..
>
>
> This is clearly not getting the DOM Level 2 stuff, but I can't figure
> out why. I have xerces 1.4 at the top of the classpath. Any clues?
>
> Thanks,
> Mike Reardon
>