New submission from Henry Harutyunyan :
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
<https://bugs.python.org/issue37534>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com