>From xsltc.manifest -- 

>Name: JLex 
>Comment: A Lexical Analyzer for Java 
>Specification-Title: A Lexical Analyzer for Java 
>Specification-Vendor: Princeton University 
>Specification-Version: 1.2.5 
>Implementation-Title: JLex 
>Implementation-Version: 2.4.D1
>Implementation-Vendor: Princeton University 
>Implementation-URL: http://www.cs.princeton.edu/~appel/modern/java/JLex/

If you get the Main.java at http://www.cs.princeton.edu/~appel/modern/java/JLex/ :

/**************************************************************
  JLex: A Lexical Analyzer Generator for Java(TM)
  Written by Elliot Berk <[EMAIL PROTECTED]>. Copyright 1996.
  Maintained by C. Scott Ananian <[EMAIL PROTECTED]>.
  See below for copyright notice, license, and disclaimer.
  New releases from http://www.cs.princeton.edu/~appel/modern/java/JLex/

  Version 1.2.5, 7/25/99-5/16/00, [C. Scott Ananian]
   Stomped on one more 8-bit character bug.  Should work now (really!).
   Added unicode support, including unicode escape sequences.
   Rewrote internal JavaLexBitSet class as SparseBitSet for efficient
     unicoding.

.....


/***************************************************************
  Class: Main
  Description: Top-level lexical analyzer generator function.
 **************************************************************/
public class Main
{
  /***************************************************************
    Function: main
    **************************************************************/
  public static void main
    (
     String arg[]
     )
    throws java.io.IOException
      {
        CLexGen lg;

        if (arg.length < 1)
          {
            System.out.println("Usage: JLex.Main <filename>");
            return;
          }

        /* Note: For debuging, it may be helpful to remove the try/catch
           block and permit the Exception to propagate to the top level. 
           This gives more information. */
        try 
          {     
            lg = new CLexGen(arg[0]);
            lg.generate();
          }
        catch (Error e)

.....

No -static arg here, so I wonder what JLex.jar is present in xalan 2.3.1,
not one built from Main.java 1.2.5....

-
Henri Gomez                 ___[_]____
EMAIL : [EMAIL PROTECTED]        (. .)                     
PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 

Reply via email to