This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hharutyunyan
Recipients hharutyunyan
Date 2019-07-09.23:26:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562714811.12.0.95150258791.issue37534@roundup.psfhosted.org>
In-reply-to
Content
Though the Standalone Document Declaration in XML Declaration is optional and the default value of "no" is assumed in case it's omitted, in certain cases it makes sense to change the value to indicate the absence of external markup declarations. It's a part of W3C recommendation on XML (https://www.w3.org/TR/xml/#sec-prolog-dtd).
Though minidom module allows to modify the encoding declaration if needed, the same is not true for standalone declaration.
As I've recently came up with an issue while generating XML documents with the module I suggest adding the ability to add and modify the declaration.
History
Date User Action Args
2019-07-09 23:26:51hharutyunyansetrecipients: + hharutyunyan
2019-07-09 23:26:51hharutyunyansetmessageid: <1562714811.12.0.95150258791.issue37534@roundup.psfhosted.org>
2019-07-09 23:26:50hharutyunyanlinkissue37534 messages
2019-07-09 23:26:49hharutyunyancreate