> 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!

Reply via email to