Message347583
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. |
|
Date |
User |
Action |
Args |
2019-07-09 23:26:51 | hharutyunyan | set | recipients:
+ hharutyunyan |
2019-07-09 23:26:51 | hharutyunyan | set | messageid: <1562714811.12.0.95150258791.issue37534@roundup.psfhosted.org> |
2019-07-09 23:26:50 | hharutyunyan | link | issue37534 messages |
2019-07-09 23:26:49 | hharutyunyan | create | |
|