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

XPathFactory.newInstance(...) uri parameter doesn't say how model identified

    Details

    • Subcomponent:
    • Resolved In Build:
      1.3
    • CPU:
      x86
    • OS:
      windows_xp

      Backports

        Description

        Name: rmT116609 Date: 05/12/2004


        A DESCRIPTION OF THE PROBLEM :
        In javax.xml.xpath.XPathFactory.newInstance(String), the parameter description
        for uri says:

               uri - Identifies the underlying object model.

        but doesn't say _how_ parameter uri's URI specifies an object model,
        or how to find out permissible value for the parameter.

        Nothing in the method decription for newInstance, the class description for
        XPathFactory, or the package description for javax.xml.xpath says anything
        about URIs for object models.

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        Enough information for a programmer to be able to know what to pass.
        ACTUAL -
        See the Description section.

        URL OF FAULTY DOCUMENTATION :
        http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/xpath/XPathFactory.html#newInstance(java.lang.String)
        (Incident Review ID: 265233)
        ======================================================================

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jsuttorsunw Jeff Suttor (Inactive)
                  Reporter:
                  rmandalasunw Ranjith Mandala (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: