reference/dom/domdocument/createattributens.xml
c1349f9574ed77c268c6312a07466f06d59e5078
...
...
@@ -73,6 +73,37 @@
73
73
</variablelist>
74
74
</para>
75
75
</refsect1>
76
+
<refsect1 role="changelog">
77
+
&reftitle.changelog;
78
+
<informaltable>
79
+
<tgroup cols="2">
80
+
<thead>
81
+
<row>
82
+
<entry>&Version;</entry>
83
+
<entry>&Description;</entry>
84
+
</row>
85
+
</thead>
86
+
<tbody>
87
+
<row>
88
+
<entry>8.3.0</entry>
89
+
<entry>
90
+
Calling this method without specifying a prefix will now choose a prefix instead of assuming the default namespace.
91
+
Previously this would create an attribute without a prefix and incorrectly apply the namespace
92
+
to the owner element because default namespaces don't apply on attributes.
93
+
</entry>
94
+
</row>
95
+
<row>
96
+
<entry>8.3.0</entry>
97
+
<entry>
98
+
Calling this method using a prefix that was already declared on the owner element with a different namespace URI
99
+
will now change the new prefix to avoid creating namespace conflicts. This aligns the behaviour with the DOM specification.
100
+
Previously this threw a <classname>DOMException</classname> with code <constant>DOM_NAMESPACE_ERR</constant>.
101
+
</entry>
102
+
</row>
103
+
</tbody>
104
+
</tgroup>
105
+
</informaltable>
106
+
</refsect1>
76
107
<refsect1 role="seealso">
77
108
&reftitle.seealso;
78
109
<para>
79
110