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 Murray Altheim <mu...@sun.com> on 2001/12/13 18:00:58 UTC
Namespace attribute
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@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@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: 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