[New-bugs-announce] [issue37534] In minidom module ability to add Standalone Document Declaraion is missing while generating XML documents

Henry Harutyunyan report at bugs.python.org
Tue Jul 9 19:26:51 EDT 2019


New submission from Henry Harutyunyan <henryharutyunyan at gmail.com>:

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.

----------
components: XML
messages: 347583
nosy: hharutyunyan
priority: normal
severity: normal
status: open
title: In minidom module ability to add Standalone Document Declaraion is missing while generating XML documents
type: enhancement
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37534>
_______________________________________


More information about the New-bugs-announce mailing list