]> granicus.if.org Git - libexpat/commitdiff
Added note about the effects on well-formedness checking when
authorKarl Waclawek <kwaclaw@users.sourceforge.net>
Tue, 27 Apr 2004 00:50:50 +0000 (00:50 +0000)
committerKarl Waclawek <kwaclaw@users.sourceforge.net>
Tue, 27 Apr 2004 00:50:50 +0000 (00:50 +0000)
calling XML_UseForeignDTD(parser, XML_TRUE).

expat/doc/reference.html

index 16a0050ea301e80fb99d0c5317041f9ab999e8ed..3f55dc4de16038db5d8656f7391a692d47c49c7e 100644 (file)
@@ -1837,6 +1837,11 @@ external entity reference handler set via <code><a href=
 DTD support, it returns
 <code>XML_ERROR_FEATURE_REQUIRES_XML_DTD</code>.  Otherwise, it
 returns <code>XML_ERROR_NONE</code>.</p>
+
+<p><b>Note:</b> For the purpose of checking WFC: Entity Declared, passing
+<code>useDTD == XML_TRUE</code> will make the parser behave as if
+the document had a DTD with an external subset. This holds true even if
+the external entity reference handler returns without action.</p>
 </div>
 
 <pre class="fcndec" id="XML_SetReturnNSTriplet">