You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Paul Nock <pn...@medicineplanet.com> on 2001/06/18 22:42:46 UTC
Sylvain: was ... RE: broken build?
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:sylvain.wallez@anyware-tech.com]
Sent: Monday, June 11, 2001 9:14 AM
To: cocoon-users@xml.apache.org
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 <df...@capybara.org>
> 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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Sylvain: was ... RE: broken build?
Posted by Sylvain Wallez <sy...@anyware-tech.com>.
Paul Nock a écrit :
>
> 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
You're totally right. That was a typo from me :(
It's corrected in CVS the right way now.
Thanks and sorry for the incovenience.
--
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>