You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Note: <ahref="https://www.w3.org/TR/xml-entity-names/predefined.html">predefined entities</a> like "<code>&amp;</code>" are not affected)</li>
41
41
<li>Enabling the feature <ahref="https://xerces.apache.org/xerces2-j/features.html#disallow-doctype-decl">http://apache.org/xml/features/disallow-doctype-decl</a>,
42
42
which throws an error if the parsed document contains a <code>DOCTYPE</code> declaration.
43
-
Since many documents contain <code>DOCTYPE</code> declarations, that prevents the parsing of a lot of documents.</p>
43
+
Since many documents contain <code>DOCTYPE</code> declarations, that prevents the parsing of a lot of documents.</li>
44
44
</ol>
45
45
<p>Those two workarounds assume that your XML parser is based on <ahref="https://xerces.apache.org/xerces2-j/">Apache Xerces2</a>,
46
46
although other parsers are sometimes still in use (for example variants of the <ahref="http://saxon.sourceforge.net/aelfred.html">Ælfred XML Parser</a>)
0 commit comments