Hmmm...
Is your patch correct?

I see it's changed to...

    private boolean isValidName (String name) {
        if (name != null) {
            return false;
        }
    .....

I found my stylesheets no longer had <xsl:param>s working properly with the
20010618104654 C1 build.  Looking at the code, this would seem to be the
correct check:
    private boolean isValidName (String name) {
        if (name == null) {
            return false;
        }
        .....

With the second version, my stylesheets seem to work OK again.


Paul
-----Original Message-----
From: Sylvain Wallez [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 9:14 AM
To: [EMAIL PROTECTED]
Subject: Re: broken build?




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."
>

This was a typo. I patched the Cocoon 1 CVS which should now be OK.

--
Sylvain Wallez
Anyware Technologies - http://www.anyware-tech.com

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

Reply via email to