-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
bpo-37534: Adding ability to add Standalone Document Declaration when generating XML documents #14912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
bpo-37534: Adding ability to add Standalone Document Declaration when generating XML documents #14912
Changes from 17 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
c37145a
Adding standalone declaration to minidom XML document writer (Issue37…
4035046
📜🤖 Added by blurb_it.
blurb-it[bot] e7b1c40
Adding standalone variable to toxml() method and removing the mistake…
e8b1b18
Adding missing unit tests and adding my name to the list of contribut…
d96fd7a
Merge branch 'fix-issue-37534' of https://github.com/hharutyunyan/cpy…
c291a64
Merge branch 'master' into fix-issue-37534
3c8db77
Minor fix to make the encoding tag backwards compatable.
henryh9n edc492a
Merge remote-tracking branch 'upstream/master'
70a69a9
Using f-strings for formatting the prolog.
b603224
Missing space added before standalone declaratoin.
59a3495
Using double quotes for standalone declaration.
3a0594b
Test case with encoding declaration added.
162486a
Last name alphabetical ordering fixed.
e941fc1
Merge branch 'master' of https://github.com/hharutyunyan/cpython into…
5b8cee5
Fixing the double-space issue in document declarations.
e108c3d
Use f-strings instead of mixing them with format()
scoder 3b38bbe
Documents modified to cover the new features.
51a5f01
Fiy typo in Doc/library/xml.dom.minidom.rst
scoder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Library/2019-08-20-00-02-37.bpo-37534.TvjAUi.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
When using minidom module to generate XML documents the ability to add Standalone Document Declaration is added. | ||
All the changes are made to generate a document in compliance with Extensible Markup Language (XML) 1.0 (Fifth Edition) W3C Recommendation (available here: https://www.w3.org/TR/xml/#sec-prolog-dtd). |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.