Correct the file first... name is a String and ! is for boolean...
try maybe if (name!=null)
Dan J Fraser a écrit :
>
> None of the dev snapshots want to build.
>
> I want a cocoon with xinclude that works, but also with caching that works.
> So, 1.8 release is out, and 1.8.2 release is out. I'm trying to build a
> 1.8.3-dev, but I get this:
>
> [javac]
> /usr/local/xml-cocoon/build/src/org/apache/cocoon/processor/xslt/XSLTP
> rocessor.java:163: Incompatible type for !. Can't convert java.lang.String
> to boolean.
> [javac] if (!name) {
> [javac] ^
>
> Perhaps I'm doing something wrong? I've tried all the snapshots in the
> snapshots directory. Same error on each.
>
> --
> Dan J. Fraser <[EMAIL PROTECTED]>
> PGP: 0xF3972A01 (17 B7 24 90 27 05 B8 92 4F 7F 61 18 B9 D1 17 CE)
> "I haven't lost my mind, it's backed up on tape somewhere."
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>