summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-06-25 04:33:31 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-06-25 04:33:31 +0000
commit01d60edff8148863ae64d6e90b65b1bde04ba7e9 (patch)
tree791b4c4e184ff7d86f1547020b87d63c010483b8
parenta51902fff2d9f266bb6d03cbe04003605846aea8 (diff)
downloadATCD-01d60edff8148863ae64d6e90b65b1bde04ba7e9.tar.gz
*** empty log message ***
-rw-r--r--ACEXML/ChangeLog8
-rw-r--r--ACEXML/apps/svcconf/Svcconf.cpp13
2 files changed, 20 insertions, 1 deletions
diff --git a/ACEXML/ChangeLog b/ACEXML/ChangeLog
index 5bf217275ef..331069a2a2b 100644
--- a/ACEXML/ChangeLog
+++ b/ACEXML/ChangeLog
@@ -1,3 +1,9 @@
+Tue Jun 24 23:31:44 2003 Nanbor Wang <nanbor@cs.wustl.edu>
+
+ * apps/svcconf/Svcconf.cpp: Turned off validation temporarily when
+ handling svc.conf files. All of the converted svc.conf.xml
+ files do not have associate doctype at the moment.
+
Tue Jun 24 15:38:49 UTC 2003 Don Hinton <dhinton@dresystems.h>
* common/NamespaceSupport.i:
@@ -7,7 +13,7 @@ Sun Jun 1 09:09:22 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
* parser/parser/Parser.cpp:
* parser/parser/Entity_Manager.cpp: Added explicit template
- instantiations.
+ instantiations.
Fri May 30 14:16:33 2003 Krishnakumar B <kitty@spam.invalid.domain>
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 ()