Skip to content

Commit a3b05a6

Browse files
committed
minor #17720 [Serializer] Fix default XmlVersion used by XmlEncoder (alexandre-daubois)
This PR was merged into the 5.4 branch. Discussion ---------- [Serializer] Fix default XmlVersion used by XmlEncoder Closes #17717 If you don't give an explicit version, it uses the `\DOMDocument` default one, which is 1.0. Commits ------- 13f9766 [Serializer] Fix default XmlVersion used by XmlEncoder
2 parents d626823 + 13f9766 commit a3b05a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/serializer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ Option Description
11811181
============================== ================================================= ==========================
11821182
``xml_format_output`` If set to true, formats the generated XML with ``false``
11831183
line breaks and indentation
1184-
``xml_version`` Sets the XML version attribute ``1.1``
1184+
``xml_version`` Sets the XML version attribute ``1.0``
11851185
``xml_encoding`` Sets the XML encoding attribute ``utf-8``
11861186
``xml_standalone`` Adds standalone attribute in the generated XML ``true``
11871187
``xml_type_cast_attributes`` This provides the ability to forget the attribute ``true``

0 commit comments

Comments
 (0)