From f119eee028ba74edcdf50bfabcb9103aff234b0d Mon Sep 17 00:00:00 2001 From: Scott Cantor <scantor@apache.org> Date: Tue, 27 Jun 2017 03:03:32 +0000 Subject: [PATCH] Update DOM docs with support for disallow-doctype. git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@1800008 13f79535-47bb-0310-9956-ffa450edef68 --- doc/program-dom.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/program-dom.xml b/doc/program-dom.xml index 8091af0b0..d9acf14ae 100644 --- a/doc/program-dom.xml +++ b/doc/program-dom.xml @@ -1053,6 +1053,22 @@ <p/> + <table> + <tr><th colspan="2"><em>disallow-doctype</em></th></tr> + <tr><th><em>true:</em></th><td>Throw a fatal "doctype-not-allowed" error if a doctype node + is found while parsing the document. This is useful when dealing with things like SOAP + envelopes where doctype nodes are not allowed.</td></tr> + <tr><th><em>false:</em></th><td>Allow doctype nodes in the document.</td></tr> + <tr><th><em>default:</em></th><td> false </td></tr> + <tr><th><em>XMLUni Predefined Constant:</em></th><td> fgDOMDisallowDoctype </td></tr> + <tr><th><em>see:</em></th><td> + <jump href="http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407"> + DOM Level 3.0 Load and Save Specification</jump> + </td></tr> + </table> + + <p/> + <table> <tr><th colspan="2"><em>entities</em></th></tr> <tr><th><em>true:</em></th><td> Create EntityReference nodes in the DOM tree. The -- GitLab