Update Tasks-Serialization.xml - grammar fixes

This commit is contained in:
Mirek Jahoda 2017-10-23 15:40:18 +00:00
parent 0ddff13b56
commit d6b1626253

View file

@ -334,7 +334,7 @@
XInclude processing can reference file and network resources XInclude processing can reference file and network resources
and include them into the document, much like external entity and include them into the document, much like external entity
references. When parsing untrusted XML documents, XInclude references. When parsing untrusted XML documents, XInclude
processing should be truned off. processing should be turned off.
</para> </para>
<para> <para>
XInclude processing is also fairly complex and may pull in XInclude processing is also fairly complex and may pull in
@ -345,7 +345,7 @@
</section> </section>
<section id="sect-Defensive_Coding-Tasks-Serialization-XML-Validation"> <section id="sect-Defensive_Coding-Tasks-Serialization-XML-Validation">
<title>Algorithmic complexity of XML validation</title> <title>Algorithmic Complexity of XML Validation</title>
<para> <para>
DTD-based XML validation uses regular expressions for content DTD-based XML validation uses regular expressions for content
models. The XML specification requires that content models models. The XML specification requires that content models
@ -389,7 +389,7 @@
xmlns:xi="http://www.w3.org/2001/XInclude" /> xmlns:xi="http://www.w3.org/2001/XInclude" />
</example> </example>
<para> <para>
It is also possible to reject internal DTD subsets altogeher, It is also possible to reject internal DTD subsets altogether,
using a suitable using a suitable
<literal>XML_StartDoctypeDeclHandler</literal> handler <literal>XML_StartDoctypeDeclHandler</literal> handler
installed with <function>XML_SetDoctypeDeclHandler</function>. installed with <function>XML_SetDoctypeDeclHandler</function>.
@ -400,7 +400,7 @@
<title>Using Qt for XML Parsing</title> <title>Using Qt for XML Parsing</title>
<para> <para>
The XML component of Qt, QtXml, does not resolve external IDs The XML component of Qt, QtXml, does not resolve external IDs
by default, so it is not requred to prevent such resolution. by default, so it is not required to prevent such resolution.
Internal entities are processed, though. To change that, a Internal entities are processed, though. To change that, a
custom <literal>QXmlDeclHandler</literal> and custom <literal>QXmlDeclHandler</literal> and
<literal>QXmlSimpleReader</literal> subclasses are needed. It <literal>QXmlSimpleReader</literal> subclasses are needed. It