jsumners / jsumners/feedparser

Namespaced attributes discarded

Open
#293 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-migrated
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

What steps will reproduce the problem?
1. Load an Atom feed with a namespaced attribute on an element, like 
https://api.zotero.org/users/475425/items/PG5ZCTJT?content=json
2. The attribute zapi:etag is on the tag <content>, but note that d.content[0] 
has no zapi_etag attribute.

What is the expected output? What do you see instead?
I expected there to be some way to access the content of the namespaced 
attribute.

What version of the product are you using? On what operating system?
This is using Feedparser 5.01, Python 2.7.1, Ubuntu 11.04.

Please provide any additional information below.
This issue was first reported to the Zotero developer team at 
http://groups.google.com/group/zotero-dev/browse_thread/thread/a1db3c0fe6592e6a

Original issue reported on code.google.com by ajlyon on 25 Jun 2011 at 7:49

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the linked Atom feed URL using Feedparser 5.01 and inspect how namespaced attributes are exposed on d.content[0]. The work is done when the zapi:etag value on the content element can be accessed through the parsed result.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.