Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6328727

jaxp doc ambiguous on diffs between jaxp in j2se and jwsdp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 1.3.1
    • 2.0
    • xml
    • 1.3.1
    • sparc
    • solaris_10

    Description

      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.

      Attachments

        Activity

          People

            jsuttorsunw Jeff Suttor (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: