Skip to content

xml.dom documentation doesn't match implementation #46360

Closed

Description

@stefanseefeld
BPO 2101
Nosy @birkenfeld, @stefanseefeld
Files
  • issue_2101_doc.patch: Documentation patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2008-02-23.21:59:20.270>
    created_at = <Date 2008-02-13.14:37:13.929>
    labels = ['expert-XML', 'easy', 'type-bug', 'docs']
    title = "xml.dom documentation doesn't match implementation"
    updated_at = <Date 2008-02-23.21:59:20.268>
    user = 'https://github.com/stefanseefeld'

    bugs.python.org fields:

    activity = <Date 2008-02-23.21:59:20.268>
    actor = 'georg.brandl'
    assignee = 'none'
    closed = True
    closed_date = <Date 2008-02-23.21:59:20.270>
    closer = 'georg.brandl'
    components = ['Documentation', 'XML']
    creation = <Date 2008-02-13.14:37:13.929>
    creator = 'stefan'
    dependencies = []
    files = ['9494']
    hgrepos = []
    issue_num = 2101
    keywords = ['easy']
    message_count = 3.0
    messages = ['62359', '62732', '62817']
    nosy_count = 3.0
    nosy_names = ['georg.brandl', 'stefan', 'brunogola']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue2101'
    versions = ['Python 2.5']

    Activity

    1. stefanseefeld commented on Feb 13, 2008

      stefanseefeldmannequin
      MannequinAuthor

      The docs at http://docs.python.org/lib/dom-element-objects.html
      claim that removeAttribute(name) silently ignores the attempt to
      remove an unknown attribute. However, the current implementation
      in the minidom module (part of _xmlplus) raises an xml.dom.NotFoundErr
      exception.

    2. added
      docs
      type-bug
      on Feb 13, 2008
    3. brunogola commented on Feb 23, 2008

      brunogolamannequin
      Mannequin

      This seems to be a documentation bug. Patch attached.

    4. birkenfeld commented on Feb 23, 2008

      @birkenfeld
      Member

      Fixed in r61017.

    5. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      docseasytopic-XMLtype-bug

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions