Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-2635

Remove JLex.jar from the source repository

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • XSLTC
    • Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.)
    • None

    Description

      https://github.com/apache/xalan-java/tree/master/tools contains JLex.jar which is a binary file, and its provenance is unknown.

      The ASF rules forbid compiled including compiled code to the source repository (see https://lists.apache.org/thread/otx07h6vbjrsqd9r9sqpcpjscvjwtmfc), and in this case, there's no real need to have JLex.jar in the source repository.

      At the same time, the generated xalan-java/src/org/apache/xalan/xsltc/compiler/XPathLexer.java should be removed from the source control.

      I suggest that JLex.jar should be removed and it should be replaced with something else.
      For instance, the source code of JLex could be added as a separate subfolder, and xalan could compile JLex from sources.

      It looks like the official distribution is not maintained: https://www.cs.princeton.edu/~appel/modern/java/JLex/

      Attachments

        Issue Links

          Activity

            People

              ggregory Gary D. Gregory
              vladimirsitnikov Vladimir Sitnikov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: