Unused/multiple namespaces will be lost when document is saved
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
The issue names no files or tests; start by locating the document save and serialization path, then reproduce the three namespace cases described in the report. Done means saving a document preserves the absence of namespaces, unused namespaces, and multiple namespace declarations instead of stripping or reducing them.
Written by the indexing model from the issue text.
Description
-
If there is no namespace in the document when you begin working with it, none will be added.
-
If there is a namespace but it is not used in the document, it will be stripped
-
if there are two namespaces (possible but unlikely) one will be saved
Fix will be something like https://stackoverflow.com/questions/41937624/elementtree-why-are-my-namespace-declarations-stripped-out
Originally posted by @jacalata in https://github.com/tableau/document-api-python/pull/197#discussion_r645193528
- Dominant language
- Python
- Stars
- 363
- Forks
- 183
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tableau/document-api-python
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
tableau/document-api-python#270 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
tableau/document-api-python#260 ·
-
docs
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
tableau/document-api-python#258 ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
tableau/document-api-python#251 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
tableau/document-api-python#250 · 2 comments ·
All issues in tableau/document-api-python
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
🐛 Bug 🔔 Pending processing
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
jumpserver/jumpserver#17584 ·