diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-06-25 04:33:31 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-06-25 04:33:31 +0000 |
commit | 2b022112ea780c4b96bb7b7627cd55df10c27ec8 (patch) | |
tree | 791b4c4e184ff7d86f1547020b87d63c010483b8 /ACEXML/apps/svcconf | |
parent | 483cea148102e17ad87363a444d2c059833ee048 (diff) | |
download | ATCD-2b022112ea780c4b96bb7b7627cd55df10c27ec8.tar.gz |
*** empty log message ***
Diffstat (limited to 'ACEXML/apps/svcconf')
-rw-r--r-- | ACEXML/apps/svcconf/Svcconf.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ACEXML/apps/svcconf/Svcconf.cpp b/ACEXML/apps/svcconf/Svcconf.cpp index d35772008c2..3ceb602e788 100644 --- a/ACEXML/apps/svcconf/Svcconf.cpp +++ b/ACEXML/apps/svcconf/Svcconf.cpp @@ -26,6 +26,19 @@ ACEXML_Svcconf_Parser::ACEXML_Svcconf_Parser () this->parser_.setDTDHandler (&this->svcconf_handler_); this->parser_.setErrorHandler (&this->svcconf_handler_); this->parser_.setEntityResolver (&this->svcconf_handler_); + ACEXML_TRY_NEW_ENV + { + this->parser_.setFeature (ACE_TEXT ("http://xml.org/sax/features/validation"), + 0 + ACEXML_ENV_ARG_PARAMETER); + ACEXML_TRY_CHECK; + } + ACEXML_CATCH (ACEXML_SAXException, ex) + { + ex.print (); // Can't do much except printing the error. + return; + } + ACEXML_ENDTRY; } ACEXML_Svcconf_Parser::~ACEXML_Svcconf_Parser () |