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

A typo in a description of NamespaceSupport.processName()

XMLWordPrintable



      Name: eaR10174 Date: 07/13/2001


        There is a typo in the description of the
      org.xml.sax.helpers.NamespaceSupport.processName()
      (builds jaxp-1.1.1-b26-09_jul_2001, jdk1.4.0beta-b70):

          "public String[] processName(String qName, String[] parts, boolean isAttribute)
             ...
             Note that attribute names are processed differently than element names: an
             unprefixed element name will received the default Namespace (if any), while
             an unprefixed element name will not."
                ^^^^^^^^^^^^^^^^^^^^^^^

        I believe the last occurence of the "element" word should be replaced with
      "attribute" :


          "public String[] processName(String qName, String[] parts, boolean isAttribute)
             ...
             Note that attribute names are processed differently than element names: an
             unprefixed element name will received the default Namespace (if any), while
             an unprefixed attribute name will not."
                ^^^^^^^^^^^^^^^^^^^^^^^

      ======================================================================

            egoei Edwin Goei (Inactive)
            evgsunw Evg Evg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: