--- Tom Muldoon <[EMAIL PROTECTED]> wrote:

> Can anyone explain why the
> InfoSetUtil.booleanValue(Object object) method
> returns true when the object is a String if and only
> if it is a non-zero length string? Here's a code
> excerpt ...
> 
>         else if (object instanceof String) {
>             return ((String) object).length() != 0;
>         }
> Is this a bug? Shouldn't it return true if and only
> if the string is equal to "true" (ignoring case, of
> course)?
> 

See http://www.w3.org/TR/xpath#function-boolean .

> Thanks in advance, Tom
> 
> PS. Is this message better suited for the dev list?

Nope.  :)

-Matt

> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to