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=27334>.
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=27334

XPathParser and Lexer should work on OpMap instead of Compiler instances

           Summary: XPathParser and Lexer should work on OpMap instead of
                    Compiler instances
           Product: XalanJ2
           Version: CurrentCVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: org.apache.xpath
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Since both the XPathParser and the Lexer class do not use any methods/fields 
specific to the Compiler class, they should work on OpMap instances. This 
enables one to implement other XPath Compilers by subclassing OpMap. I will 
add an attachment of such a custom compiler.

To achieve this the parameter types of XPathParser.initXPath() and Lexer.Lexer 
need to be changed.

Reply via email to