You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by bu...@apache.org on 2004/05/20 04:09:02 UTC

DO NOT REPLY [Bug 29109] New: - empty operator doesn't work with java.util.Set instances

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29109>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29109

empty operator doesn't work with java.util.Set instances

           Summary: empty operator doesn't work with java.util.Set instances
           Product: Taglibs
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Standard Taglib
        AssignedTo: taglibs-dev@jakarta.apache.org
        ReportedBy: wboyce@panix.com


${empty someSet} will return false if someSet is an instance of java.util.Set, 
even if it is, in fact, empty.  This is because EmptyOperator.java checks for 
an empty Map and an empty List but not an empty Collection.  All that needs to 
be done is to replace List with Collection, as a List is, of course, a 
Collection.

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Re: DO NOT REPLY [Bug 29109] New: - empty operator doesn't work with java.util.Set instances

Posted by Felipe Leme <ja...@felipeal.net>.
Michael,

You can easily create an account on bugzilla and add comments in any ASF
bug - there is no special requirement/permission for that.

You can even submit patches, so the committers can apply them - btw,
that's the natural path to 'committership', as explained below:

http://www.apache.org/foundation/roles.html
http://www.apache.org/foundation/how-it-works.html


Regards,

Felipe


On Wed, 2004-05-19 at 23:26, Michael Nascimento Santos wrote:

> I don't have a bugzilla user and I am not a committer, so, I am unable to
> help this user more.



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Re: DO NOT REPLY [Bug 29109] New: - empty operator doesn't work with java.util.Set instances

Posted by Justyna Horwat <Ju...@Sun.COM>.
Michael,

Thanks for your comments. After verifying Section A.3.8 of the JSTL 1.0 
specification I agree with your assessment.

I will update the bug with your evaluation.

Thanks,

Justyna

Michael Nascimento Santos wrote:

> Regarding this bug:
> 
> That's the expected behaviour in JSTL 1.0, according to the spec.
> 
> I don't have a bugzilla user and I am not a committer, so, I am unable to
> help this user more.
> 
> Reference:
> http://weblogs.java.net/pub/wlg/730
> 
> Regards,
> Michael Nascimento Santos
> JSR 207 Expert Group Member
> http://today.java.net/pub/au/80
> Sun Certified Programmer for the Java 2 Platform
> Sun Certified Mobile Application Developer
> Sun Certified Web Component Developer for J2EE
> Moderador SouJava - http://www.soujava.org.br
> 
> ----- Original Message ----- 
> From: <bu...@apache.org>
> To: <ta...@jakarta.apache.org>
> Sent: Wednesday, May 19, 2004 11:09 PM
> Subject: DO NOT REPLY [Bug 29109] New: - empty operator doesn't work with
> java.util.Set instances
> 
> 
> 
>>DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
>>RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
>><http://issues.apache.org/bugzilla/show_bug.cgi?id=29109>.
>>ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
>>INSERTED IN THE BUG DATABASE.
>>
>>http://issues.apache.org/bugzilla/show_bug.cgi?id=29109
>>
>>empty operator doesn't work with java.util.Set instances
>>
>>           Summary: empty operator doesn't work with java.util.Set
> 
> instances
> 
>>           Product: Taglibs
>>           Version: unspecified
>>          Platform: All
>>        OS/Version: All
>>            Status: NEW
>>          Severity: Normal
>>          Priority: Other
>>         Component: Standard Taglib
>>        AssignedTo: taglibs-dev@jakarta.apache.org
>>        ReportedBy: wboyce@panix.com
>>
>>
>>${empty someSet} will return false if someSet is an instance of
> 
> java.util.Set,
> 
>>even if it is, in fact, empty.  This is because EmptyOperator.java checks
> 
> for
> 
>>an empty Map and an empty List but not an empty Collection.  All that
> 
> needs to
> 
>>be done is to replace List with Collection, as a List is, of course, a
>>Collection.
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Re: DO NOT REPLY [Bug 29109] New: - empty operator doesn't work with java.util.Set instances

Posted by Michael Nascimento Santos <mi...@hotmail.com>.
Regarding this bug:

That's the expected behaviour in JSTL 1.0, according to the spec.

I don't have a bugzilla user and I am not a committer, so, I am unable to
help this user more.

Reference:
http://weblogs.java.net/pub/wlg/730

Regards,
Michael Nascimento Santos
JSR 207 Expert Group Member
http://today.java.net/pub/au/80
Sun Certified Programmer for the Java 2 Platform
Sun Certified Mobile Application Developer
Sun Certified Web Component Developer for J2EE
Moderador SouJava - http://www.soujava.org.br

----- Original Message ----- 
From: <bu...@apache.org>
To: <ta...@jakarta.apache.org>
Sent: Wednesday, May 19, 2004 11:09 PM
Subject: DO NOT REPLY [Bug 29109] New: - empty operator doesn't work with
java.util.Set instances


> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://issues.apache.org/bugzilla/show_bug.cgi?id=29109>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
> INSERTED IN THE BUG DATABASE.
>
> http://issues.apache.org/bugzilla/show_bug.cgi?id=29109
>
> empty operator doesn't work with java.util.Set instances
>
>            Summary: empty operator doesn't work with java.util.Set
instances
>            Product: Taglibs
>            Version: unspecified
>           Platform: All
>         OS/Version: All
>             Status: NEW
>           Severity: Normal
>           Priority: Other
>          Component: Standard Taglib
>         AssignedTo: taglibs-dev@jakarta.apache.org
>         ReportedBy: wboyce@panix.com
>
>
> ${empty someSet} will return false if someSet is an instance of
java.util.Set,
> even if it is, in fact, empty.  This is because EmptyOperator.java checks
for
> an empty Map and an empty List but not an empty Collection.  All that
needs to
> be done is to replace List with Collection, as a List is, of course, a
> Collection.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org