[ http://nagoya.apache.org/jira/browse/XALANJ-1807?page=history ]

Henry Zongaro updated XALANJ-1807:
----------------------------------

      Assign To:     (was: Xalan Developers Mailing List)
           type: Improvement  (was: Bug)
    Description: 
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.

  was:
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.

    Environment: 
Operating System: All
Platform: All

  was:
Operating System: All
Platform: All

       Priority: Major
    Bugzilla Id:   (was: 27334)

> XPathParser and Lexer should work on OpMap instead of Compiler instances
> ------------------------------------------------------------------------
>
>          Key: XALANJ-1807
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-1807
>      Project: XalanJ2
>         Type: Improvement
>   Components: XPath
>     Versions: CurrentCVS
>  Environment: Operating System: All
> Platform: All
>     Reporter: Mirko Seifert
>  Attachments: MyCompiler.java, diff.txt
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to