diff options
author | kitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-10-13 05:58:28 +0000 |
---|---|---|
committer | kitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-10-13 05:58:28 +0000 |
commit | 0015e4011f347a1f8452be2e8671df47555b8a6a (patch) | |
tree | a538b19eaaf515f1cc91d844d3290faf9fdbc381 /ACEXML | |
parent | 910cb94f724244cdc3b64e83c986bffd7de037d7 (diff) | |
download | ATCD-0015e4011f347a1f8452be2e8671df47555b8a6a.tar.gz |
ChangeLogTag: Sun Oct 13 00:55:27 2002 Krishnakumar B <kitty@cs.wustl.edu>
Diffstat (limited to 'ACEXML')
-rw-r--r-- | ACEXML/apps/svcconf/Svcconf_Handler.cpp | 33 | ||||
-rw-r--r-- | ACEXML/common/SAXExceptions.cpp | 2 | ||||
-rw-r--r-- | ACEXML/common/XML_Common.dsp | 4 | ||||
-rw-r--r-- | ACEXML/examples/SAXPrint/svc.conf.xml | 2 | ||||
-rw-r--r-- | ACEXML/parser/debug_validator/Debug_DTD_Manager.cpp | 2 |
5 files changed, 24 insertions, 19 deletions
diff --git a/ACEXML/apps/svcconf/Svcconf_Handler.cpp b/ACEXML/apps/svcconf/Svcconf_Handler.cpp index e8ce1b04453..977a1b9d4ef 100644 --- a/ACEXML/apps/svcconf/Svcconf_Handler.cpp +++ b/ACEXML/apps/svcconf/Svcconf_Handler.cpp @@ -62,7 +62,7 @@ ACEXML_Svcconf_Handler::endElement (const ACEXML_Char *, if (svc_dll.open (active_info->path ()) == -1) { - ACEXML_THROW (ACEXML_SAXException ("Cannot locate DLL\n")); + ACEXML_THROW (ACEXML_SAXException (ACE_TEXT("Cannot locate DLL\n"))); } void *(*func) (ACE_Service_Object_Exterminator *) = 0; @@ -76,7 +76,7 @@ ACEXML_Svcconf_Handler::endElement (const ACEXML_Char *, if (func == 0) { - ACEXML_THROW (ACEXML_SAXException ("Cannot locate init function\n")); + ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Cannot locate init function\n"))); } symbol = (*func)(&gobbler); // target object created in the loaded DLL. @@ -98,7 +98,7 @@ ACEXML_Svcconf_Handler::endElement (const ACEXML_Char *, } else { - ACEXML_THROW (ACEXML_SAXException ("Expecting Stream type in stream header\n")); + ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Expecting Stream type in stream header\n"))); } this->stream_svc_type_ = @@ -130,7 +130,7 @@ ACEXML_Svcconf_Handler::endElement (const ACEXML_Char *, if (mt->init (args.argc (), args.argv ()) == -1 || this->stream_->push (mt) == -1) { - ACEXML_THROW (ACEXML_SAXException ("Error initializing module")); + ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Error initializing module"))); } @@ -152,7 +152,7 @@ ACEXML_Svcconf_Handler::endElement (const ACEXML_Char *, if (ACE_Service_Config::initialize (stype, active_info->init_params ()) == -1) { - ACEXML_THROW (ACEXML_SAXException ("Failed to initialize dynamic service\n")); + ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Failed to initialize dynamic service\n"))); } } this->parsed_info_.reset (); @@ -288,7 +288,7 @@ ACEXML_Svcconf_Handler::startElement (const ACEXML_Char *, (this->stream_info_.name (), (const ACE_Service_Type **) &this->stream_svc_type_) == -1) { - ACEXML_THROW (ACEXML_SAXException ("Cannot find stream\n")); + ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Cannot find stream\n"))); } this->stream_ = this->stream_svc_type_ == 0 ? 0 @@ -323,7 +323,7 @@ ACEXML_Svcconf_Handler::startElement (const ACEXML_Char *, if (mt == 0) { - ACEXML_THROW (ACEXML_SAXException ("Can't locate module\n")); + ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Can't locate module\n"))); } mt->resume (); @@ -353,7 +353,7 @@ ACEXML_Svcconf_Handler::startElement (const ACEXML_Char *, if (mt == 0) { - ACEXML_THROW (ACEXML_SAXException ("Can't locate module\n")); + ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Can't locate module\n"))); } mt->suspend (); @@ -383,7 +383,7 @@ ACEXML_Svcconf_Handler::startElement (const ACEXML_Char *, if (mt == 0) { - ACEXML_THROW (ACEXML_SAXException ("Can't locate module\n")); + ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Can't locate module\n"))); } this->stream_->remove (mt); @@ -499,7 +499,8 @@ ACEXML_Svcconf_Handler::get_stream_id (ACEXML_Attributes *alist ACEXML_ENV_ARG_D } else { - ACEXML_THROW_RETURN (ACEXML_SAXException ("Invalid stream attribute\n"), -1); + ACEXML_THROW_RETURN (ACEXML_SAXException (ACE_TEXT ("Invalid stream attribute\n")), + -1); } } return 0; @@ -517,7 +518,7 @@ ACEXML_Svcconf_Handler::get_id (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL) } else { - ACEXML_THROW_RETURN (ACEXML_SAXException ("Invalid attribute, expecting 'id'\n"), -1); + ACEXML_THROW_RETURN (ACEXML_SAXException (ACE_TEXT ("Invalid attribute, expecting 'id'\n")), -1); } } return 0; @@ -549,7 +550,7 @@ ACEXML_Svcconf_Handler::get_dynamic_attrs (ACEXML_Attributes *alist ACEXML_ENV_A } else { - ACEXML_THROW_RETURN (ACEXML_SAXException ("Invalid attribute value, expecting 'active' or 'inactive'\n"), -1); + ACEXML_THROW_RETURN (ACEXML_SAXException (ACE_TEXT ("Invalid attribute value, expecting 'active' or 'inactive'\n")), -1); } } else if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("type")) == 0) @@ -568,12 +569,12 @@ ACEXML_Svcconf_Handler::get_dynamic_attrs (ACEXML_Attributes *alist ACEXML_ENV_A } else { - ACEXML_THROW_RETURN (ACEXML_SAXException ("Invalid Service_Object attribute value\n"), -1); + ACEXML_THROW_RETURN (ACEXML_SAXException (ACE_TEXT ("Invalid Service_Object attribute value\n")), -1); } } else { - ACEXML_THROW_RETURN(ACEXML_SAXException("Invalid attribute\n"), -1); + ACEXML_THROW_RETURN(ACEXML_SAXException(ACE_TEXT ("Invalid attribute\n")), -1); } } } @@ -604,7 +605,7 @@ ACEXML_Svcconf_Handler::get_initializer_attrs (ACEXML_Attributes *alist ACEXML_E } else { - ACEXML_THROW_RETURN (ACEXML_SAXException ("Invalid initializer attribute.\n"), -1); + ACEXML_THROW_RETURN (ACEXML_SAXException (ACE_TEXT ("Invalid initializer attribute.\n")), -1); } } } @@ -631,7 +632,7 @@ ACEXML_Svcconf_Handler::get_static_attrs (ACEXML_Attributes *alist ACEXML_ENV_AR } else { - ACEXML_THROW_RETURN (ACEXML_SAXException ("Invalid static attribute.\n"), -1); + ACEXML_THROW_RETURN (ACEXML_SAXException (ACE_TEXT ("Invalid static attribute.\n")), -1); } } } diff --git a/ACEXML/common/SAXExceptions.cpp b/ACEXML/common/SAXExceptions.cpp index 50c699c36a4..fe0963cd169 100644 --- a/ACEXML/common/SAXExceptions.cpp +++ b/ACEXML/common/SAXExceptions.cpp @@ -69,7 +69,7 @@ ACEXML_SAXException::operator= (const ACEXML_SAXException& src) ACEXML_SAXException* ACEXML_SAXException::_downcast (ACEXML_Exception* ex) { - if (ex->is_a ("ACEXML_SAXException")) + if (ex->is_a (ACE_TEXT ("ACEXML_SAXException"))) return ACE_dynamic_cast (ACEXML_SAXException*, ex); return 0; } diff --git a/ACEXML/common/XML_Common.dsp b/ACEXML/common/XML_Common.dsp index 136aa8bbf9f..25e03f23c36 100644 --- a/ACEXML/common/XML_Common.dsp +++ b/ACEXML/common/XML_Common.dsp @@ -298,6 +298,10 @@ SOURCE=.\XML_Codecs.h # End Source File
# Begin Source File
+SOURCE=.\XML_Macros.h
+# End Source File
+# Begin Source File
+
SOURCE=.\XML_Types.h
# End Source File
# Begin Source File
diff --git a/ACEXML/examples/SAXPrint/svc.conf.xml b/ACEXML/examples/SAXPrint/svc.conf.xml index eb793433151..152f3b44406 100644 --- a/ACEXML/examples/SAXPrint/svc.conf.xml +++ b/ACEXML/examples/SAXPrint/svc.conf.xml @@ -4,7 +4,7 @@ [ <!NOTATION goody PUBLIC 'NBC' 'http://hardcoreace.com/'> <!NOTATION frodo PUBLIC 'ABC'> - <!NOTATION bilbo SYSTEM "C:/ACE-GUIDELINE" + <!NOTATION bilbo SYSTEM "C:/ACE-GUIDELINE"> <!ENTITY ccm 'CCM_App'> <!ENTITY pippin PUBLIC 'GOTO' 'http://taozen.com/' NDATA NBC> <!ENTITY sam PUBLIC 'SHIRE' 'http://taozen.com/'> diff --git a/ACEXML/parser/debug_validator/Debug_DTD_Manager.cpp b/ACEXML/parser/debug_validator/Debug_DTD_Manager.cpp index 0cdc52b8a9c..d0745d13bfc 100644 --- a/ACEXML/parser/debug_validator/Debug_DTD_Manager.cpp +++ b/ACEXML/parser/debug_validator/Debug_DTD_Manager.cpp @@ -67,5 +67,5 @@ ACEXML_Debug_DTD_Manager::getValidator (const ACEXML_Char *namespaceURI, ACE_UNUSED_ARG (localName); ACE_UNUSED_ARG (qName); - ACEXML_THROW_RETURN (ACEXML_SAXNotSupportedException ("getValidator()"), 0); + ACEXML_THROW_RETURN (ACEXML_SAXNotSupportedException (ACE_TEXT ("getValidator()")), 0); } |