Skip to content

Commit 690aa04

Browse files
Clarification on what the XML Serialization does to nodes and what guarantees it
makes.
1 parent b7f96f0 commit 690aa04

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,9 @@ <h2>Serializing</h2>
299299
<ul>
300300
<li><a title="element" data-spec="DOM4" class="externalDFN">Elements</a> and
301301
<a title="concept-attribute" data-spec="DOM4" class="externalDFN">attributes</a>
302-
will always be serialized with their namespaceURI explicitly defined (if non-null).
302+
will always be serialized such that their namespaceURI is preserved. In some cases
303+
this means that an existing prefix, prefix declaration attribute or default namespace
304+
declaration attribute might be dropped, substituted or changed.
303305
An <a title="concept-serialize-html">HTML serialization</a> will drop these namespaces.
304306
<li><a title="element" data-spec="DOM4" class="externalDFN">Elements</a> not in the
305307
<a title="html-ns">HTML namespace</a> containing no children, are serialized using

0 commit comments

Comments
 (0)