In JWSDP 1.6, the doc JAXP-Compatibility_150.html has the
following:
Invoking XSLT from the Command Line
The command for invoking XSLT from the command line is unchanged, as well. That command is:
java com.sun.org.apache.xalan.internal.xslt.Process -IN xmlIn -XSL xslStyle {-OUT out}
But it doesn't make it clear that on J2SE 1.5, you have to set the java.endorsed.dirs property
to point to the jaxp jars from jwsdp; otherwise, the jaxp built into J2SE will be
used and it does not have a main method in the Process class for security
reasons. So it doesn't have a commandline, as the JAXP from jwsdp 1.6 does. This
fact should be documented.
In general, the difference between the JAXP built into the J2SE and
the JAXP in JWSDP should be better documented. I am not sure but I've
heard that only the XSLTC processor is in j2se, whereas jwsdp has the
Xalan interpretive XSLT processor as well. If that is true, it would be
a major difference that should be documented.
In general, all the JAXP doc bundled with JWSDP
needs to reflect the version of JAXP (1.3.1)
that going out with the pack, especially the
Release Notes. My impression is that the
doc is quite out of date and needs to be
revisited by someone who on the JAXP team.
following:
Invoking XSLT from the Command Line
The command for invoking XSLT from the command line is unchanged, as well. That command is:
java com.sun.org.apache.xalan.internal.xslt.Process -IN xmlIn -XSL xslStyle {-OUT out}
But it doesn't make it clear that on J2SE 1.5, you have to set the java.endorsed.dirs property
to point to the jaxp jars from jwsdp; otherwise, the jaxp built into J2SE will be
used and it does not have a main method in the Process class for security
reasons. So it doesn't have a commandline, as the JAXP from jwsdp 1.6 does. This
fact should be documented.
In general, the difference between the JAXP built into the J2SE and
the JAXP in JWSDP should be better documented. I am not sure but I've
heard that only the XSLTC processor is in j2se, whereas jwsdp has the
Xalan interpretive XSLT processor as well. If that is true, it would be
a major difference that should be documented.
In general, all the JAXP doc bundled with JWSDP
needs to reflect the version of JAXP (1.3.1)
that going out with the pack, especially the
Release Notes. My impression is that the
doc is quite out of date and needs to be
revisited by someone who on the JAXP team.