You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Dave Brosius (JIRA)" <xa...@xml.apache.org> on 2008/01/09 06:03:34 UTC

[jira] Closed: (XALANJ-2114) odd non-shortcircuited boolean logic

     [ https://issues.apache.org/jira/browse/XALANJ-2114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Brosius closed XALANJ-2114.
--------------------------------


Fix applied correctly

> odd non-shortcircuited boolean logic
> ------------------------------------
>
>                 Key: XALANJ-2114
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2114
>             Project: XalanJ2
>          Issue Type: Bug
>    Affects Versions: 2.7
>         Environment: win32 xp
>            Reporter: Dave Brosius
>            Assignee: John Gentilin
>            Priority: Minor
>             Fix For: 2.7
>
>         Attachments: JIRA2114-patch.zip
>
>
> In class: org.apache.xpath.objects.XString
> In method: public double toDouble()
> Using non short-circuited logic operators.... Is this on purpose?
> if (c != '-' & c != '.' & ( c < 0X30 | c > 0x39)) {
> ------------------------------------------------------------
> Also in class: org.apache.xml.dtm.ref.DTMDefaultBase
> In method: public boolean isNodeAfter(int nodeHandle1, int nodeHandle2)
>     return index1!=NULL & index2!=NULL & index1 <= index2;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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