[Bug 25565] [DOM-P&S] Another small bugs

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25565

--- Comment #2 from spiritRKS1910 <crimsteam@gmail.com> ---
I have two small additional things:

===

All algo return some value, but not "produce a DocumentType serialization":
http://www.w3.org/TR/DOM-Parsing/#dfn-concept-serialize-doctype

It may be better to add:
11. Return markup.

===

I use these markings to facilitate changing things
<> - refer
"" - var

In "XML serialization algorithm" for Document we have:

3. For each <child> of node, in tree order, run the XML serialization algorithm
on the "child" given a...

Better write:

3. For each <child> "child" of node, in tree order, run the XML serialization
algorithm on the "child" given a...

or just

3. For each <child> of node, in tree order, run the XML serialization algorithm
on the <child> given a...

This two above convenction is used in other spec., like HTML5:

For each token token in tokens, run the appropriate steps from the following
list:
For each th element th in current headers, in order, run the following
substeps:
For each entry past entry in the past names map add an entry
For each string string in strings, run these substeps:
For each entry entry in old chain, in order, run these substeps:
For each child node of the node, in tree order, run the following steps:

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 14 May 2014 17:57:58 UTC