Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-686

Doco for DOMNamedNodeMap incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • Documentation
    • None
    • Operating System: Other
      Platform: Other
    • 13751

    Description

      The documentation for the DOMNamedNodeMap::removeNamedItem method states that
      null may be returned if no node with such a name exists. The doco also says
      that a DOMException NOT_FOUND_ERR is raised if there is no node named name in
      the map.

      This seems contradictory. Maybe this is from some doco being accidentially
      copied?

      The DOM spec does not state that this method can return null.

      http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-1780488922

      Attachments

        Activity

          People

            Unassigned Unassigned
            john_sisson@insession.com John Sisson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: