Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ET.XMLParser target aware of namespace prefixes #80857

Closed
scoder opened this issue Apr 20, 2019 · 3 comments
Closed

Make ET.XMLParser target aware of namespace prefixes #80857

scoder opened this issue Apr 20, 2019 · 3 comments
Assignees
Labels
3.8 expert-XML stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@scoder
Copy link
Contributor

scoder commented Apr 20, 2019

BPO 36676
Nosy @scoder, @serhiy-storchaka
PRs
  • bpo-36676: Namespace prefix aware parsing support for the ET.XMLParser target #12885
  • bpo-36676: Update "what's new" document. #13226
  • 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 = 'https://github.com/scoder'
    closed_at = <Date 2019-05-01.20:36:14.992>
    created_at = <Date 2019-04-20.11:06:44.812>
    labels = ['expert-XML', '3.8', 'type-feature', 'library']
    title = 'Make ET.XMLParser target aware of namespace prefixes'
    updated_at = <Date 2019-05-10.08:25:34.350>
    user = 'https://github.com/scoder'

    bugs.python.org fields:

    activity = <Date 2019-05-10.08:25:34.350>
    actor = 'scoder'
    assignee = 'scoder'
    closed = True
    closed_date = <Date 2019-05-01.20:36:14.992>
    closer = 'scoder'
    components = ['Library (Lib)', 'XML']
    creation = <Date 2019-04-20.11:06:44.812>
    creator = 'scoder'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36676
    keywords = ['patch']
    message_count = 3.0
    messages = ['340571', '341231', '342061']
    nosy_count = 3.0
    nosy_names = ['scoder', 'eli.bendersky', 'serhiy.storchaka']
    pr_nums = ['12885', '13226']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue36676'
    versions = ['Python 3.8']

    @scoder
    Copy link
    Contributor Author

    scoder commented Apr 20, 2019

    The XMLPullParser has 'start-ns' and 'end-ns' events, but the parser targets don't see them. They should have "start_ns()" and "end_ns()" callback methods to allow namespace prefix aware parsing.

    @scoder scoder added the 3.8 label Apr 20, 2019
    @scoder scoder self-assigned this Apr 20, 2019
    @scoder scoder added stdlib Python modules in the Lib dir expert-XML type-feature A feature request or enhancement labels Apr 20, 2019
    @scoder scoder changed the title Make TreeBuilder aware of namespace prefixes Make ET.XMLParser target aware of namespace prefixes Apr 20, 2019
    @scoder
    Copy link
    Contributor Author

    scoder commented May 1, 2019

    New changeset dde3eeb by Stefan Behnel in branch 'master':
    bpo-36676: Namespace prefix aware parsing support for the ET.XMLParser target (GH-12885)
    dde3eeb

    @scoder scoder closed this as completed May 1, 2019
    @scoder
    Copy link
    Contributor Author

    scoder commented May 10, 2019

    New changeset e9a465f by Stefan Behnel in branch 'master':
    bpo-36676: Update what's new document. (bpo-13226)
    e9a465f

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.8 expert-XML stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant