You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Nathan Jones <nd...@chem.ubc.ca> on 2001/12/13 08:18:15 UTC

Build problems: dbXML_Core-1.0b4

Hello all,

Has anyone encountered this problem when trying to build dbXML_Core-1.0b4? I am using J2SDK1.4-beta3/Win98, although the architecture should not make a difference for this issue.

...
src:
     [echo] Compiling Source
    [javac] Compiling 267 source files to C:\dbXML-Core-1.0b4\java\classes
    [javac] C:\dbXML-Core-1.0b4\java\src\org\dbxml\core\query\XPathQueryResolver
.java:1011: incompatible types
    [javac] found   : org.apache.xpath.NodeSetDTM
    [javac] required: org.w3c.dom.NodeList
    [javac]                nl = xp.execute(xpc, n, pfx).mutableNodeset();
    [javac]                                                           ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 1 error

BUILD FAILED

C:\dbXML-Core-1.0b4\build.xml:112: Compile failed, messages should have been pro
vided.

I see that this is a simple type-mismatch. What can I do quickly to rectify this?

Thanks,
Nathan



--------------------------------------
Nathan D. Jones
Department of Chemistry
University of Alberta
Edmonton, Alberta
Canada
T6G 2G2
--------------------------------------

Re: Namespace attribute

Posted by Tom Bradford <br...@dbxmlgroup.com>.
On Thursday, December 13, 2001, at 10:00 AM, Murray Altheim wrote:
>> Jeff Suttor of our team fixed that last night in our own build. Here's
>> the fix:
>>
>>         nl = xp.execute(xpc, n, pfx).nodelist();
>>                                      ^^^^^^^^

An alternative would be to use the version that's in CVS as it should 
work with both Xalan 2.0.1 and 2.2.Dnn

--
Tom Bradford - http://www.tbradford.org
Developer - Apache Xindice (formerly dbXML)
Maintainer - jEdit-Syntax Java Editing Bean


Namespace attribute

Posted by Murray Altheim <mu...@sun.com>.
Murray Altheim wrote:
> 
> > Nathan Jones wrote:
> >
> > Hello all,
> >
> > Has anyone encountered this problem when trying to build dbXML_Core-1.0b4? I am using
> > J2SDK1.4-beta3/Win98, although the architecture should not make a difference for this issue.
> >
> > ...
> > src:
> >      [echo] Compiling Source
> >     [javac] Compiling 267 source files to C:\dbXML-Core-1.0b4\java\classes
> >     [javac] C:\dbXML-Core-1.0b4\java\src\org\dbxml\core\query\XPathQueryResolver
> > .java:1011: incompatible types
> >     [javac] found   : org.apache.xpath.NodeSetDTM
> >     [javac] required: org.w3c.dom.NodeList
> >     [javac]                nl = xp.execute(xpc, n, pfx).mutableNodeset();
> >     [javac]                                                           ^
> >     [javac] Note: Some input files use or override a deprecated API.
> >     [javac] Note: Recompile with -deprecation for details.
> >     [javac] 1 error
> >
> > BUILD FAILED
> >
> > C:\dbXML-Core-1.0b4\build.xml:112: Compile failed, messages should have been pro
> > vided.
> > I see that this is a simple type-mismatch. What can I do quickly to rectify this?
> 
> Jeff Suttor of our team fixed that last night in our own build. Here's
> the fix:
> 
>         nl = xp.execute(xpc, n, pfx).nodelist();
>                                      ^^^^^^^^
> Murray
> 
> ...........................................................................
> Murray Altheim                         <mailto:murray.altheim&#x40;sun.com>
> XML Technology Center, Java and XML Software
> Sun Microsystems, Inc., MS MPK17-102, 1601 Willow Rd., Menlo Park, CA 94025
> 
>                Rally against the evils of iceburg lettuce!
>             Grab a kitchen knife and join the Balsamic Jihad!

-- 
Murray

...........................................................................
Murray Altheim                         <mailto:murray.altheim&#x40;sun.com>
XML Technology Center, Java and XML Software
Sun Microsystems, Inc., MS MPK17-102, 1601 Willow Rd., Menlo Park, CA 94025

               Rally against the evils of iceburg lettuce! 
            Grab a kitchen knife and join the Balsamic Jihad!

Re: Build problems: dbXML_Core-1.0b4

Posted by Murray Altheim <mu...@sun.com>.
> Nathan Jones wrote:
> 
> Hello all,
> 
> Has anyone encountered this problem when trying to build dbXML_Core-1.0b4? I am using
> J2SDK1.4-beta3/Win98, although the architecture should not make a difference for this issue.
> 
> ...
> src:
>      [echo] Compiling Source
>     [javac] Compiling 267 source files to C:\dbXML-Core-1.0b4\java\classes
>     [javac] C:\dbXML-Core-1.0b4\java\src\org\dbxml\core\query\XPathQueryResolver
> .java:1011: incompatible types
>     [javac] found   : org.apache.xpath.NodeSetDTM
>     [javac] required: org.w3c.dom.NodeList
>     [javac]                nl = xp.execute(xpc, n, pfx).mutableNodeset();
>     [javac]                                                           ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -deprecation for details.
>     [javac] 1 error
> 
> BUILD FAILED
> 
> C:\dbXML-Core-1.0b4\build.xml:112: Compile failed, messages should have been pro
> vided.
> I see that this is a simple type-mismatch. What can I do quickly to rectify this?

Jeff Suttor of our team fixed that last night in our own build. Here's
the fix:

        nl = xp.execute(xpc, n, pfx).nodelist();
                                     ^^^^^^^^
Murray

...........................................................................
Murray Altheim                         <mailto:murray.altheim&#x40;sun.com>
XML Technology Center, Java and XML Software
Sun Microsystems, Inc., MS MPK17-102, 1601 Willow Rd., Menlo Park, CA 94025

               Rally against the evils of iceburg lettuce! 
            Grab a kitchen knife and join the Balsamic Jihad!

Re: Build problems: dbXML_Core-1.0b4

Posted by Nathan Jones <nd...@chem.ubc.ca>.
Kimbro,

The first instance of xalan.jar on my classpath is that shipped with
jdom-b7, i.e., Xalan-1.3p. Does this make a difference?

Nathan

----- Original Message -----
From: Kimbro Staken <ks...@dbxmlgroup.com>
To: <xi...@xml.apache.org>
Sent: December 13, 2001 12:23 AM
Subject: Re: Build problems: dbXML_Core-1.0b4


> Do you have a newer version of Xalan then 2.0.1 laying around?
>
> On Thursday, December 13, 2001, at 12:18 AM, Nathan Jones wrote:
>
> > Hello all,
> >
> > Has anyone encountered this problem when trying to build
dbXML_Core-1.0b4?
> >  I am using J2SDK1.4-beta3/Win98, although the architecture should not
> > make a difference for this issue.
> >
> > ...
> > src:
> > [echo] Compiling Source
> > [javac] Compiling 267 source files to C:\dbXML-Core-1.0b4\java\classes
> > [javac] C:\dbXML-
> > Core-1.0b4\java\src\org\dbxml\core\query\XPathQueryResolver
> > .java:1011: incompatible types
> > [javac] found : org.apache.xpath.NodeSetDTM
> > [javac] required: org.w3c.dom.NodeList
> > [javac] nl = xp.execute(xpc, n, pfx).mutableNodeset();
> > [javac] ^
> > [javac] Note: Some input files use or override a deprecated API.
> > [javac] Note: Recompile with -deprecation for details.
> > [javac] 1 error
> >
> > BUILD FAILED
> >
> > C:\dbXML-Core-1.0b4\build.xml:112: Compile failed, messages should have
> > been pro
> > vided.
> > I see that this is a simple type-mismatch. What can I do quickly to
> > rectify this?
> >
> > Thanks,
> > Nathan
> >
> >
> >
> > --------------------------------------
> > Nathan D. Jones
> > Department of Chemistry
> > University of Alberta
> > Edmonton, Alberta
> > Canada
> > T6G 2G2
> > --------------------------------------
> >
> Kimbro Staken
> XML Database Software, Consulting and Writing
> http://www.xmldatabases.org/


Re: Build problems: dbXML_Core-1.0b4

Posted by Kimbro Staken <ks...@dbxmlgroup.com>.
Do you have a newer version of Xalan then 2.0.1 laying around?

On Thursday, December 13, 2001, at 12:18 AM, Nathan Jones wrote:

> Hello all,
>  
> Has anyone encountered this problem when trying to build dbXML_Core-1.0b4?
>  I am using J2SDK1.4-beta3/Win98, although the architecture should not 
> make a difference for this issue.
>  
> ...
> src:
>      [echo] Compiling Source
>     [javac] Compiling 267 source files to C:\dbXML-Core-1.0b4\java\classes
>     [javac] C:\dbXML-
> Core-1.0b4\java\src\org\dbxml\core\query\XPathQueryResolver
> .java:1011: incompatible types
>     [javac] found   : org.apache.xpath.NodeSetDTM
>     [javac] required: org.w3c.dom.NodeList
>     [javac]                nl = xp.execute(xpc, n, pfx).mutableNodeset();
>     [javac]                                                           ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -deprecation for details.
>     [javac] 1 error
>  
> BUILD FAILED
>  
> C:\dbXML-Core-1.0b4\build.xml:112: Compile failed, messages should have 
> been pro
> vided.
> I see that this is a simple type-mismatch. What can I do quickly to 
> rectify this?
>  
> Thanks,
> Nathan
>  
>  
>  
> --------------------------------------
> Nathan D. Jones
> Department of Chemistry
> University of Alberta
> Edmonton, Alberta
> Canada
> T6G 2G2
> --------------------------------------
>
Kimbro Staken
XML Database Software, Consulting and Writing
http://www.xmldatabases.org/