GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||
GeezerVison is showing github.com — gh-156797: Escape the namespace URI in xml.sax.saxutils.XMLGenerator by serhiy-storchaka · Pull Request #156799 · python/cpython Conversation
|
| gen = XMLGenerator(result) | ||
|
|
||
| gen.startDocument() | ||
| gen.startPrefixMapping("ns1", uri) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Could do a gen.startPrefixMapping(None, uri2) here to cover the other branch.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-156856 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-156857 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-156858 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…erator (GH-156799) (GH-156856) The namespace declarations were the only attribute values written without quoteattr(), so a URI containing "&", "<" or a quote character produced a document which cannot be parsed. (cherry picked from commit 5056ac5) Co-authored-by: Serhiy Storchaka <[email protected]>
…erator (GH-156799) (GH-156857) The namespace declarations were the only attribute values written without quoteattr(), so a URI containing "&", "<" or a quote character produced a document which cannot be parsed. (cherry picked from commit 5056ac5) Co-authored-by: Serhiy Storchaka <[email protected]>
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…rator (pythonGH-156799) The namespace declarations were the only attribute values written without quoteattr(), so a URI containing "&", "<" or a quote character produced a document which cannot be parsed.
…erator (GH-156799) (GH-156858) The namespace declarations were the only attribute values written without quoteattr(), so a URI containing "&", "<" or a quote character produced a document which cannot be parsed. (cherry picked from commit 5056ac5) Co-authored-by: Serhiy Storchaka <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.