Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
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
- is related to
-
XALANJ-2634 Improve build: add CI, run xalan-test in CI, download jars from Central
- Open