GithubHelp home page GithubHelp logo

Comments (6)

dylanahsmith avatar dylanahsmith commented on August 22, 2024

That is an invalid XML element name being returned by Shopify, not a bug in this library. I'll pass along the issue.

from shopify_python_api.

dylanahsmith avatar dylanahsmith commented on August 22, 2024

For reference, here are the characters allowed by the XML Specification:
[4] NameStartChar ::= ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]
[4a] NameChar ::= NameStartChar | "-" | "." | [0-9] | #xB7 | [#x0300-#x036F] | [#x203F-#x2040]
[5] Name ::= NameStartChar (NameChar)*

from shopify_python_api.

kenthklui avatar kenthklui commented on August 22, 2024

Thanks for the speedy response and passing it along. At risk of being off topic, is there a proper channel for one to report these Shopify API issues?

from shopify_python_api.

dylanahsmith avatar dylanahsmith commented on August 22, 2024

Shopify issues can be reported to [email protected] and it will be escalated to the right people from there.

from shopify_python_api.

dylanahsmith avatar dylanahsmith commented on August 22, 2024

A fix has gone out in shopify that prevents invalid XML element names from being returned. Instead, it will convert invalid XML name characters to a dash. In this case, <USPS-Global-Express-Guaranteed-(GXG)> will become <USPS-Global-Express-Guaranteed-GXG>

from shopify_python_api.

dylanahsmith avatar dylanahsmith commented on August 22, 2024

Additionally, <*>-</*> will become <_>-</_>

from shopify_python_api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.