On 6/1/06, John Lukar <[EMAIL PROTECTED]> wrote:
Ah, I see. In 1.5, if I run "javap com/sun/org/apache/xalan/internal/xslt/Process" I get the following output:
Compiled from "Process.java"
public class com.sun.org.apache.xalan.internal.xslt.Process extends java.lang.Object{
public com.sun.org.apache.xalan.internal.xslt.Process();
protected static void printArgOptions(java.util.ResourceBundle);
public static void _main(java.lang.String[]);
static void doExit(int);
}
Note how there's an underscore in front of the main() method. I'm guessing that if you try this with your 1.4 version of the JDK (which I don't have installed) that it won't be there.
Seems like they want you to be able to access Xalan through the JAXP API, but they do not want you to be able to use the extras in Xalan like the command line applications.
The included version is out-of-date anyways, so it might be best just to download the latest version from the Xalan site.
-Kevin
My underestanding was that the xalan, xerces and jaxp are all roled
into the JDK 1.5 and hence no need for me to add them to the
classpath.
Ah, I see. In 1.5, if I run "javap com/sun/org/apache/xalan/internal/xslt/Process" I get the following output:
Compiled from "Process.java"
public class com.sun.org.apache.xalan.internal.xslt.Process extends java.lang.Object{
public com.sun.org.apache.xalan.internal.xslt.Process();
protected static void printArgOptions(java.util.ResourceBundle);
public static void _main(java.lang.String[]);
static void doExit(int);
}
Note how there's an underscore in front of the main() method. I'm guessing that if you try this with your 1.4 version of the JDK (which I don't have installed) that it won't be there.
Seems like they want you to be able to access Xalan through the JAXP API, but they do not want you to be able to use the extras in Xalan like the command line applications.
The included version is out-of-date anyways, so it might be best just to download the latest version from the Xalan site.
-Kevin
