blob: 8eb7a28dbe0b5b2eb6f4b7af379cfb72a32757bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// file : cxx/tree/secure/secure-dom-parser.cxx
// copyright : not copyrighted - public domain
#include "secure-dom-parser.hxx"
#include <xercesc/util/XMLException.hpp>
#include <xercesc/util/XMLExceptMsgs.hpp>
using namespace xercesc;
void SecureDOMParser::
doctypeDecl (const DTDElementDecl& e,
const XMLCh* const pub_id,
const XMLCh* const sys_id,
const bool hasi,
const bool hase)
{
if (hasi || hase)
ThrowXMLwithMemMgr(RuntimeException,
XMLExcepts::Gen_NoDTDValidator,
fMemoryManager);
DOMLSParserImpl::doctypeDecl (e, pub_id, sys_id, hasi, hase);
}
|