GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update document-api to register our namespaces with ElementTree · Issue #162 · tableau/document-api-python

Update document-api to register our namespaces with ElementTree #162

New issue
Copy link
New issue
Copy link
Closed
#196
Closed
Update document-api to register our namespaces with ElementTree#162
#196
Copy link
Labels
bug

Description

@hkthom
hkthom
opened on Jan 17, 2019
Issue body actions

After creating a new Tableau workbook using "Workbook.save_as" of Document API without any changes (Just changing file name ), the content (structure ) of newly generated workbook is different from the original one. There is a difference between the XMLs likely caused by ElementTree modifying the XML namespace keys automatically in the new version of the workbook. This is causing Document API's save_as function to change filter state from "Use all" to "select from list"

This ought to be fixed by modifying the library on github, which is a oneliner

“ET.register_namespace(‘user’, ‘http://tableau.com/user’)

or whatever the url is.

Activity

  1. jacalata
    added
    bug
    on May 26, 2021
  2. jacalata
    linked a pull request that will close this issue #162 preserve the xmlns:user namespace when saving a file #196on May 27, 2021
  3. jacalata
    closed this as completedin #196on May 27, 2021
  4. jacalata
    added a commit that references this issue on May 27, 2021

    Merge pull request #196 from tableau/preserve-namespace

    7bde194
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.