You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2020-02-29.08:23:51.292>created_at=<Date2019-07-09.23:26:51.079>labels= ['expert-XML', 'type-feature', '3.9']
title='In minidom module ability to add Standalone Document Declaraion is missing while generating XML documents'updated_at=<Date2020-02-29.08:23:51.292>user='https://github.com/henryh9n'
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.
New changeset dc04a05 by Henry Harutyunyan in branch 'master': bpo-37534: Allow adding Standalone Document Declaration when generating XML documents (GH-14912) dc04a05
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: