You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/11/18 16:50:16 UTC

DO NOT REPLY [Bug 24788] New: - Incorrect code generation for predicate

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24788

Incorrect code generation for predicate

           Summary: Incorrect code generation for predicate
           Product: XalanJ2
           Version: CurrentCVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: zongaro@ca.ibm.com


Code generation for a predicate that involves a comparison of a step expression 
against a string value is incorrect in some circumstances.  Code in the 
isNodeValueTest(), getCompareValue() and getStep() methods of Predicate 
together detect an optimization opportunity that is too optimistic in some 
circumstances.

I'll attach an illustrative example - the general case needs to be carefully 
considered.