document-api-python icon indicating copy to clipboard operation
document-api-python copied to clipboard

Unused/multiple namespaces will be lost when document is saved

Open jacalata opened this issue 4 years ago • 0 comments

  • 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

jacalata avatar Jun 04 '21 08:06 jacalata