summaryrefslogtreecommitdiff
path: root/ACEXML
diff options
context:
space:
mode:
Diffstat (limited to 'ACEXML')
-rw-r--r--ACEXML/ACEXML.dsw71
-rw-r--r--ACEXML/Makefile21
-rw-r--r--ACEXML/Makefile.bor10
-rw-r--r--ACEXML/README17
-rw-r--r--ACEXML/apps/Makefile17
-rw-r--r--ACEXML/apps/Makefile.bor8
-rw-r--r--ACEXML/apps/XML_Apps.dsw29
-rw-r--r--ACEXML/apps/svcconf/Makefile400
-rw-r--r--ACEXML/apps/svcconf/Makefile.bor20
-rw-r--r--ACEXML/apps/svcconf/README4
-rw-r--r--ACEXML/apps/svcconf/Svcconf.cpp117
-rw-r--r--ACEXML/apps/svcconf/Svcconf.h48
-rw-r--r--ACEXML/apps/svcconf/Svcconf_Handler.cpp642
-rw-r--r--ACEXML/apps/svcconf/Svcconf_Handler.h292
-rw-r--r--ACEXML/apps/svcconf/Svcconf_Handler.i133
-rw-r--r--ACEXML/apps/svcconf/XML_Svc_Conf_Parser.dsp121
-rw-r--r--ACEXML/apps/svcconf/svcconf.mpc3
-rw-r--r--ACEXML/common/ACEXML_Export.h49
-rw-r--r--ACEXML/common/Attributes.h126
-rw-r--r--ACEXML/common/AttributesImpl.cpp302
-rw-r--r--ACEXML/common/AttributesImpl.h310
-rw-r--r--ACEXML/common/AttributesImpl.i151
-rw-r--r--ACEXML/common/Attributes_Def_Builder.cpp25
-rw-r--r--ACEXML/common/Attributes_Def_Builder.h153
-rw-r--r--ACEXML/common/CharStream.cpp7
-rw-r--r--ACEXML/common/CharStream.h79
-rw-r--r--ACEXML/common/ContentHandler.h128
-rw-r--r--ACEXML/common/DTDHandler.h75
-rw-r--r--ACEXML/common/DTD_Manager.cpp8
-rw-r--r--ACEXML/common/DTD_Manager.h82
-rw-r--r--ACEXML/common/DefaultHandler.cpp162
-rw-r--r--ACEXML/common/DefaultHandler.h195
-rw-r--r--ACEXML/common/DefaultHandler.i1
-rw-r--r--ACEXML/common/Element_Def_Builder.cpp17
-rw-r--r--ACEXML/common/Element_Def_Builder.h133
-rw-r--r--ACEXML/common/Encoding.cpp53
-rw-r--r--ACEXML/common/Encoding.h61
-rw-r--r--ACEXML/common/EntityResolver.h57
-rw-r--r--ACEXML/common/Env.cpp34
-rw-r--r--ACEXML/common/Env.h72
-rw-r--r--ACEXML/common/Env.i25
-rw-r--r--ACEXML/common/ErrorHandler.h72
-rw-r--r--ACEXML/common/Exception.cpp51
-rw-r--r--ACEXML/common/Exception.h93
-rw-r--r--ACEXML/common/Exception.i13
-rw-r--r--ACEXML/common/FileCharStream.cpp227
-rw-r--r--ACEXML/common/FileCharStream.h128
-rw-r--r--ACEXML/common/HttpCharStream.cpp338
-rw-r--r--ACEXML/common/HttpCharStream.h113
-rw-r--r--ACEXML/common/InputSource.cpp100
-rw-r--r--ACEXML/common/InputSource.h130
-rw-r--r--ACEXML/common/Locator.h70
-rw-r--r--ACEXML/common/LocatorImpl.cpp39
-rw-r--r--ACEXML/common/LocatorImpl.h153
-rw-r--r--ACEXML/common/LocatorImpl.i65
-rw-r--r--ACEXML/common/Makefile2721
-rw-r--r--ACEXML/common/Makefile.bor38
-rw-r--r--ACEXML/common/Mem_Map_Stream.cpp260
-rw-r--r--ACEXML/common/Mem_Map_Stream.h192
-rw-r--r--ACEXML/common/NamespaceSupport.cpp275
-rw-r--r--ACEXML/common/NamespaceSupport.h239
-rw-r--r--ACEXML/common/NamespaceSupport.i16
-rw-r--r--ACEXML/common/SAXExceptions.cpp255
-rw-r--r--ACEXML/common/SAXExceptions.h198
-rw-r--r--ACEXML/common/SAXExceptions.i57
-rw-r--r--ACEXML/common/StrCharStream.cpp135
-rw-r--r--ACEXML/common/StrCharStream.h100
-rw-r--r--ACEXML/common/StreamFactory.cpp43
-rw-r--r--ACEXML/common/StreamFactory.h58
-rw-r--r--ACEXML/common/Transcode.cpp83
-rw-r--r--ACEXML/common/Transcode.h176
-rw-r--r--ACEXML/common/Transcode.i234
-rw-r--r--ACEXML/common/URL_Addr.cpp178
-rw-r--r--ACEXML/common/URL_Addr.h134
-rw-r--r--ACEXML/common/URL_Addr.inl61
-rw-r--r--ACEXML/common/Validator.cpp8
-rw-r--r--ACEXML/common/Validator.h64
-rw-r--r--ACEXML/common/XMLFilter.h56
-rw-r--r--ACEXML/common/XMLFilterImpl.cpp339
-rw-r--r--ACEXML/common/XMLFilterImpl.h294
-rw-r--r--ACEXML/common/XMLFilterImpl.i14
-rw-r--r--ACEXML/common/XMLReader.h133
-rw-r--r--ACEXML/common/XML_Codecs.cpp97
-rw-r--r--ACEXML/common/XML_Codecs.h73
-rw-r--r--ACEXML/common/XML_Common.dsp349
-rw-r--r--ACEXML/common/XML_Macros.h443
-rw-r--r--ACEXML/common/XML_Types.h80
-rw-r--r--ACEXML/common/common.mpc4
-rw-r--r--ACEXML/docs/TODO.txt17
-rw-r--r--ACEXML/docs/bugs.txt17
-rw-r--r--ACEXML/docs/guidelines.txt39
-rw-r--r--ACEXML/docs/parser_features.txt25
-rw-r--r--ACEXML/docs/readme.txt36
-rw-r--r--ACEXML/examples/Makefile17
-rw-r--r--ACEXML/examples/Makefile.bor9
-rw-r--r--ACEXML/examples/SAXPrint/Makefile267
-rw-r--r--ACEXML/examples/SAXPrint/Makefile.bor25
-rw-r--r--ACEXML/examples/SAXPrint/Print_Handler.cpp256
-rw-r--r--ACEXML/examples/SAXPrint/Print_Handler.h187
-rw-r--r--ACEXML/examples/SAXPrint/Print_Handler.i1
-rw-r--r--ACEXML/examples/SAXPrint/SAXPrint.dsp130
-rw-r--r--ACEXML/examples/SAXPrint/SAXPrint.dsw29
-rw-r--r--ACEXML/examples/SAXPrint/SAXPrint.mpc2
-rw-r--r--ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp243
-rw-r--r--ACEXML/examples/SAXPrint/SAXPrint_Handler.h195
-rw-r--r--ACEXML/examples/SAXPrint/SAXPrint_Handler.i13
-rw-r--r--ACEXML/examples/SAXPrint/broken.xml5
-rw-r--r--ACEXML/examples/SAXPrint/main.cpp142
-rw-r--r--ACEXML/examples/SAXPrint/ns.svc.conf.xml46
-rw-r--r--ACEXML/examples/SAXPrint/simple.svcconf.xml38
-rw-r--r--ACEXML/examples/SAXPrint/svc.conf.xml58
-rw-r--r--ACEXML/examples/svcconf/Makefile.bor24
-rw-r--r--ACEXML/examples/svcconf/README3
-rw-r--r--ACEXML/examples/svcconf/Svcconf.dsp110
-rw-r--r--ACEXML/examples/svcconf/Svcconf.dsw29
-rw-r--r--ACEXML/examples/svcconf/Svcconf_Handler.cpp486
-rw-r--r--ACEXML/examples/svcconf/Svcconf_Handler.h285
-rw-r--r--ACEXML/examples/svcconf/Svcconf_Handler.i133
-rw-r--r--ACEXML/examples/svcconf/main.cpp76
-rw-r--r--ACEXML/examples/test_docs/svcconf.dtd60
-rw-r--r--ACEXML/parser/Makefile17
-rw-r--r--ACEXML/parser/Makefile.bor9
-rw-r--r--ACEXML/parser/debug_validator/Debug_Attributes_Builder.cpp215
-rw-r--r--ACEXML/parser/debug_validator/Debug_Attributes_Builder.h170
-rw-r--r--ACEXML/parser/debug_validator/Debug_DTD_Manager.cpp71
-rw-r--r--ACEXML/parser/debug_validator/Debug_DTD_Manager.h76
-rw-r--r--ACEXML/parser/debug_validator/Debug_DTD_Manager_Export.h38
-rw-r--r--ACEXML/parser/debug_validator/Debug_Element_Builder.cpp148
-rw-r--r--ACEXML/parser/debug_validator/Debug_Element_Builder.h127
-rw-r--r--ACEXML/parser/debug_validator/Debug_Validator.dsp145
-rw-r--r--ACEXML/parser/debug_validator/Element_Tree.cpp72
-rw-r--r--ACEXML/parser/debug_validator/Element_Tree.h160
-rw-r--r--ACEXML/parser/debug_validator/Element_Tree.i92
-rw-r--r--ACEXML/parser/debug_validator/Makefile.bor22
-rw-r--r--ACEXML/parser/parser/Entity_Manager.cpp48
-rw-r--r--ACEXML/parser/parser/Entity_Manager.h81
-rw-r--r--ACEXML/parser/parser/Entity_Manager.i21
-rw-r--r--ACEXML/parser/parser/Makefile328
-rw-r--r--ACEXML/parser/parser/Makefile.bor20
-rw-r--r--ACEXML/parser/parser/Parser.cpp1960
-rw-r--r--ACEXML/parser/parser/Parser.dsp125
-rw-r--r--ACEXML/parser/parser/Parser.dsw28
-rw-r--r--ACEXML/parser/parser/Parser.h516
-rw-r--r--ACEXML/parser/parser/Parser.i140
-rw-r--r--ACEXML/parser/parser/Parser_export.h47
-rw-r--r--ACEXML/parser/parser/parser.mpc7
-rw-r--r--ACEXML/tests/ContentHandler_Test.cpp91
-rw-r--r--ACEXML/tests/ContentHandler_Test.dsp104
-rw-r--r--ACEXML/tests/HttpCharStream_Test.cpp35
-rw-r--r--ACEXML/tests/HttpCharStream_Test.dsp104
-rw-r--r--ACEXML/tests/Makefile650
-rw-r--r--ACEXML/tests/Makefile.bor26
-rw-r--r--ACEXML/tests/NamespaceSupport_Test.cpp144
-rw-r--r--ACEXML/tests/NamespaceSupport_Test.dsp104
-rw-r--r--ACEXML/tests/Tests.dsw67
-rw-r--r--ACEXML/tests/Transcoder_Test.cpp69
-rw-r--r--ACEXML/tests/Transcoder_Test.dsp104
-rw-r--r--ACEXML/tests/tests.mpc23
158 files changed, 0 insertions, 22464 deletions
diff --git a/ACEXML/ACEXML.dsw b/ACEXML/ACEXML.dsw
deleted file mode 100644
index 096b5e0916d..00000000000
--- a/ACEXML/ACEXML.dsw
+++ /dev/null
@@ -1,71 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "ACEXML_Parser"=.\parser\parser\Parser.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name XML_Common
- End Project Dependency
-}}}
-
-###############################################################################
-
-Project: "Debug_Validator"=.\PARSER\DEBUG_VALIDATOR\Debug_Validator.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name XML_Common
- End Project Dependency
-}}}
-
-###############################################################################
-
-Project: "XML_Common"=.\COMMON\XML_Common.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "XML_Svc_Conf_Parser"=.\apps\svcconf\XML_Svc_Conf_Parser.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/ACEXML/Makefile b/ACEXML/Makefile
deleted file mode 100644
index ccba2b77d1c..00000000000
--- a/ACEXML/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-#----------------------------------------------------------------------------
-# $Id$
-#
-# Makefile for the client programs that test the ACE network services
-#----------------------------------------------------------------------------
-
-DIRS = common \
- parser \
- apps \
- tests \
- examples
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU
diff --git a/ACEXML/Makefile.bor b/ACEXML/Makefile.bor
deleted file mode 100644
index 85ed6f2c300..00000000000
--- a/ACEXML/Makefile.bor
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Makefile for building the ACE XML Library
-#
-
-DIRS = \
- common \
- parser \
- apps
-
-!include <$(ACE_ROOT)\include\makeinclude\recurse.bor>
diff --git a/ACEXML/README b/ACEXML/README
deleted file mode 100644
index 1e65588029e..00000000000
--- a/ACEXML/README
+++ /dev/null
@@ -1,17 +0,0 @@
-$Id$
-
-ACE XML PARSER Framework README file
-
-* Character set
-
-ACE XML only deal with pure unicode encoding. I.e., ACE XML
-does not care about language specific encoding information.
-
-* SAX - The Simple API for XML
-
-ACE XML Parser interfaces follows the the design of SAX 2.0, which is
-a public domain specification for Java. The major difference between
-ACE XML Parser interfaces and SAX is that we added an reference of
-ACEXML_Env to every SAX method to accomodate platforms/compilers that
-don't support C++ exceptions. SAX is defined by David Megginson
-<david@megginson.com>
diff --git a/ACEXML/apps/Makefile b/ACEXML/apps/Makefile
deleted file mode 100644
index a5f05b99ae5..00000000000
--- a/ACEXML/apps/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-#----------------------------------------------------------------------------
-# $Id$
-#
-# Makefile for the client programs that test the ACE network services
-#----------------------------------------------------------------------------
-
-DIRS = svcconf
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU
diff --git a/ACEXML/apps/Makefile.bor b/ACEXML/apps/Makefile.bor
deleted file mode 100644
index 1da5c84407c..00000000000
--- a/ACEXML/apps/Makefile.bor
+++ /dev/null
@@ -1,8 +0,0 @@
-#
-# Makefile for building the ACE XML Library
-#
-
-DIRS = \
- svcconf
-
-!include <$(ACE_ROOT)\include\makeinclude\recurse.bor>
diff --git a/ACEXML/apps/XML_Apps.dsw b/ACEXML/apps/XML_Apps.dsw
deleted file mode 100644
index 0ed29a77e72..00000000000
--- a/ACEXML/apps/XML_Apps.dsw
+++ /dev/null
@@ -1,29 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "XML_Svc_Conf_Parser"=.\svcconf\XML_Svc_Conf_Parser.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/ACEXML/apps/svcconf/Makefile b/ACEXML/apps/svcconf/Makefile
deleted file mode 100644
index e291d22d14a..00000000000
--- a/ACEXML/apps/svcconf/Makefile
+++ /dev/null
@@ -1,400 +0,0 @@
-#----------------------------------------------------------------------------
-# $Id$
-#
-# Makefile for the server-side ACE network services
-#----------------------------------------------------------------------------
-
-LIB = libACEXML_XML_Svc_Conf_Parser.a
-SHLIB = libACEXML_XML_Svc_Conf_Parser.$(SOEXT)
-
-FILES = Svcconf_Handler \
- Svcconf
-
-DEFS = $(addsuffix .h,$(FILES))
-LSRC = $(addsuffix .cpp,$(FILES))
-
-LIBS += -lACEXML_Parser -lACEXML $(ACELIB)
-
-BUILD = $(VLIB) $(VSHLIB)
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-
-#----------------------------------------------------------------------------
-# Local targets
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Dependencies
-#----------------------------------------------------------------------------
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-
-.obj/Svcconf_Handler.o .obj/Svcconf_Handler.so .shobj/Svcconf_Handler.o .shobj/Svcconf_Handler.so: Svcconf_Handler.cpp Svcconf_Handler.h \
- $(ACE_ROOT)/ACEXML/common/DefaultHandler.h \
- $(ACE_ROOT)/ace/pre.h \
- $(ACE_ROOT)/ACEXML/common/ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- $(ACE_ROOT)/ACEXML/common/ContentHandler.h \
- $(ACE_ROOT)/ACEXML/common/Env.h \
- $(ACE_ROOT)/ACEXML/common/XML_Macros.h \
- $(ACE_ROOT)/ace/Exception_Macros.h \
- $(ACE_ROOT)/ACEXML/common/Exception.h \
- $(ACE_ROOT)/ACEXML/common/XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ACEXML/common/Exception.i \
- $(ACE_ROOT)/ACEXML/common/Env.i \
- $(ACE_ROOT)/ACEXML/common/SAXExceptions.h \
- $(ACE_ROOT)/ACEXML/common/SAXExceptions.i \
- $(ACE_ROOT)/ACEXML/common/Locator.h \
- $(ACE_ROOT)/ACEXML/common/Attributes.h \
- $(ACE_ROOT)/ACEXML/common/DTDHandler.h \
- $(ACE_ROOT)/ACEXML/common/EntityResolver.h \
- $(ACE_ROOT)/ACEXML/common/InputSource.h \
- $(ACE_ROOT)/ACEXML/common/CharStream.h \
- $(ACE_ROOT)/ACEXML/common/ErrorHandler.h \
- $(ACE_ROOT)/ACEXML/common/DefaultHandler.i \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/DLL.h \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.inl \
- $(ACE_ROOT)/ace/Unbounded_Queue.cpp \
- $(ACE_ROOT)/ace/XML_Svc_Conf.h \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Test_and_Set.h \
- $(ACE_ROOT)/ace/Test_and_Set.i \
- $(ACE_ROOT)/ace/Test_and_Set.cpp \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/ARGV.h $(ACE_ROOT)/ace/ARGV.i \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/Message_Block_T.h \
- $(ACE_ROOT)/ace/Message_Block_T.i \
- $(ACE_ROOT)/ace/Message_Block_T.cpp \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Notification_Strategy.h \
- $(ACE_ROOT)/ace/Notification_Strategy.inl \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Exit.h \
- $(ACE_ROOT)/ace/Thread_Control.h \
- $(ACE_ROOT)/ace/Thread_Control.inl \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Array_Base.h \
- $(ACE_ROOT)/ace/Array_Base.inl \
- $(ACE_ROOT)/ace/Array_Base.cpp \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/Framework_Component.h \
- $(ACE_ROOT)/ace/Framework_Component.inl \
- $(ACE_ROOT)/ace/Framework_Component_T.h \
- $(ACE_ROOT)/ace/Framework_Component_T.inl \
- $(ACE_ROOT)/ace/Framework_Component_T.cpp \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Task.i $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.cpp
-
-.obj/Svcconf.o .obj/Svcconf.so .shobj/Svcconf.o .shobj/Svcconf.so: Svcconf.cpp Svcconf.h $(ACE_ROOT)/ace/pre.h \
- $(ACE_ROOT)/ace/XML_Svc_Conf.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- $(ACE_ROOT)/ACEXML/parser/parser/Parser.h \
- $(ACE_ROOT)/ACEXML/parser/parser/Parser_export.h \
- $(ACE_ROOT)/ACEXML/common/XMLReader.h \
- $(ACE_ROOT)/ACEXML/common/ACEXML_Export.h \
- $(ACE_ROOT)/ACEXML/common/ContentHandler.h \
- $(ACE_ROOT)/ACEXML/common/Env.h \
- $(ACE_ROOT)/ACEXML/common/XML_Macros.h \
- $(ACE_ROOT)/ace/Exception_Macros.h \
- $(ACE_ROOT)/ACEXML/common/Exception.h \
- $(ACE_ROOT)/ACEXML/common/XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ACEXML/common/Exception.i \
- $(ACE_ROOT)/ACEXML/common/Env.i \
- $(ACE_ROOT)/ACEXML/common/SAXExceptions.h \
- $(ACE_ROOT)/ACEXML/common/SAXExceptions.i \
- $(ACE_ROOT)/ACEXML/common/Locator.h \
- $(ACE_ROOT)/ACEXML/common/Attributes.h \
- $(ACE_ROOT)/ACEXML/common/DTDHandler.h \
- $(ACE_ROOT)/ACEXML/common/EntityResolver.h \
- $(ACE_ROOT)/ACEXML/common/InputSource.h \
- $(ACE_ROOT)/ACEXML/common/CharStream.h \
- $(ACE_ROOT)/ACEXML/common/ErrorHandler.h \
- $(ACE_ROOT)/ACEXML/common/LocatorImpl.h \
- $(ACE_ROOT)/ACEXML/common/LocatorImpl.i \
- $(ACE_ROOT)/ACEXML/common/NamespaceSupport.h \
- $(ACE_ROOT)/ace/Functor.h \
- $(ACE_ROOT)/ace/Functor.i \
- $(ACE_ROOT)/ace/Functor_T.h \
- $(ACE_ROOT)/ace/Functor_T.i \
- $(ACE_ROOT)/ace/Functor_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.inl \
- $(ACE_ROOT)/ace/Unbounded_Queue.cpp \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Test_and_Set.h \
- $(ACE_ROOT)/ace/Test_and_Set.i \
- $(ACE_ROOT)/ace/Test_and_Set.cpp \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Array_Base.h \
- $(ACE_ROOT)/ace/Array_Base.inl \
- $(ACE_ROOT)/ace/Array_Base.cpp \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- $(ACE_ROOT)/ACEXML/common/NamespaceSupport.i \
- $(ACE_ROOT)/ace/Obstack.h \
- $(ACE_ROOT)/ace/Obstack_T.h \
- $(ACE_ROOT)/ace/Obchunk.h \
- $(ACE_ROOT)/ace/Obchunk.i \
- $(ACE_ROOT)/ace/Obstack_T.i \
- $(ACE_ROOT)/ace/Obstack_T.cpp \
- $(ACE_ROOT)/ACEXML/parser/parser/Entity_Manager.h \
- $(ACE_ROOT)/ACEXML/parser/parser/Entity_Manager.i \
- $(ACE_ROOT)/ACEXML/parser/parser/Parser.i Svcconf_Handler.h \
- $(ACE_ROOT)/ACEXML/common/DefaultHandler.h \
- $(ACE_ROOT)/ACEXML/common/DefaultHandler.i \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/DLL.h \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ACEXML/common/FileCharStream.h \
- $(ACE_ROOT)/ACEXML/common/Encoding.h \
- $(ACE_ROOT)/ACEXML/common/StrCharStream.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/ACEXML/apps/svcconf/Makefile.bor b/ACEXML/apps/svcconf/Makefile.bor
deleted file mode 100644
index 0f40444b564..00000000000
--- a/ACEXML/apps/svcconf/Makefile.bor
+++ /dev/null
@@ -1,20 +0,0 @@
-# Makefile for building the parser
-
-NAME = ACEXML_XML_Svc_Conf_Parser
-
-OBJFILES = \
- $(OBJDIR)\Svcconf.obj \
- $(OBJDIR)\Svcconf_Handler.obj
-
-CFLAGS = \
- $(ACE_CFLAGS) \
- $(ACE_XML_CFLAGS)
-
-CPPDIR = .;..
-
-LIBFILES = \
- $(ACE_LIB) \
- $(ACE_XML_LIB)
-# WE need both -lACEXML and -lACEXML_Parser here
-
-!include <$(ACE_ROOT)\include\makeinclude\build_core_library.bor>
diff --git a/ACEXML/apps/svcconf/README b/ACEXML/apps/svcconf/README
deleted file mode 100644
index 8a39a40bfe3..00000000000
--- a/ACEXML/apps/svcconf/README
+++ /dev/null
@@ -1,4 +0,0 @@
-$Id$
-
-This directory implement a DLL that contains the parser for XML based
-service configurator.
diff --git a/ACEXML/apps/svcconf/Svcconf.cpp b/ACEXML/apps/svcconf/Svcconf.cpp
deleted file mode 100644
index 12a6f3144fc..00000000000
--- a/ACEXML/apps/svcconf/Svcconf.cpp
+++ /dev/null
@@ -1,117 +0,0 @@
-// $Id$
-
-
-#include "Svcconf.h"
-#include "ACEXML/common/FileCharStream.h"
-#include "ACEXML/common/StrCharStream.h"
-#include "ACEXML/parser/parser/Parser.h"
-
-#if (ACE_USES_CLASSIC_SVC_CONF == 0)
-
-extern "C" ACE_Proper_Export_Flag ACE_XML_Svc_Conf *
-_ACEXML_create_XML_Svc_Conf_Object (void)
-{
- ACE_XML_Svc_Conf *retp = 0;
-
- ACE_NEW_RETURN (retp,
- ACEXML_Svcconf_Parser (),
- 0);
-
- return retp;
-}
-
-ACEXML_Svcconf_Parser::ACEXML_Svcconf_Parser ()
-{
- this->parser_.setContentHandler (&this->svcconf_handler_);
- this->parser_.setDTDHandler (&this->svcconf_handler_);
- this->parser_.setErrorHandler (&this->svcconf_handler_);
- this->parser_.setEntityResolver (&this->svcconf_handler_);
-}
-
-ACEXML_Svcconf_Parser::~ACEXML_Svcconf_Parser ()
-{
-
-}
-
-void *
-ACEXML_Svcconf_Parser::operator new (size_t s)
-{
- return ::new char[s];
-}
-
-void
-ACEXML_Svcconf_Parser::operator delete (void *p)
-{
- delete[] (char*)p;
-}
-
-int
-ACEXML_Svcconf_Parser::parse_file (const ACE_TCHAR file[])
-{
- if (file == 0)
- ACE_ERROR_RETURN ((LM_ERROR, "ACEXML_Svcconf_Parser: No filename specified\n"), -1);
-
- ACEXML_FileCharStream *fstm = 0;
- ACE_NEW_RETURN (fstm,
- ACEXML_FileCharStream (),
- 1);
-
- if (fstm->open (file) != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- ACE_TEXT ("ACEXML_Svcconf_Parser: Fail to open XML file: %s\n"),
- file),
- -1);
-
- this->input_stream_.setCharStream (fstm);
-
- ACEXML_TRY_NEW_ENV
- {
- this->parser_.parse (&this->input_stream_ ACEXML_ENV_ARG_PARAMETER);
- ACEXML_TRY_CHECK;
- }
- ACEXML_CATCH (ACEXML_SAXException, ex)
- {
- ex.print ();
- return -1;
- }
- ACEXML_ENDTRY;
- return 0;
-}
-
-
-int
-ACEXML_Svcconf_Parser::parse_string (const ACE_TCHAR str[])
-{
- if (str == 0)
- ACE_ERROR_RETURN ((LM_ERROR, "ACEXML_Svcconf_Parser: Can't parse a null string\n"), -1);
-
- ACEXML_StrCharStream *stm = 0;
- ACE_NEW_RETURN (stm,
- ACEXML_StrCharStream (str),
- -1);
-
- this->input_stream_.setCharStream (stm);
- ACEXML_TRY_NEW_ENV
- {
- this->parser_.parse (&this->input_stream_ ACEXML_ENV_ARG_PARAMETER);
- ACEXML_TRY_CHECK;
- }
- ACEXML_CATCH (ACEXML_SAXException, ex)
- {
- ex.print ();
- return -1;
- }
- ACEXML_ENDTRY;
- return 0;
-}
-
-#else
-
-# if defined (_AIX) && \
- (defined (__IBMCPP__) && (__IBMCPP__ >= 500) && (__IBMCPP__ < 600))
-// This simply shuts up the AIX linker that complains there are no
-// csects or exported symbols when building with Visual Age C++ 5.
-extern "C" void ace_shut_up_aix_ld (void) {};
-# endif /* AIX && __IBMCPP__ == 500 */
-
-#endif /* ACE_USES_CLASSIC_SVC_CONF == 0 */
diff --git a/ACEXML/apps/svcconf/Svcconf.h b/ACEXML/apps/svcconf/Svcconf.h
deleted file mode 100644
index 324bec6ec8d..00000000000
--- a/ACEXML/apps/svcconf/Svcconf.h
+++ /dev/null
@@ -1,48 +0,0 @@
-/* -*- C++ -*- */
-
-//=============================================================================
-/**
- * @file Svcconf.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-
-#ifndef ACEXML_SVCCONF_H
-#define ACEXML_SVCCONF_H
-
-#include "ace/pre.h"
-#include "ace/XML_Svc_Conf.h"
-#include "ACEXML/parser/parser/Parser.h"
-#include "Svcconf_Handler.h"
-
-#if (ACE_USES_CLASSIC_SVC_CONF == 0)
-
-class ACEXML_Svcconf_Parser : public ACE_XML_Svc_Conf
-{
-public:
- ACEXML_Svcconf_Parser ();
-
- virtual ~ACEXML_Svcconf_Parser ();
-
- virtual int parse_file (const ACE_TCHAR file[]);
-
- virtual int parse_string (const ACE_TCHAR str[]);
-
- void * operator new (size_t bytes);
-
- void operator delete (void *ptr);
-
-protected:
- ACEXML_Parser parser_;
- ACEXML_Svcconf_Handler svcconf_handler_;
- ACEXML_InputSource input_stream_;
-};
-
-#endif /* ACE_USES_CLASSIC_SVC_CONF == 0 */
-
-#include "ace/post.h"
-#endif /* ACEXML_SVCCONF_H */
diff --git a/ACEXML/apps/svcconf/Svcconf_Handler.cpp b/ACEXML/apps/svcconf/Svcconf_Handler.cpp
deleted file mode 100644
index 5f335c42821..00000000000
--- a/ACEXML/apps/svcconf/Svcconf_Handler.cpp
+++ /dev/null
@@ -1,642 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "Svcconf_Handler.h"
-#include "ace/ACE.h"
-#include "ace/Log_Msg.h"
-#include "ace/Service_Config.h"
-#include "ace/Service_Types.h"
-#include "ace/Service_Repository.h"
-#include "ace/DLL.h"
-#include "ace/ARGV.h"
-#include "ace/Module.h"
-
-#if (ACE_USES_CLASSIC_SVC_CONF == 0)
-
-#if !defined (__ACEXML_INLINE__)
-# include "Svcconf_Handler.i"
-#endif /* __ACEXML_INLINE__ */
-
-ACEXML_Svcconf_Handler::ACEXML_Svcconf_Handler (void)
- : in_stream_def_ (0),
- in_module_ (0),
- stream_svc_type_ (0),
- stream_ (0)
-{
- // no-op
-}
-
-ACEXML_Svcconf_Handler::~ACEXML_Svcconf_Handler (void)
-{
- // no-op
-}
-
-void
-ACEXML_Svcconf_Handler::characters (const ACEXML_Char *,
- int,
- int ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // no-op
-}
-
-void
-ACEXML_Svcconf_Handler::endDocument ( ACEXML_ENV_SINGLE_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // no-op
-}
-
-void
-ACEXML_Svcconf_Handler::endElement (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (ACE_OS_String::strcmp (qName, ACE_TEXT ("dynamic")) == 0)
- {
- ACE_Parsed_Info *active_info = (this->in_stream_def_ == 0 ?
- &this->parsed_info_ :
- &this->stream_info_);
-
- ACE_DLL svc_dll;
-
- if (svc_dll.open (active_info->path ()) == -1)
- {
- ACEXML_THROW (ACEXML_SAXException (ACE_TEXT("Cannot locate DLL\n")));
- }
-
- void *(*func) (ACE_Service_Object_Exterminator *) = 0;
- ACE_Service_Object_Exterminator gobbler = 0;
- void *symbol = 0;
-
- long temp_ptr =
- ACE_reinterpret_cast(long, svc_dll.symbol (active_info->init_func ()));
- func = ACE_reinterpret_cast(void *(*)(ACE_Service_Object_Exterminator *),
- temp_ptr);
-
- if (func == 0)
- {
- ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Cannot locate init function\n")));
- }
- symbol = (*func)(&gobbler); // target object created in the loaded DLL.
-
- ACE_Service_Type_Impl *stp = ACE_Service_Config::create_service_type_impl
- (active_info->name (),
- active_info->service_type (),
- symbol,
- ACE_Service_Type::DELETE_THIS |
- ACE_Service_Type::DELETE_OBJ,
- gobbler);
-
- if (this->in_stream_def_)
- {
-// ACE_DEBUG ((LM_INFO, ACE_TEXT ("Create dynamic %s for stream\n"),
-// this->stream_info_.name ()));
- if (active_info->service_type () == ACE_Service_Type::STREAM)
- {
- this->stream_ = (ACE_Stream_Type *) stp;
- }
- else
- {
- ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Expecting Stream type in stream header\n")));
- }
-
- this->stream_svc_type_ =
- ACE_Service_Config::create_service_type (this->stream_info_.name (),
- this->stream_,
- svc_dll,
- this->stream_info_.active ());
-
- }
- else
- {
- if (this->in_module_)
- {
- ACE_ARGV args (active_info->init_params ());
-
- ACE_Module_Type *mt = (ACE_Module_Type *) stp;
-
- ACE_Module<ACE_SYNCH> *mp = (ACE_Module<ACE_SYNCH> *) mt->object ();
-
- if (ACE_OS::strcmp (mp->name (), active_info->name ()) != 0)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("warning: assigning Module_Type name %s to Module %s since names differ\n"),
- active_info->name (),
- mp->name ()));
- mp->name (active_info->name ());
- }
-
- if (mt->init (args.argc (), args.argv ()) == -1
- || this->stream_->push (mt) == -1)
- {
- ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Error initializing module")));
- }
-
-
-// ACE_DEBUG ((LM_INFO, ACE_TEXT ("Push dynamic %s into stream %s\n"),
-// this->parsed_info_.name (),
-// this->stream_info_.name ()));
- }
- else
- {
- ACE_Service_Type *stype =
- ACE_Service_Config::create_service_type (active_info->name (),
- stp,
- svc_dll,
- active_info->active ());
- // @@ Check error here.
-
- // ACE_DEBUG ((LM_INFO, ACE_TEXT ("Apply dynamic %s\n"),
-// this->parsed_info_.name ()));
- if (ACE_Service_Config::initialize (stype,
- active_info->init_params ()) == -1)
- {
- ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Failed to initialize dynamic service\n")));
- }
- }
- this->parsed_info_.reset ();
- }
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("static")) == 0)
- {
- if (this->in_stream_def_)
- {
- // @@ Couldn't make sense out of the original Svc_Conf.y.
- ACE_DEBUG ((LM_ERROR, ACE_TEXT ("Create static %s for stream\n"),
- this->stream_info_.name ()));
- }
- else
- {
- if (this->in_module_)
- {
- // @@ Couldn't make sense out of the original Svc_Conf.y.
- ACE_DEBUG ((LM_ERROR, ACE_TEXT ("Push static %s into stream %s\n"),
- this->parsed_info_.name (),
- this->stream_info_.name ()));
- }
- else
- {
-// ACE_DEBUG ((LM_INFO, ACE_TEXT ("Apply static %s\n"),
-// this->parsed_info_.name ()));
- if (ACE_Service_Config::initialize (this->parsed_info_.name (),
- this->parsed_info_.init_params ()) == -1)
- {
- ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Failed to initialize static service\n")));
- }
- }
- this->parsed_info_.reset ();
- }
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("module")) == 0)
- {
- this->in_module_ = 0;
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("streamdef")) == 0)
- {
-// ACE_DEBUG ((LM_INFO, ACE_TEXT ("Apply stream %s of type %s\n"),
-// this->stream_info_.name (),
-// this->stream_info_.name ()));
- ACE_Service_Config::initialize (this->stream_svc_type_,
- this->stream_info_.init_params ());
-
- this->stream_info_.reset ();
- this->stream_svc_type_ = 0;
- this->stream_ = 0;
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("stream")) == 0)
- {
-// ACE_DEBUG ((LM_INFO, ACE_TEXT ("Apply stream %s of type %s\n"),
-// this->stream_info_.name (),
-// this->stream_info_.name ()));
- this->stream_info_.reset ();
- }
- else
- {
- }
-}
-
-void
-ACEXML_Svcconf_Handler::endPrefixMapping (const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // no-op
-}
-
-void
-ACEXML_Svcconf_Handler::ignorableWhitespace (const ACEXML_Char *,
- int,
- int ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // no-op
-}
-
-void
-ACEXML_Svcconf_Handler::processingInstruction (const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // no-op
-}
-
-void
-ACEXML_Svcconf_Handler::setDocumentLocator (ACEXML_Locator* locator)
-{
- this->locator_ = locator;
-}
-
-void
-ACEXML_Svcconf_Handler::skippedEntity (const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // no-op
-}
-
-void
-ACEXML_Svcconf_Handler::startDocument ( ACEXML_ENV_SINGLE_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // no-op
-}
-
-void
-ACEXML_Svcconf_Handler::startElement (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char *qName,
- ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (ACE_OS_String::strcmp (qName, ACE_TEXT ("dynamic")) == 0)
- {
- this->get_dynamic_attrs (alist ACEXML_ENV_ARG_PARAMETER);
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("initializer")) == 0)
- {
- this->get_initializer_attrs (alist ACEXML_ENV_ARG_PARAMETER);
-
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("static")) == 0)
- {
- this->get_static_attrs (alist ACEXML_ENV_ARG_PARAMETER);
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("stream")) == 0)
- {
- this->get_stream_id (alist ACEXML_ENV_ARG_PARAMETER);
-
- if (ACE_Service_Repository::instance()->find
- (this->stream_info_.name (),
- (const ACE_Service_Type **) &this->stream_svc_type_) == -1)
- {
- ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Cannot find stream\n")));
- }
- this->stream_ = this->stream_svc_type_ == 0
- ? 0
- : ACE_dynamic_cast (ACE_Stream_Type *,
- ACE_const_cast (ACE_Service_Type_Impl *,
- this->stream_svc_type_->type ()));
-
-// ACE_DEBUG ((LM_INFO, ACE_TEXT ("Retrieve stream %s from repository\n"),
-// this->stream_info_.name ()));
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("streamdef")) == 0)
- {
- this->in_stream_def_ = 1;
- // @@ Set up stream service object
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("module")) == 0)
- {
- this->in_stream_def_ = 0;
- this->in_module_ = 1;
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("resume")) == 0)
- {
- this->get_id (alist ACEXML_ENV_ARG_PARAMETER);
- if (this->in_module_)
- {
-// ACE_DEBUG ((LM_INFO, ACE_TEXT ("Resume %s in stream %s\n"),
-// this->parsed_info_.name (),
-// this->stream_info_.name ()));
- ACE_Module_Type *mt = (this->stream_ == 0)
- ? 0
- : this->stream_->find (this->parsed_info_.name ());
-
- if (mt == 0)
- {
- ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Can't locate module\n")));
- }
-
- mt->resume ();
- }
- else
- {
-// ACE_DEBUG ((LM_INFO, ACE_TEXT ("Resume %s\n"),
-// this->parsed_info_.name ()));
- if (ACE_Service_Config::resume (this->parsed_info_.name ()) == -1)
- {
- ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Resume fail\n")));
- }
- }
- this->parsed_info_.reset ();
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("suspend")) == 0)
- {
- this->get_id (alist ACEXML_ENV_ARG_PARAMETER);
- if (this->in_module_)
- {
-// ACE_DEBUG ((LM_INFO, ACE_TEXT ("Suspend %s in stream %s\n"),
-// this->parsed_info_.name (),
-// this->stream_info_.name ()));
- ACE_Module_Type *mt = (this->stream_ == 0)
- ? 0
- : this->stream_->find (this->parsed_info_.name ());
-
- if (mt == 0)
- {
- ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Can't locate module\n")));
- }
-
- mt->suspend ();
- }
- else
- {
- // ACE_DEBUG ((LM_INFO, ACE_TEXT ("Suspend %s\n"),
- // this->parsed_info_.name ()));
- if (ACE_Service_Config::suspend (this->parsed_info_.name ()) == -1)
- {
- ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Suspend failed\n")));
- }
- }
- this->parsed_info_.reset ();
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("remove")) == 0)
- {
- this->get_id (alist ACEXML_ENV_ARG_PARAMETER);
- if (this->in_module_)
- {
-// ACE_DEBUG ((LM_INFO, ACE_TEXT ("Remove %s in stream %s\n"),
-// this->parsed_info_.name (),
-// this->stream_info_.name ()));
- ACE_Module_Type *mt = (this->stream_ == 0)
- ? 0
- : this->stream_->find (this->parsed_info_.name ());
-
- if (mt == 0)
- {
- ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Can't locate module\n")));
- }
-
- this->stream_->remove (mt);
- }
- else
- {
-// ACE_DEBUG ((LM_INFO, ACE_TEXT ("Remove %s\n"),
-// this->parsed_info_.name ()));
- if (ACE_Service_Config::remove (this->parsed_info_.name ()) == -1)
- {
- ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Remove failed\n")));
- }
- }
- this->parsed_info_.reset ();
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("ACE_Svc_Conf")) == 0)
- {
- // Main document tag. no-op.
-// ACE_DEBUG ((LM_INFO, ACE_TEXT ("ACE_Svc_Conf tag\n")));
- }
- else
- {
- // @@ Error. Perhaps we should relay to user event handler here, if available.
- }
-
- return;
-}
-
-void
-ACEXML_Svcconf_Handler::startPrefixMapping (const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-// *** Methods inherit from ACEXML_DTDHandler.
-
-void
-ACEXML_Svcconf_Handler::notationDecl (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-void
-ACEXML_Svcconf_Handler::unparsedEntityDecl (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-// Methods inherit from ACEXML_EnitityResolver.
-
-ACEXML_InputSource *
-ACEXML_Svcconf_Handler::resolveEntity (const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
- return 0;
-}
-
-// Methods inherit from ACEXML_ErrorHandler.
-
- /*
- * Receive notification of a recoverable error.
- */
-void
-ACEXML_Svcconf_Handler::error (ACEXML_SAXParseException& ex ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- ACE_DEBUG ((LM_DEBUG, "%s: line :%d col: %d ", this->locator_->getSystemId(),
- this->locator_->getLineNumber(),
- this->locator_->getColumnNumber()));
- ex.print();
-}
-
-void
-ACEXML_Svcconf_Handler::fatalError (ACEXML_SAXParseException& ex ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- ACE_DEBUG ((LM_DEBUG, "%s: line :%d col: %d ", this->locator_->getSystemId(),
- this->locator_->getLineNumber(),
- this->locator_->getColumnNumber()));
- ex.print();
-}
-
-void
-ACEXML_Svcconf_Handler::warning (ACEXML_SAXParseException& ex ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- ACE_DEBUG ((LM_DEBUG, "%s: line :%d col: %d ", this->locator_->getSystemId(),
- this->locator_->getLineNumber(),
- this->locator_->getColumnNumber()));
- ex.print();
-}
-
-int
-ACEXML_Svcconf_Handler::get_stream_id (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL)
-{
- if (alist != 0)
- for (size_t i = 0; i < alist->getLength (); ++i)
- {
- if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("id")) == 0)
- {
- this->stream_info_.name (alist->getValue (i));
- }
- else
- {
- ACEXML_THROW_RETURN (ACEXML_SAXException (ACE_TEXT ("Invalid stream attribute\n")),
- -1);
- }
- }
- return 0;
-}
-
-int
-ACEXML_Svcconf_Handler::get_id (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL)
-{
- if (alist != 0)
- for (size_t i = 0; i < alist->getLength (); ++i)
- {
- if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("id")) == 0)
- {
- this->parsed_info_.name (alist->getValue (i));
- }
- else
- {
- ACEXML_THROW_RETURN (ACEXML_SAXException (ACE_TEXT ("Invalid attribute, expecting 'id'\n")), -1);
- }
- }
- return 0;
-}
-
-int
-ACEXML_Svcconf_Handler::get_dynamic_attrs (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL)
-{
- if (alist != 0)
- {
- ACE_Parsed_Info *info = (this->in_stream_def_ == 0 ?
- &this->parsed_info_ :
- &this->stream_info_);
- for (size_t i = 0; i < alist->getLength (); ++i)
- {
- if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("id")) == 0)
- {
- info->name (alist->getValue (i));
- }
- else if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("status")) == 0)
- {
- if (ACE_OS_String::strcmp (alist->getValue (i), ACE_TEXT ("inactive")) == 0)
- {
- info->active (0);
- }
- else if (ACE_OS_String::strcmp (alist->getValue (i), ACE_TEXT ("active")) == 0)
- {
- info->active (1);
- }
- else
- {
- 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)
- {
- if (ACE_OS_String::strcasecmp (alist->getValue (i), ACE_TEXT ("service_object")) == 0)
- {
- info->service_type (ACE_Service_Type::SERVICE_OBJECT);
- }
- else if (ACE_OS_String::strcasecmp (alist->getValue (i), ACE_TEXT ("stream")) == 0)
- {
- info->service_type (ACE_Service_Type::STREAM);
- }
- else if (ACE_OS_String::strcasecmp (alist->getValue (i), ACE_TEXT ("module")) == 0)
- {
- info->service_type (ACE_Service_Type::MODULE);
- }
- else
- {
- ACEXML_THROW_RETURN (ACEXML_SAXException (ACE_TEXT ("Invalid Service_Object attribute value\n")), -1);
- }
- }
- else
- {
- ACEXML_THROW_RETURN(ACEXML_SAXException(ACE_TEXT ("Invalid attribute\n")), -1);
- }
- }
- }
- return 0;
-}
-
-int
-ACEXML_Svcconf_Handler::get_initializer_attrs (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL)
-{
- if (alist != 0)
- {
- ACE_Parsed_Info *info = (this->in_stream_def_ == 0 ?
- &this->parsed_info_ :
- &this->stream_info_);
- for (size_t i = 0; i < alist->getLength (); ++i)
- {
- if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("init")) == 0)
- {
- info->init_func (alist->getValue (i));
- }
- else if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("path")) == 0)
- {
- info->path (alist->getValue (i));
- }
- else if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("params")) == 0)
- {
- info->init_params (alist->getValue (i));
- }
- else
- {
- ACEXML_THROW_RETURN (ACEXML_SAXException (ACE_TEXT ("Invalid initializer attribute.\n")), -1);
- }
- }
- }
- return 0;
-}
-
-int
-ACEXML_Svcconf_Handler::get_static_attrs (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL)
-{
- if (alist != 0)
- {
- ACE_Parsed_Info *info = (this->in_stream_def_ == 0 ?
- &this->parsed_info_ :
- &this->stream_info_);
- for (size_t i = 0; i < alist->getLength (); ++i)
- {
- if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("id")) == 0)
- {
- info->name (alist->getValue (i));
- }
- else if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("params")) == 0)
- {
- info->init_params (alist->getValue (i));
- }
- else
- {
- ACEXML_THROW_RETURN (ACEXML_SAXException (ACE_TEXT ("Invalid static attribute.\n")), -1);
- }
- }
- }
- return 0;
-}
-
-#endif /* ACE_USES_CLASSIC_SVC_CONF == 0 */
diff --git a/ACEXML/apps/svcconf/Svcconf_Handler.h b/ACEXML/apps/svcconf/Svcconf_Handler.h
deleted file mode 100644
index c9093f9bd7a..00000000000
--- a/ACEXML/apps/svcconf/Svcconf_Handler.h
+++ /dev/null
@@ -1,292 +0,0 @@
-// $Id$
-
-//=============================================================================
-/**
- * @file Svcconf_Handler.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef ACEXML_SVCCONF_HANDLER_H
-#define ACEXML_SVCCONF_HANDLER_H
-
-#include "ACEXML/common/DefaultHandler.h"
-#include "ace/Service_Types.h"
-
-#if (ACE_USES_CLASSIC_SVC_CONF == 0)
-
-class ACE_Parsed_Info
-{
-public:
- ACE_Parsed_Info ();
- ~ACE_Parsed_Info ();
-
- /**
- * Set/get name of a parsed entity.
- */
- int name (const ACEXML_Char *n);
- const ACEXML_Char *name (void);
-
- /**
- * Set/get type of a dynamic node.
- */
- int service_type (int type);
- int service_type (void);
-
- /**
- * Set/Get active status.
- */
- int active (int a);
- int active (void);
-
- /**
- * Set/get initializer path.
- */
- int path (const ACEXML_Char *n);
- const ACEXML_Char *path (void);
-
- /**
- * Set/get initializer init function.
- */
- int init_func (const ACEXML_Char *n);
- const ACEXML_Char *init_func (void);
-
- /**
- * Set/get initializer init parameter.
- */
- int init_params (const ACEXML_Char *n);
- const ACEXML_Char *init_params (void);
-
- /**
- * Reset Parsed_Info.
- */
- void reset (void);
-
-protected:
- ACEXML_Char *name_;
- int service_type_;
- int active_;
- ACEXML_Char *path_;
- ACEXML_Char *init_func_;
- ACEXML_Char *init_params_;
-};
-
-/**
- * @class ACEXML_Svcconf_Handler
- *
- * @brief ACEXML_Svcconf_Handler is an example SAX event handler.
- *
- * This SAX event handler try to regenerate the XML document it
- * reads with correct indentation.
- */
-class ACEXML_Svcconf_Handler : public ACEXML_DefaultHandler
-{
-public:
- /*
- * Default constructor.
- */
- ACEXML_Svcconf_Handler (void);
-
- /*
- * Default destructor.
- */
- virtual ~ACEXML_Svcconf_Handler (void);
-
- // Methods inherit from ACEXML_ContentHandler.
-
- /*
- * Receive notification of character data.
- */
- virtual void characters (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of the end of a document.
- */
- virtual void endDocument (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of the end of an element.
- */
- virtual void endElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * End the scope of a prefix-URI mapping.
- */
- virtual void endPrefixMapping (const ACEXML_Char *prefix ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of ignorable whitespace in element content.
- */
- virtual void ignorableWhitespace (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of a processing instruction.
- */
- virtual void processingInstruction (const ACEXML_Char *target,
- const ACEXML_Char *data ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive an object for locating the origin of SAX document events.
- */
- virtual void setDocumentLocator (ACEXML_Locator *locator) ;
-
- /*
- * Receive notification of a skipped entity.
- */
- virtual void skippedEntity (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of the beginning of a document.
- */
- virtual void startDocument (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of the beginning of an element.
- */
- virtual void startElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName,
- ACEXML_Attributes *atts ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Begin the scope of a prefix-URI Namespace mapping.
- */
- virtual void startPrefixMapping (const ACEXML_Char *prefix,
- const ACEXML_Char *uri ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- // *** Methods inherit from ACEXML_DTDHandler.
-
- /*
- * Receive notification of a notation declaration event.
- */
- virtual void notationDecl (const ACEXML_Char *name,
- const ACEXML_Char *publicId,
- const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of an unparsed entity declaration event.
- */
- virtual void unparsedEntityDecl (const ACEXML_Char *name,
- const ACEXML_Char *publicId,
- const ACEXML_Char *systemId,
- const ACEXML_Char *notationName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- // Methods inherit from ACEXML_EnitityResolver.
-
- /*
- * Allow the application to resolve external entities.
- */
- virtual ACEXML_InputSource *resolveEntity (const ACEXML_Char *publicId,
- const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- // Methods inherit from ACEXML_ErrorHandler.
-
- /*
- * Receive notification of a recoverable error.
- */
- virtual void error (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of a non-recoverable error.
- */
- virtual void fatalError (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of a warning.
- */
- virtual void warning (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
-protected:
- /**
- * Get the only attribute in <stream> or <streamdef>.
- */
- int get_stream_id (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL);
-
- /**
- * Get the only attribute in <resume>, <suspend>, <remove>
- */
- int get_id (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL);
-
- /**
- * Get the dynamic tag attributes.
- */
- int get_dynamic_attrs (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL);
-
- /**
- * Get the initializer tag attributes.
- */
- int get_initializer_attrs (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL);
-
- /**
- * Get the static tag attributes.
- */
- int get_static_attrs (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL);
-
-private:
- /// We are parsing a stream definition
- int in_stream_def_;
-
- /// We are defining a steam module
- int in_module_;
-
- /// @a stream_ holds the actually Stream_Type object managed by @a stream_svc_type_.
- ACE_Service_Type *stream_svc_type_;
- ACE_Stream_Type *stream_;
-
- //ACE_SHLIB_HANDLE dll_handle_;
-
- ACE_Parsed_Info parsed_info_;
-
- ACE_Parsed_Info stream_info_;
-
- ACEXML_Locator* locator_;
-};
-
-#if defined (__ACEXML_INLINE__)
-# include "Svcconf_Handler.i"
-#endif /* __ACEXML_INLINE__ */
-
-#endif /* ACE_USES_CLASSIC_SVC_CONF == 0 */
-
-#endif /* ACEXML_SVCCONF_HANDLER_H */
diff --git a/ACEXML/apps/svcconf/Svcconf_Handler.i b/ACEXML/apps/svcconf/Svcconf_Handler.i
deleted file mode 100644
index 605dec5f2f7..00000000000
--- a/ACEXML/apps/svcconf/Svcconf_Handler.i
+++ /dev/null
@@ -1,133 +0,0 @@
-// -*- C++ -*- $Id$
-
-ACE_INLINE
-ACE_Parsed_Info::ACE_Parsed_Info ()
- : name_ (0),
- service_type_ (ACE_Service_Type::INVALID_TYPE),
- active_ (1),
- path_ (0),
- init_func_ (0),
- init_params_ (0)
-{
-}
-
-ACE_INLINE
-ACE_Parsed_Info::~ACE_Parsed_Info ()
-{
- delete[] this->name_;
- delete[] this->path_;
- delete[] this->init_func_;
- delete[] this->init_params_;
-}
-
-ACE_INLINE int
-ACE_Parsed_Info::name (const ACEXML_Char *n)
-{
- if (this->name_ == 0)
- {
- this->name_ = ACE::strnew (n);
- return 0;
- }
- return -1;
-}
-
-ACE_INLINE const ACEXML_Char *
-ACE_Parsed_Info::name (void)
-{
- return this->name_;
-}
-
-ACE_INLINE int
-ACE_Parsed_Info::service_type (int type)
-{
- if (this->service_type_ == -1)
- {
- this->service_type_ = type;
- return 0;
- }
- return -1;
-}
-
-ACE_INLINE int
-ACE_Parsed_Info::service_type (void)
-{
- return this->service_type_;
-}
-
-ACE_INLINE int
-ACE_Parsed_Info::active (int a)
-{
- this->active_ = a;
- return 0;
-}
-
-ACE_INLINE int
-ACE_Parsed_Info::active (void)
-{
- return this->active_;
-}
-
-ACE_INLINE int
-ACE_Parsed_Info::path (const ACEXML_Char *p)
-{
- if (this->path_ == 0)
- {
- this->path_ = ACE::strnew (p);
- return 0;
- }
- return -1;
-}
-
-ACE_INLINE const ACEXML_Char *
-ACE_Parsed_Info::path (void)
-{
- return this->path_;
-}
-
-ACE_INLINE int
-ACE_Parsed_Info::init_func (const ACEXML_Char *n)
-{
- if (this->init_func_ == 0)
- {
- this->init_func_ = ACE::strnew (n);
- return 0;
- }
- return -1;
-}
-
-ACE_INLINE const ACEXML_Char *
-ACE_Parsed_Info::init_func (void)
-{
- return this->init_func_;
-}
-
-ACE_INLINE int
-ACE_Parsed_Info::init_params (const ACEXML_Char *n)
-{
- if (this->init_params_ == 0)
- {
- this->init_params_ = ACE::strnew (n);
- return 0;
- }
- return -1;
-}
-
-ACE_INLINE const ACEXML_Char *
-ACE_Parsed_Info::init_params (void)
-{
- return this->init_params_;
-}
-
-ACE_INLINE void
-ACE_Parsed_Info::reset (void)
-{
- delete[] this->name_;
- this->name_ = 0;
- this->service_type_ = -1;
- delete[] this->path_;
- this->path_ = 0;
- delete[] this->init_func_;
- this->init_func_ = 0;
- delete[] this->init_params_;
- this->init_params_ = 0;
-}
diff --git a/ACEXML/apps/svcconf/XML_Svc_Conf_Parser.dsp b/ACEXML/apps/svcconf/XML_Svc_Conf_Parser.dsp
deleted file mode 100644
index 7c48917d940..00000000000
--- a/ACEXML/apps/svcconf/XML_Svc_Conf_Parser.dsp
+++ /dev/null
@@ -1,121 +0,0 @@
-# Microsoft Developer Studio Project File - Name="XML_Svc_Conf_Parser" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=XML_Svc_Conf_Parser - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "XML_Svc_Conf_Parser.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "XML_Svc_Conf_Parser.mak" CFG="XML_Svc_Conf_Parser - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "XML_Svc_Conf_Parser - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "XML_Svc_Conf_Parser - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "XML_Svc_Conf_Parser - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XML_SVC_CONF_PARSER_EXPORTS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
-# ADD LINK32 ace.lib ACEXML.lib ACEXML_Parser.lib /nologo /dll /machine:I386 /out:"..\..\..\bin\ACEXML_XML_Svc_Conf_Parser.dll" /libpath:"..\..\..\ace" /libpath:"..\..\Common" /libpath:"..\..\parser\parser"
-
-!ELSEIF "$(CFG)" == "XML_Svc_Conf_Parser - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "XML_Svc_Conf_Parser___Win32_Debug"
-# PROP BASE Intermediate_Dir "XML_Svc_Conf_Parser___Win32_Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XML_SVC_CONF_PARSER_EXPORTS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib ACEXMLd.lib ACEXML_Parserd.lib /nologo /dll /debug /machine:I386 /out:"..\..\..\bin\ACEXML_XML_Svc_Conf_Parserd.dll" /pdbtype:sept /libpath:"..\..\..\ace" /libpath:"..\..\Common" /libpath:"..\..\parser\parser"
-
-!ENDIF
-
-# Begin Target
-
-# Name "XML_Svc_Conf_Parser - Win32 Release"
-# Name "XML_Svc_Conf_Parser - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\Svcconf.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Svcconf_Handler.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# Begin Source File
-
-SOURCE=.\Svcconf.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Svcconf_Handler.h
-# End Source File
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# End Group
-# End Target
-# End Project
diff --git a/ACEXML/apps/svcconf/svcconf.mpc b/ACEXML/apps/svcconf/svcconf.mpc
deleted file mode 100644
index 1bcc8b040c1..00000000000
--- a/ACEXML/apps/svcconf/svcconf.mpc
+++ /dev/null
@@ -1,3 +0,0 @@
-project(ACEXML_XML_Svc_Conf_Parser): acelib, acexml {
- sharedname = ACEXML_XML_Svc_Conf_Parser
-}
diff --git a/ACEXML/common/ACEXML_Export.h b/ACEXML/common/ACEXML_Export.h
deleted file mode 100644
index 39546eeafcc..00000000000
--- a/ACEXML/common/ACEXML_Export.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file ACEXML_Export.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-// Definition for Win32 Export directives.
-// This file is generated automatically by generate_export_file.pl
-// ------------------------------
-#ifndef ACEXML_EXPORT_H
-#define ACEXML_EXPORT_H
-
-#include "ace/config-all.h"
-
-#if defined (ACE_AS_STATIC_LIBS)
-# if !defined (ACEXML_HAS_DLL)
-# define ACEXML_HAS_DLL 0
-# endif /* ! ACEXML_HAS_DLL */
-#else
-# if !defined (ACEXML_HAS_DLL)
-# define ACEXML_HAS_DLL 1
-# endif /* ! ACEXML_HAS_DLL */
-#endif /* ACE_AS_STATIC_LIB */
-
-#if defined (ACEXML_HAS_DLL) && (ACEXML_HAS_DLL == 1)
-# if defined (ACEXML_BUILD_DLL)
-# define ACEXML_Export ACE_Proper_Export_Flag
-# define ACEXML_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
-# define ACEXML_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
-# else /* ACEXML_BUILD_DLL */
-# define ACEXML_Export ACE_Proper_Import_Flag
-# define ACEXML_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
-# define ACEXML_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
-# endif /* ACEXML_BUILD_DLL */
-#else /* ACEXML_HAS_DLL == 1 */
-# define ACEXML_Export
-# define ACEXML_SINGLETON_DECLARATION(T)
-# define ACEXML_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
-#endif /* ACEXML_HAS_DLL == 1 */
-
-#endif /* ACEXML_EXPORT_H */
-
-// End of auto generated file.
diff --git a/ACEXML/common/Attributes.h b/ACEXML/common/Attributes.h
deleted file mode 100644
index 87937a5624c..00000000000
--- a/ACEXML/common/Attributes.h
+++ /dev/null
@@ -1,126 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Attributes.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef _ACEXML_ATTRIBUTES_H_
-#define _ACEXML_ATTRIBUTES_H_
-#include "ace/pre.h"
-
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/XML_Types.h"
-
-/**
- * @class ACEXML_Attributes Attributes.h "ACEXML/common/Attributes.h"
- *
- * @brief ACEXML_Attributes defines a collection of attributes of an XML element.
- *
- * This is an abstract class (interface in Java) that defines
- * the API for accessing attributes of an XML entity.
- *
- * This interface allows access to a list of attributes in three different ways:
- *
- * - by attribute index;
- * - by Namespace-qualified name; or
- * - by qualified (prefixed) name.
- *
- * The list will not contain attributes that were declared #IMPLIED
- * but not specified in the start tag. It will also not contain
- * attributes used as Namespace declarations (xmlns*) unless the
- * http://xml.org/sax/features/namespace-prefixes feature is set to
- * true (it is false by default).
- *
- * If the namespace-prefixes feature (see above) is false, access by
- * qualified name may not be available; if the
- * http://xml.org/sax/features/namespaces feature is false, access by
- * Namespace-qualified names may not be available.
- *
- * This interface replaces the now-deprecated SAX1 AttributeList
- * interface, which does not contain Namespace support. In addition to
- * Namespace support, it adds the getIndex methods (below).
- *
- * The order of attributes in the list is unspecified, and will vary
- * from implementation to implementation.
- */
-class ACEXML_Export ACEXML_Attributes
-{
-public:
- /**
- * Look up the index of an attribute by XML 1.0 qualified name.
- */
- virtual int getIndex (const ACEXML_Char *qName) = 0;
-
- /**
- * Look up the index of an attribute by Namespace name.
- */
- virtual int getIndex (const ACEXML_Char *uri,
- const ACEXML_Char *localPart) = 0;
-
- /**
- * Return the number of attributes in the list.
- */
- virtual size_t getLength (void) = 0;
-
- /**
- * Look up an attribute's local name by index.
- */
- virtual const ACEXML_Char *getLocalName (size_t index) = 0;
-
- /**
- * Look up an attribute's XML 1.0 qualified name by index.
- */
- virtual const ACEXML_Char *getQName (size_t index) = 0;
-
- /**
- * Look up an attribute's type by index.
- */
- virtual const ACEXML_Char *getType (size_t index) = 0;
-
- /**
- * Look up an attribute's type by XML 1.0 qualified name.
- */
- virtual const ACEXML_Char *getType (const ACEXML_Char *qName) = 0;
-
- /**
- * Look up an attribute's type by Namespace name.
- */
- virtual const ACEXML_Char *getType (const ACEXML_Char *uri,
- const ACEXML_Char *localPart) = 0;
-
- /**
- * Look up an attribute's Namespace URI by index.
- */
- virtual const ACEXML_Char *getURI (size_t index) = 0;
-
- /**
- * Look up an attribute's value by index.
- */
- virtual const ACEXML_Char *getValue (size_t index) = 0;
-
- /**
- * Look up an attribute's value by XML 1.0 qualified name.
- */
- virtual const ACEXML_Char *getValue (const ACEXML_Char *qName) = 0;
-
- /**
- * Look up an attribute's value by Namespace name.
- */
- virtual const ACEXML_Char *getValue (const ACEXML_Char *uri,
- const ACEXML_Char *localPart) = 0;
-};
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_ ATTRIBUTES_H_ */
diff --git a/ACEXML/common/AttributesImpl.cpp b/ACEXML/common/AttributesImpl.cpp
deleted file mode 100644
index 95eb4c2742b..00000000000
--- a/ACEXML/common/AttributesImpl.cpp
+++ /dev/null
@@ -1,302 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ACEXML/common/AttributesImpl.h"
-
-#if !defined (__ACEXML_INLINE__)
-# include "ACEXML/common/AttributesImpl.i"
-#endif /* __ACEXML_INLINE__ */
-
-ACEXML_AttributesImpl::ACEXML_AttributesImpl (int size)
- : attrs_ (size)
-{
- this->attrs_.size (0); // attrs array contains nothing
-}
-
-ACEXML_AttributesImpl::ACEXML_AttributesImpl (const
- ACEXML_AttributesImpl &attrs)
- : ACEXML_Attributes (attrs),
- attrs_ (attrs.attrs_.size ())
-{
- for (size_t i = 0; i < attrs.attrs_.size (); i++)
- this->attrs_[i] = attrs.attrs_[i];
-}
-
-ACEXML_AttributesImpl::~ACEXML_AttributesImpl (void)
-{
-}
-
-int
-ACEXML_AttributesImpl::addAttribute (const ACEXML_Char *uri,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName,
- const ACEXML_Char *type,
- const ACEXML_Char *value)
-{
- if (this->isDuplicate (uri, localName, qName))
- return -1;
- int length = this->attrs_.size ();
- this->attrs_.size (length+1);
- this->setAttribute (length,
- uri,
- localName,
- qName,
- type,
- value);
- return length;
-}
-
-int
-ACEXML_AttributesImpl::addAttribute (const ACEXML_Attribute &att)
-{
- if (this->isDuplicate (att.uri(), att.localName(), att.qName()))
- return -1;
- int length = this->attrs_.size ();
- this->attrs_.size (length+1);
- this->attrs_[length] = att;
- return length;
-}
-
-int
-ACEXML_AttributesImpl::isDuplicate (const ACEXML_Char *uri,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName)
-{
- for (size_t i = 0; i < this->attrs_.size(); ++i)
- {
- if (ACE_OS::strcmp (this->attrs_[i].localName(), localName) == 0)
- {
- if (qName != 0 && this->attrs_[i].qName() != 0
- && ACE_OS::strcmp (this->attrs_[i].qName(), qName) == 0)
- {
- if (uri != 0 && this->attrs_[i].uri() != 0
- && ACE_OS::strcmp (this->attrs_[i].uri(), uri) == 0)
- return 1;
- }
- }
- }
- return 0;
-}
-
-int
-ACEXML_AttributesImpl::removeAttribute (size_t index)
-{
- size_t length = this->attrs_.size ();
-
- if (index >= length)
- return -1;
-
- this->attrs_[index] = this->attrs_[length - 1];
- this->attrs_.size (length - 1);
-
- return 0;
-}
-
-
-int
-ACEXML_AttributesImpl::getIndex (const ACEXML_Char *qName)
-{
- for (size_t i = 0; i < this->attrs_.size (); i++)
- if (ACE_OS::strcmp (qName, this->attrs_[i].qName ()) == 0)
- return i;
-
- return -1;
-}
-
-int
-ACEXML_AttributesImpl::getIndex (const ACEXML_Char *uri,
- const ACEXML_Char *localPart)
-{
- for (size_t i = 0; i < this->attrs_.size (); i++)
- if (ACE_OS::strcmp (uri, this->attrs_[i].uri ()) == 0 &&
- ACE_OS::strcmp (localPart, this->attrs_[i].localName ()) == 0)
- return i;
-
- return -1;
-}
-
-size_t
-ACEXML_AttributesImpl::getLength (void)
-{
- return this->attrs_.size ();
-}
-
-const ACEXML_Char *
-ACEXML_AttributesImpl::getLocalName (size_t index)
-{
- if (index < this->attrs_.size ())
- return this->attrs_[index].localName ();
- return 0;
-}
-
-
-const ACEXML_Char *
-ACEXML_AttributesImpl::getQName (size_t index)
-{
- if (index < this->attrs_.size ())
- return this->attrs_[index].qName ();
- return 0;
-}
-
-const ACEXML_Char *
-ACEXML_AttributesImpl::getType (size_t index)
-{
- if (index < this->attrs_.size ())
- return this->attrs_[index].type ();
- return 0;
-}
-
-
-const ACEXML_Char *
-ACEXML_AttributesImpl::getType (const ACEXML_Char *qName)
-{
- for (size_t i = 0; i < this->attrs_.size (); i++)
- if (ACE_OS::strcmp (qName, this->attrs_[i].qName ()) == 0)
- return this->attrs_[i].type ();
-
- return 0;
-}
-
-const ACEXML_Char *
-ACEXML_AttributesImpl::getType (const ACEXML_Char *uri,
- const ACEXML_Char *localPart)
-{
- for (size_t i = 0; i < this->attrs_.size (); i++)
- if (ACE_OS::strcmp (uri, this->attrs_[i].uri ()) == 0 &&
- ACE_OS::strcmp (localPart, this->attrs_[i].localName ()) == 0)
- return this->attrs_[i].type ();
-
- return 0;
-}
-
-
-const ACEXML_Char *
-ACEXML_AttributesImpl::getURI (size_t index)
-{
- if (index < this->attrs_.size ())
- return this->attrs_[index].uri ();
- return 0;
-}
-
-
-const ACEXML_Char *
-ACEXML_AttributesImpl::getValue (size_t index)
-{
- if (index < this->attrs_.size ())
- return this->attrs_[index].value ();
- return 0;
-}
-
-const ACEXML_Char *
-ACEXML_AttributesImpl::getValue (const ACEXML_Char *qName)
-{
- for (size_t i = 0; i < this->attrs_.size (); i++)
- if (ACE_OS::strcmp (qName, this->attrs_[i].qName ()) == 0)
- return this->attrs_[i].value ();
-
- return 0;
-}
-
-const ACEXML_Char *
-ACEXML_AttributesImpl::getValue (const ACEXML_Char *uri,
- const ACEXML_Char *localPart)
-{
- for (size_t i = 0; i < this->attrs_.size (); i++)
- if (ACE_OS::strcmp (uri, this->attrs_[i].uri ()) == 0 &&
- ACE_OS::strcmp (localPart, this->attrs_[i].localName ()) == 0)
- return this->attrs_[i].value ();
-
- return 0;
-}
-
-int
-ACEXML_AttributesImpl::setAttribute (size_t index,
- const ACEXML_Char *uri,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName,
- const ACEXML_Char *type,
- const ACEXML_Char *value)
-{
- if (index < this->attrs_.size ())
- {
- this->attrs_[index].setAttribute (uri,
- localName,
- qName,
- type,
- value);
- return 0;
- }
-
- return -1;
-}
-
-
-int
-ACEXML_AttributesImpl::setLocalName (size_t index,
- const ACEXML_Char *localName)
-{
- if (index < this->attrs_.size ())
- {
- this->attrs_[index].localName (localName);
- return 0;
- }
- return -1;
-}
-
-int
-ACEXML_AttributesImpl::setQName (size_t index,
- const ACEXML_Char *qName)
-{
- if (index < this->attrs_.size ())
- {
- this->attrs_[index].qName (qName);
- return 0;
- }
- return -1;
-}
-
-
-int
-ACEXML_AttributesImpl::setURI (size_t index,
- const ACEXML_Char *uri)
-{
- if (index < this->attrs_.size ())
- {
- this->attrs_[index].uri (uri);
- return 0;
- }
- return -1;
-}
-
-int
-ACEXML_AttributesImpl::setType (size_t index,
- const ACEXML_Char *type)
-{
- if (index < this->attrs_.size ())
- {
- this->attrs_[index].type (type);
- return 0;
- }
- return -1;
-}
-
-int
-ACEXML_AttributesImpl::setValue (size_t index,
- const ACEXML_Char *value)
-{
- if (index < this->attrs_.size ())
- {
- this->attrs_[index].value (value);
- return 0;
- }
- return -1;
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class ACE_Array_Base<ACEXML_Attribute>;
-template class ACE_Array<ACEXML_Attribute>;
-template class ACE_Array_Iterator<ACEXML_Attribute>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate ACE_Array_Base<ACEXML_Attribute>
-#pragma instantiate ACE_Array<ACEXML_Attribute>
-#pragma instantiate ACE_Array_Iterator<ACEXML_Attribute>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/ACEXML/common/AttributesImpl.h b/ACEXML/common/AttributesImpl.h
deleted file mode 100644
index 728458b9533..00000000000
--- a/ACEXML/common/AttributesImpl.h
+++ /dev/null
@@ -1,310 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file AttributesImpl.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-
-#ifndef ACEXML_ATTRIBUTESIMPL_H
-#define ACEXML_ATTRIBUTESIMPL_H
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/Attributes.h"
-#include "ace/Containers_T.h"
-
-#if !defined ACEXML_AttributesImpl_Default_Size
-#define ACEXML_AttributesImpl_Default_Size 20
-#endif /* ACEXML_AttributesImpl_Default_Size */
-
-class ACEXML_AttributesImpl;
-
-/**
- * @class ACEXML_Attribute AttributesImpl.h "ACEXML/common/AttributesImpl.h"
- *
- * @brief ACEXML_Attribute defines the data structure of an attribute
- *
- * @sa ACEXML_AttributesImpl
- */
-class ACEXML_Export ACEXML_Attribute
-{
-public:
- friend class ACEXML_AttributesImpl;
-
- /// Default constructor.
- ACEXML_Attribute (void);
-
- /// Copy constructor.
- ACEXML_Attribute (const ACEXML_Attribute &attr);
-
- /// Initialize all constructor.
- ACEXML_Attribute (const ACEXML_Char *uri,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName,
- const ACEXML_Char *type,
- const ACEXML_Char *value);
-
- /// Destructor.
- ~ACEXML_Attribute (void);
-
- /// Set all members.
- void setAttribute (const ACEXML_Char *uri,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName,
- const ACEXML_Char *type,
- const ACEXML_Char *value);
-
- /// Get \a uri_.
- const ACEXML_Char *uri (void) const;
-
- /// Set \a uri_.
- void uri (const ACEXML_Char *uri);
-
- /// Get \a localName_.
- const ACEXML_Char *localName (void) const;
-
- /// Set \a localName_.
- void localName (const ACEXML_Char *localName);
-
- /// Get \a qName_.
- const ACEXML_Char *qName (void) const;
-
- /// Set \a qName_.
- void qName (const ACEXML_Char *qName);
-
- /// Get \a type_.
- const ACEXML_Char *type (void) const;
-
- /// Set \a type_.
- void type (const ACEXML_Char *type);
-
- /// Get \a value_.
- const ACEXML_Char *value (void) const;
-
- /// Set \a value_.
- void value (const ACEXML_Char *value);
-
- /// Assignment operator.
- ACEXML_Attribute &operator= (const ACEXML_Attribute &rhs);
-
- /// Comparison operator.
- int operator!= (const ACEXML_Attribute&rhs) const;
-
-private:
- /// @var uri_ Namespace URI of an attribute
- ACEXML_Char *uri_;
-
- /// @var localName_
- ACEXML_Char *localName_;
- ACEXML_Char *qName_;
- ACEXML_Char *type_;
- ACEXML_Char *value_;
-};
-
-/**
- * @typedef ACE_Array<ACEXML_Attribute> ACEXML_Attribute_Array
- */
-typedef ACE_Array<ACEXML_Attribute> ACEXML_Attribute_Array;
-
-/**
- * @class ACEXML_AttributesImpl AttributesImpl.h "ACEXML/common/AttributesImpl.h"
- *
- * @brief ACEXML_AttributesImpl provides the default implementation
- * of interface ACEXML_Attributes.
- *
- * This class provides a default implementation of the SAX2 Attributes
- * interface, with the addition of manipulators so that the list can
- * be modified or reused.
- *
- * There are two typical uses of this class:
- *
- * - to take a persistent snapshot of an Attributes object in a
- * startElement event; or
- * - to construct or modify an Attributes object in a SAX2 driver or filter.
- *
- * This class replaces the now-deprecated SAX1 AttributeListImpl
- * class; in addition to supporting the updated Attributes interface
- * rather than the deprecated AttributeList interface, it also
- * includes a much more efficient implementation using a single array
- * rather than a set of Vectors.
- *
- * @sa ACEXML_Attributes
- */
-class ACEXML_Export ACEXML_AttributesImpl
- : public ACEXML_Attributes
-{
-public:
- /**
- * Initialize an AttributesImpl that holds <size> attributes.
- */
- ACEXML_AttributesImpl (int size = ACEXML_AttributesImpl_Default_Size);
- ACEXML_AttributesImpl (const ACEXML_AttributesImpl &attrs);
- virtual ~ACEXML_AttributesImpl (void);
-
- /**
- * Add a new attribute using the argument(s) supplied.
- * Return -1 if an attribute with the same name already exists.
- */
- virtual int addAttribute (const ACEXML_Char *uri,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName,
- const ACEXML_Char *type,
- const ACEXML_Char *value);
- virtual int addAttribute (const ACEXML_Attribute &att);
-
- /**
- * Check for duplicate attributes.
- */
- virtual int isDuplicate (const ACEXML_Char *uri,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName);
- /**
- * Remove an attribute from the array. Notice that this
- * operation can invalidate previously acquired <index>
- * value. (It will repack the array.)
- */
- virtual int removeAttribute (size_t index);
-
-
- /**
- * Look up the index of an attribute by XML 1.0 qualified name.
- * Return -1 if we fail to find a match.
- */
- virtual int getIndex (const ACEXML_Char *qName);
-
- /**
- * Look up the index of an attribute by Namespace name.
- * Return -1 if we fail to find a match.
- */
- virtual int getIndex (const ACEXML_Char *uri,
- const ACEXML_Char *localPart);
-
- /**
- * Return the number of attributes in the list.
- */
- virtual size_t getLength (void);
-
- /**
- * Look up an attribute's local name by index.
- * Return 0 if index is out of range.
- */
- virtual const ACEXML_Char *getLocalName (size_t index);
-
- /**
- * Look up an attribute's XML 1.0 qualified name by index.
- * Return 0 if index is out of range.
- */
- virtual const ACEXML_Char *getQName (size_t index);
-
- /**
- * Look up an attribute's type by index.
- * Return 0 if index is out of range.
- */
- virtual const ACEXML_Char *getType (size_t index);
-
- /**
- * Look up an attribute's type by XML 1.0 qualified name.
- * Return 0 if we fail to find a match.
- */
- virtual const ACEXML_Char *getType (const ACEXML_Char *qName);
-
- /**
- * Look up an attribute's type by Namespace name.
- * Return 0 if we fail to find a match.
- */
- virtual const ACEXML_Char *getType (const ACEXML_Char *uri,
- const ACEXML_Char *localPart);
-
- /**
- * Look up an attribute's Namespace URI by index.
- * Return 0 if index is out of range.
- */
- virtual const ACEXML_Char *getURI (size_t index);
-
- /**
- * Look up an attribute's value by index.
- * Return 0 if index is out of range.
- */
- virtual const ACEXML_Char *getValue (size_t index);
-
- /**
- * Look up an attribute's value by XML 1.0 qualified name.
- * Return 0 if we fail to find a match.
- */
- virtual const ACEXML_Char *getValue (const ACEXML_Char *qName);
-
- /**
- * Look up an attribute's value by Namespace name.
- * Return 0 if we fail to find a match.
- */
- virtual const ACEXML_Char *getValue (const ACEXML_Char *uri,
- const ACEXML_Char *localPart);
-
- /**
- * Set an attribute at index. Return -1 if index is out of
- * range.
- */
- virtual int setAttribute (size_t index,
- const ACEXML_Char *uri,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName,
- const ACEXML_Char *type,
- const ACEXML_Char *value);
-
- /**
- * Set the localName of the attribute at <index>.
- * return -1 if <index> is out of range.
- */
- virtual int setLocalName (size_t index,
- const ACEXML_Char *localName);
-
- /**
- * Set the qName of the attribute at <index>.
- * return -1 if <index> is out of range.
- */
- virtual int setQName (size_t index,
- const ACEXML_Char *qName);
-
- /**
- * Set the URI of the attribute at <index>.
- * return -1 if <index> is out of range.
- */
- virtual int setURI (size_t index,
- const ACEXML_Char *uri);
-
- /**
- * Set the type of the attribute at <index>.
- * return -1 if <index> is out of range.
- */
- virtual int setType (size_t index,
- const ACEXML_Char *type);
-
- /**
- * Set the value of the attribute at <index>.
- * return -1 if <index> is out of range.
- */
- virtual int setValue (size_t index,
- const ACEXML_Char *value);
-private:
- /// Container for all attributes.
- ACEXML_Attribute_Array attrs_;
-};
-
-#if defined (__ACEXML_INLINE__)
-# include "ACEXML/common/AttributesImpl.i"
-#endif /* __ACEXML_INLINE__ */
-
-#include "ace/post.h"
-
-#endif /* ACEXML_ATTRIBUTESIMPL_H */
diff --git a/ACEXML/common/AttributesImpl.i b/ACEXML/common/AttributesImpl.i
deleted file mode 100644
index 87a905b3304..00000000000
--- a/ACEXML/common/AttributesImpl.i
+++ /dev/null
@@ -1,151 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ace/ACE.h"
-
-ACEXML_INLINE
-ACEXML_Attribute::ACEXML_Attribute (void)
- : uri_ (0),
- localName_ (0),
- qName_ (0),
- type_ (0),
- value_ (0)
-{
-}
-
-ACEXML_INLINE
-ACEXML_Attribute::ACEXML_Attribute (const ACEXML_Attribute &attr)
- : uri_ (ACE::strnew (attr.uri_)),
- localName_ (ACE::strnew (attr.localName_)),
- qName_ (ACE::strnew (attr.qName_)),
- type_ (ACE::strnew (attr.type_)),
- value_ (ACE::strnew (attr.value_))
-{
-}
-
-ACEXML_INLINE
-ACEXML_Attribute::ACEXML_Attribute (const ACEXML_Char *uri,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName,
- const ACEXML_Char *type,
- const ACEXML_Char *value)
- : uri_ (ACE::strnew (uri)),
- localName_ (ACE::strnew (localName)),
- qName_ (ACE::strnew (qName)),
- type_ (ACE::strnew (type)),
- value_ (ACE::strnew (value))
-{
-}
-
-ACEXML_INLINE
-ACEXML_Attribute::~ACEXML_Attribute (void)
-{
- delete[] this->uri_;
- delete[] this->localName_;
- delete[] this->qName_;
- delete[] this->type_;
- delete[] this->value_;
-}
-
-ACEXML_INLINE const ACEXML_Char *
-ACEXML_Attribute::uri (void) const
-{
- return this->uri_;
-}
-
-ACEXML_INLINE void
-ACEXML_Attribute::uri (const ACEXML_Char *uri)
-{
- delete[] this->uri_;
- this->uri_ = ACE::strnew (uri);
-}
-
-ACEXML_INLINE const ACEXML_Char *
-ACEXML_Attribute::localName (void) const
-{
- return this->localName_;
-}
-
-ACEXML_INLINE void
-ACEXML_Attribute::localName (const ACEXML_Char *localName)
-{
- delete[] this->localName_;
- this->localName_ = ACE::strnew (localName);
-}
-
-ACEXML_INLINE const ACEXML_Char *
-ACEXML_Attribute::qName (void) const
-{
- return this->qName_;
-}
-
-ACEXML_INLINE void
-ACEXML_Attribute::qName (const ACEXML_Char *qName)
-{
- delete[] this->qName_;
- this->qName_ = ACE::strnew (qName);
-}
-
-ACEXML_INLINE const ACEXML_Char *
-ACEXML_Attribute::type (void) const
-{
- return this->type_;
-}
-
-ACEXML_INLINE void
-ACEXML_Attribute::type (const ACEXML_Char *type)
-{
- delete[] this->type_;
- this->type_ = ACE::strnew (type);
-}
-
-ACEXML_INLINE const ACEXML_Char *
-ACEXML_Attribute::value (void) const
-{
- return this->value_;
-}
-
-ACEXML_INLINE void
-ACEXML_Attribute::value (const ACEXML_Char *value)
-{
- delete[] this->value_;
- this->value_ = ACE::strnew (value);
-}
-
-ACEXML_INLINE void
-ACEXML_Attribute::setAttribute (const ACEXML_Char *uri,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName,
- const ACEXML_Char *type,
- const ACEXML_Char *value)
-{
- this->uri (uri);
- this->qName (qName);
- this->localName (localName);
- this->type (type);
- this->value (value);
-}
-
-ACEXML_INLINE ACEXML_Attribute &
-ACEXML_Attribute::operator= (const ACEXML_Attribute &rhs)
-{
- if (this != &rhs) // Check for self assignment
- {
- this->uri (rhs.uri ());
- this->qName (rhs.qName ());
- this->localName (rhs.localName ());
- this->type (rhs.type ());
- this->value (rhs.value ());
- }
- return *this;
-}
-
-ACEXML_INLINE int
-ACEXML_Attribute::operator!= (const ACEXML_Attribute &rhs) const
-{
- return (ACE_OS::strcmp (this->uri_, rhs.uri ()) == 0 &&
- ACE_OS::strcmp (this->localName_, rhs.localName ()) == 0 &&
- ACE_OS::strcmp (this->qName_, rhs .qName ()) == 0 &&
- ACE_OS::strcmp (this->type_, rhs.type ()) == 0 &&
- ACE_OS::strcmp (this->value_, rhs.value ()) == 0 ? 0 : 1);
-
-}
diff --git a/ACEXML/common/Attributes_Def_Builder.cpp b/ACEXML/common/Attributes_Def_Builder.cpp
deleted file mode 100644
index d70a80f2925..00000000000
--- a/ACEXML/common/Attributes_Def_Builder.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-// $Id$
-
-#include "ACEXML/common/Attributes_Def_Builder.h"
-
-ACEXML_Attribute_Def_Builder::~ACEXML_Attribute_Def_Builder ()
-{
-
-}
-
-ACEXML_Attributes_Def_Builder::~ACEXML_Attributes_Def_Builder ()
-{
-
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class auto_ptr<ACEXML_Attribute_Def_Builder>;
-template class auto_ptr<ACEXML_Attributes_Def_Builder>;
-template class ACE_Auto_Basic_Ptr<ACEXML_Attribute_Def_Builder>;
-template class ACE_Auto_Basic_Ptr<ACEXML_Attributes_Def_Builder>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate auto_ptr<ACEXML_Attribute_Def_Builder>
-#pragma instantiate auto_ptr<ACEXML_Attributes_Def_Builder>
-#pragma instantiate ACE_Auto_Basic_Ptr<ACEXML_Attribute_Def_Builder>
-#pragma instantiate ACE_Auto_Basic_Ptr<ACEXML_Attributes_Def_Builder>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/ACEXML/common/Attributes_Def_Builder.h b/ACEXML/common/Attributes_Def_Builder.h
deleted file mode 100644
index 26404fe6d86..00000000000
--- a/ACEXML/common/Attributes_Def_Builder.h
+++ /dev/null
@@ -1,153 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Attributes_Def_Builder.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-#ifndef _ACEXML_ATTRIBUTES_DEF_BUILDER_H_
-#define _ACEXML_ATTRIBUTES_DEF_BUILDER_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/XML_Types.h"
-#include "ACEXML/common/Env.h"
-#include "ACEXML/common/SAXExceptions.h"
-#include "ace/Auto_Ptr.h"
-
-/**
- * @class ACEXML_Attribute_Def_Builder Attributes_Def_Builder.h "common/Attributes_Def_Builder.h"
- *
- * @brief An abstract virtual class defining an interface for building an
- * attribute definition from DTD.
- *
- * This class should be invisible to application programmers and is only
- * used for validator implementors.
- */
-class ACEXML_Export ACEXML_Attribute_Def_Builder
-{
-public:
-
- typedef auto_ptr<ACEXML_Attribute_Def_Builder> VAR;
-
- typedef enum {
- CDATA,
- ID,
- IDREF,
- IDREFS,
- ENTITY,
- ENTITIES,
- NMTOKEN,
- NMTOKENS,
- NOTATION,
- ENUMERATION,
- ERROR_TYPE
- } ATT_TYPE;
-
- typedef enum {
- REQUIRED,
- IMPLIED,
- FIXED,
- INVALID
- } DEFAULT_DECL;
-
- virtual ~ACEXML_Attribute_Def_Builder () = 0;
-
- /**
- * Specify the name of the attribute.
- */
- virtual int setName (const ACEXML_Char *n) = 0;
-
- /**
- * Get the name of the attribute.
- */
- virtual const ACEXML_Char *getName (void) = 0;
-
- /**
- * Set the attribute type.
- */
- virtual int setAttType (const ATT_TYPE type ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Insert an element for NOTATION or ENUMERATION type attribute.
- */
- virtual int insertList (const ACEXML_Char *Name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Set default attribute declaration.
- */
- virtual int setDefault (const DEFAULT_DECL def,
- const ACEXML_Char *value ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Check validity of the current attribute definition being built.
- *
- * @retval 0 if the attribute is not a valid combo.
- */
- virtual int validAttr (void) = 0;
-
- /**
- * Dump the content of the attribute definition.
- */
- virtual void dump (void) = 0;
-};
-
-/**
- * @ class ACEXML_Attributes_Def_Builder Attributes_Def_Builder.h "common/Attributes_Def_Builder.h"
- *
- * @ brief An abstract virtual class defining an interface for building
- * attribute definitions from DTD.
- *
- * This class should be invisible to application programmers and
- * is only used for validator implementors.
- */
-class ACEXML_Export ACEXML_Attributes_Def_Builder
-{
-public:
-
- typedef auto_ptr<ACEXML_Attributes_Def_Builder> VAR;
-
- virtual ~ACEXML_Attributes_Def_Builder () = 0;
-
- /**
- * Set the element name that the attribute builder applies.
- *
- * @retval 0 if valid, -1 otherwise.
- */
- virtual int setElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Acquire an Attribute_Builder.
- */
- virtual ACEXML_Attribute_Def_Builder *getAttribute_Def_Builder () = 0;
-
- /**
- * Add a definition for one attribute.
- */
- virtual int insertAttribute (ACEXML_Attribute_Def_Builder *def ACEXML_ENV_ARG_DECL) = 0;
-
-
- /**
- * Dump the content of the attribute definition.
- */
- virtual void dump (void) = 0;
-};
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_ATTRIBUTES_DEF_BUILDER_H_ */
diff --git a/ACEXML/common/CharStream.cpp b/ACEXML/common/CharStream.cpp
deleted file mode 100644
index 2c6ea29600f..00000000000
--- a/ACEXML/common/CharStream.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ACEXML/common/CharStream.h"
-
-ACEXML_CharStream::~ACEXML_CharStream (void)
-{
-}
diff --git a/ACEXML/common/CharStream.h b/ACEXML/common/CharStream.h
deleted file mode 100644
index 1b5c199f527..00000000000
--- a/ACEXML/common/CharStream.h
+++ /dev/null
@@ -1,79 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file CharStream.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef _ACEXML_CHARSTREAM_H_
-#define _ACEXML_CHARSTREAM_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "ACEXML/common/XML_Types.h"
-
-/**
- * @class ACEXML_CharStream CharStream.h "ACEXML/common/CharStream.h"
- *
- * ACEXML_CharStream is an abstract class (interface) which defines the
- * basic opertions a parser could use to retrieve XML charater sequence.
- * The sequence can be read from a file or a character buffer.
- */
-class ACEXML_Export ACEXML_CharStream
-{
-public:
-
- /**
- * Virtual destructor, must have.
- */
- virtual ~ACEXML_CharStream () = 0;
-
- /**
- * Returns the available ACEXML_Char in the buffer. -1
- * if the object is not initialized properly.
- */
- virtual int available (void) = 0;
-
- /**
- * Close this stream and release all resources used by it.
- */
- virtual int close (void) = 0;
-
- /**
- * Read the next ACEXML_Char. Return -1 if we are not able to
- * return an ACEXML_Char, 0 if EOS is reached, or 1 if succeed.
- */
- virtual int get (ACEXML_Char& ch) = 0;
-
- /**
- * Read the next batch of ACEXML_Char strings
- */
- virtual int read (ACEXML_Char *str,
- size_t len) = 0;
-
- /**
- * Peek the next ACEXML_Char in the CharStream. Return the
- * character if succeess, -1 if EOS is reached.
- */
- virtual int peek (void) = 0;
-
- /*
- * Get the character encoding for a byte stream or URI.
- */
- virtual const ACEXML_Char *getEncoding (void) = 0;
-
-};
-
-#include "ace/post.h"
-
-
-#endif /* _ACEXML_CHARSTREAM_H_ */
diff --git a/ACEXML/common/ContentHandler.h b/ACEXML/common/ContentHandler.h
deleted file mode 100644
index ee0a237cc82..00000000000
--- a/ACEXML/common/ContentHandler.h
+++ /dev/null
@@ -1,128 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file ContentHandler.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-#ifndef _ACEXML_CONTENTHANDLER_H_
-#define _ACEXML_CONTENTHANDLER_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/Env.h"
-#include "ACEXML/common/SAXExceptions.h"
-#include "ACEXML/common/Locator.h"
-#include "ACEXML/common/Attributes.h"
-
-/**
- * @class ACEXML_ContentHandler ContentHandler.h "ACEXML/common/ContentHandler.h"
- *
- * @brief ACEXML_ContentHandler
- *
- * This is the main interface that most SAX applications implement: if the
- * application needs to be informed of basic parsing events, it implements
- * this interface and registers an instance with the SAX parser using the
- * setContentHandler method. The parser uses the instance to report basic
- * document-related events like the start and end of elements and character
- * data.
- *
- * The order of events in this interface is very important, and mirrors the
- * order of information in the document itself. For example, all of an
- * element's content (character data, processing instructions, and/or
- * subelements) will appear, in order, between the startElement event and
- * the corresponding endElement event.
- */
-class ACEXML_Export ACEXML_ContentHandler
-{
-public:
- /**
- * Receive notification of character data.
- */
- virtual void characters (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Receive notification of the end of a document.
- */
- virtual void endDocument (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Receive notification of the end of an element.
- */
- virtual void endElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * End the scope of a prefix-URI mapping.
- */
- virtual void endPrefixMapping (const ACEXML_Char *prefix ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Receive notification of ignorable whitespace in element content.
- */
- virtual void ignorableWhitespace (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Receive notification of a processing instruction.
- */
- virtual void processingInstruction (const ACEXML_Char *target,
- const ACEXML_Char *data ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Receive an object for locating the origin of SAX document events.
- */
- virtual void setDocumentLocator (ACEXML_Locator *locator) = 0;
-
- /**
- * Receive notification of a skipped entity.
- */
- virtual void skippedEntity (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Receive notification of the beginning of a document.
- */
- virtual void startDocument (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Receive notification of the beginning of an element.
- */
- virtual void startElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName,
- ACEXML_Attributes *atts ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Begin the scope of a prefix-URI Namespace mapping.
- */
- virtual void startPrefixMapping (const ACEXML_Char *prefix,
- const ACEXML_Char *uri ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-};
-
-#include "ace/post.h"
-
-
-#endif /* _ACEXML_CONTENTHANDLER_H_ */
diff --git a/ACEXML/common/DTDHandler.h b/ACEXML/common/DTDHandler.h
deleted file mode 100644
index 3e9e59f086e..00000000000
--- a/ACEXML/common/DTDHandler.h
+++ /dev/null
@@ -1,75 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file DTDHandler.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-#ifndef _ACEXML_DTDHANDLER_H_
-#define _ACEXML_DTDHANDLER_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/Env.h"
-#include "ACEXML/common/SAXExceptions.h"
-
-/**
- * @class ACEXML_DTDHandler DTDHandler.h "ACEXML/common/DTDHandler.h"
- *
- * @brief ACEXML_DTDHandler
- *
- * If a SAX application needs information about notations and unparsed
- * entities, then the application implements this interface and registers
- * an instance with the SAX parser using the parser's setDTDHandler method.
- * The parser uses the instance to report notation and unparsed entity
- * declarations to the application.
- *
- * Note that this interface includes only those DTD events that the XML
- * recommendation requires processors to report: notation and unparsed
- * entity declarations.
- *
- * The SAX parser may report these events in any order, regardless of the
- * order in which the notations and unparsed entities were declared;
- * however, all DTD events must be reported after the document handler's
- * startDocument event, and before the first startElement event.
- *
- * It is up to the application to store the information for future use
- * (perhaps in a hash table or object tree). If the application encounters
- * attributes of type "NOTATION", "ENTITY", or "ENTITIES", it can use the
- * information that it obtained through this interface to find the entity
- * and/or notation corresponding with the attribute value.
- */
-class ACEXML_Export ACEXML_DTDHandler
-{
-public:
- /**
- * Receive notification of a notation declaration event.
- */
- virtual void notationDecl (const ACEXML_Char *name,
- const ACEXML_Char *publicId,
- const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Receive notification of an unparsed entity declaration event.
- */
- virtual void unparsedEntityDecl (const ACEXML_Char *name,
- const ACEXML_Char *publicId,
- const ACEXML_Char *systemId,
- const ACEXML_Char *notationName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-};
-
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_DTDHANDLER_H_ */
diff --git a/ACEXML/common/DTD_Manager.cpp b/ACEXML/common/DTD_Manager.cpp
deleted file mode 100644
index 39b3d2acef0..00000000000
--- a/ACEXML/common/DTD_Manager.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-// $Id$
-
-#include "ACEXML/common/DTD_Manager.h"
-
-ACEXML_DTD_Manager::~ACEXML_DTD_Manager ()
-{
-
-}
diff --git a/ACEXML/common/DTD_Manager.h b/ACEXML/common/DTD_Manager.h
deleted file mode 100644
index 541efc5f8ca..00000000000
--- a/ACEXML/common/DTD_Manager.h
+++ /dev/null
@@ -1,82 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file DTD_Manager.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-#ifndef _ACEXML_DTD_Manager_H_
-#define _ACEXML_DTD_Manager_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/Attributes_Def_Builder.h"
-#include "ACEXML/common/Element_Def_Builder.h"
-#include "ACEXML/common/Validator.h"
-
-/**
- * @class ACEXML_DTD_Manager DTD_Manager.h "common/DTD_Manager.h"
- *
- * @todo Fill in the blank.
- */
-class ACEXML_Export ACEXML_DTD_Manager
-{
-public:
- virtual ~ACEXML_DTD_Manager () = 0;
-
- /**
- * Acquire a pointer to an element definition builder.
- * The XML parser use this interface to acquire the
- * definition builder and use the builder to create
- * the DTD element definition. The resulting builder
- * is then registered with the DTD Manager or destroyed
- * if error occured when the builder encountered errors.
- *
- * @retval 0 if error occurs creating the builder.
- */
- virtual ACEXML_Element_Def_Builder *getElement_Def_Builder () = 0;
-
- /**
- * Insert a new element definition into the DTD Manager.
- *
- * @retval 0 if success, -1 if error.
- */
- virtual int insertElement_Definition (ACEXML_Element_Def_Builder *def ACEXML_ENV_ARG_DECL) = 0;
-
- /**
- * Acquire a pointer to an attributes definition builder.
- *
- */
- virtual ACEXML_Attributes_Def_Builder *getAttribute_Def_Builder () = 0;
-
- /**
- * Insert a new attributes definition into the DTD Manager.
- *
- * @retval 0 if success, -1 otherwise.
- */
- virtual int insertAttributes_Definition (ACEXML_Attributes_Def_Builder *def ACEXML_ENV_ARG_DECL) = 0;
-
- /**
- * Acquire an element validator to validate an XML element.
- *
- * @todo I haven't figured out what memory management scheme
- * we should use for the acquired validator.
- */
- virtual ACEXML_Validator *getValidator (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL) = 0;
-};
-
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_DTD_Manager_H_ */
diff --git a/ACEXML/common/DefaultHandler.cpp b/ACEXML/common/DefaultHandler.cpp
deleted file mode 100644
index f96e29d3cf3..00000000000
--- a/ACEXML/common/DefaultHandler.cpp
+++ /dev/null
@@ -1,162 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ACEXML/common/DefaultHandler.h"
-#if !defined (__ACEXML_INLINE__)
-# include "ACEXML/common/DefaultHandler.i"
-#endif /* __ACEXML_INLINE__ */
-
-ACEXML_DefaultHandler::ACEXML_DefaultHandler (void)
-{
- // no-op
-}
-
-ACEXML_DefaultHandler::~ACEXML_DefaultHandler (void)
-{
- // no-op
-}
-
-void
-ACEXML_DefaultHandler::characters (const ACEXML_Char *,
- int,
- int
- ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-void
-ACEXML_DefaultHandler::endDocument (ACEXML_ENV_SINGLE_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-void
-ACEXML_DefaultHandler::endElement (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-void
-ACEXML_DefaultHandler::endPrefixMapping (const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-void
-ACEXML_DefaultHandler::ignorableWhitespace (const ACEXML_Char *,
- int,
- int ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-void
-ACEXML_DefaultHandler::processingInstruction (const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-void
-ACEXML_DefaultHandler::setDocumentLocator (ACEXML_Locator * )
-{
- // No-op.
-}
-
-void
-ACEXML_DefaultHandler::skippedEntity (const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-void
-ACEXML_DefaultHandler::startDocument (ACEXML_ENV_SINGLE_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-void
-ACEXML_DefaultHandler::startElement (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char *,
- ACEXML_Attributes * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-void
-ACEXML_DefaultHandler::startPrefixMapping (const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
- // *** Methods inherit from ACEXML_DTDHandler.
-
-void
-ACEXML_DefaultHandler::notationDecl (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-void
-ACEXML_DefaultHandler::unparsedEntityDecl (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
- // Methods inherit from ACEXML_EnitityResolver.
-
-ACEXML_InputSource *
-ACEXML_DefaultHandler::resolveEntity (const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
- return 0;
-}
-
- // Methods inherit from ACEXML_ErrorHandler.
-
- /*
- * Receive notification of a recoverable error.
- */
-void
-ACEXML_DefaultHandler::error (ACEXML_SAXParseException & ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-void
-ACEXML_DefaultHandler::fatalError (ACEXML_SAXParseException & ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-void
-ACEXML_DefaultHandler::warning (ACEXML_SAXParseException & ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
diff --git a/ACEXML/common/DefaultHandler.h b/ACEXML/common/DefaultHandler.h
deleted file mode 100644
index 6b33800b57c..00000000000
--- a/ACEXML/common/DefaultHandler.h
+++ /dev/null
@@ -1,195 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file DefaultHandler.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-#ifndef ACEXML_DEFAULTHANDLER_H
-#define ACEXML_DEFAULTHANDLER_H
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/ContentHandler.h"
-#include "ACEXML/common/DTDHandler.h"
-#include "ACEXML/common/EntityResolver.h"
-#include "ACEXML/common/ErrorHandler.h"
-
-/**
- * @class ACEXML_DefaultHandler DefaultHandler.h "ACEXML/common/DefaultHandler.h"
- *
- * @brief ACEXML_DefaultHandler
- *
- * This class is available as a convenience base class for SAX2
- * applications: it provides default implementations for all of the
- * callbacks in the four core SAX2 handler classes:
- *
- * - EntityResolver
- * - DTDHandler
- * - ContentHandler
- * - ErrorHandler
- *
- * Application writers can extend this class when they need to implement
- * only part of an interface; parser writers can instantiate this class to
- * provide default handlers when the application has not supplied its own.
- */
-class ACEXML_Export ACEXML_DefaultHandler
- : public ACEXML_ContentHandler,
- public ACEXML_DTDHandler,
- public ACEXML_EntityResolver,
- public ACEXML_ErrorHandler
-{
-public:
- /**
- * Default constructor.
- */
- ACEXML_DefaultHandler (void);
-
- /**
- * destructor.
- */
- virtual ~ACEXML_DefaultHandler (void);
-
- // Methods inherit from ACEXML_ContentHandler.
-
- /*
- * Receive notification of character data.
- */
- virtual void characters (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Receive notification of the end of a document.
- */
- virtual void endDocument (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Receive notification of the end of an element.
- */
- virtual void endElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * End the scope of a prefix-URI mapping.
- */
- virtual void endPrefixMapping (const ACEXML_Char *prefix ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Receive notification of ignorable whitespace in element content.
- */
- virtual void ignorableWhitespace (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Receive notification of a processing instruction.
- */
- virtual void processingInstruction (const ACEXML_Char *target,
- const ACEXML_Char *data ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Receive an object for locating the origin of SAX document events.
- */
- virtual void setDocumentLocator (ACEXML_Locator *locator) ;
-
- /*
- * Receive notification of a skipped entity.
- */
- virtual void skippedEntity (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Receive notification of the beginning of a document.
- */
- virtual void startDocument (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Receive notification of the beginning of an element.
- */
- virtual void startElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName,
- ACEXML_Attributes *atts ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Begin the scope of a prefix-URI Namespace mapping.
- */
- virtual void startPrefixMapping (const ACEXML_Char *prefix,
- const ACEXML_Char *uri ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- // *** Methods inherit from ACEXML_DTDHandler.
-
- /*
- * Receive notification of a notation declaration event.
- */
- virtual void notationDecl (const ACEXML_Char *name,
- const ACEXML_Char *publicId,
- const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Receive notification of an unparsed entity declaration event.
- */
- virtual void unparsedEntityDecl (const ACEXML_Char *name,
- const ACEXML_Char *publicId,
- const ACEXML_Char *systemId,
- const ACEXML_Char *notationName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- // Methods inherit from ACEXML_EnitityResolver.
-
- /*
- * Allow the application to resolve external entities.
- */
- virtual ACEXML_InputSource *resolveEntity (const ACEXML_Char *publicId,
- const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- // Methods inherit from ACEXML_ErrorHandler.
-
- /*
- * Receive notification of a recoverable error.
- */
- virtual void error (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Receive notification of a non-recoverable error.
- */
- virtual void fatalError (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Receive notification of a warning.
- */
- virtual void warning (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-};
-
-#if defined (__ACEXML_INLINE__)
-# include "ACEXML/common/DefaultHandler.i"
-#endif /* __ACEXML_INLINE__ */
-
-#include "ace/post.h"
-
-#endif /* ACEXML_DEFAULTHANDLER_H */
diff --git a/ACEXML/common/DefaultHandler.i b/ACEXML/common/DefaultHandler.i
deleted file mode 100644
index 77b4466a3cb..00000000000
--- a/ACEXML/common/DefaultHandler.i
+++ /dev/null
@@ -1 +0,0 @@
-// -*- C++ -*- $Id$
diff --git a/ACEXML/common/Element_Def_Builder.cpp b/ACEXML/common/Element_Def_Builder.cpp
deleted file mode 100644
index 15be5e0feca..00000000000
--- a/ACEXML/common/Element_Def_Builder.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-// $Id$
-
-#include "ACEXML/common/Element_Def_Builder.h"
-
-ACEXML_Element_Def_Builder::~ACEXML_Element_Def_Builder ()
-{
-
-}
-
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class auto_ptr<ACEXML_Element_Def_Builder>;
-template class ACE_Auto_Basic_Ptr<ACEXML_Element_Def_Builder>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate auto_ptr<ACEXML_Element_Def_Builder>
-#pragma instantiate ACE_Auto_Basic_Ptr<ACEXML_Element_Def_Builder>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/ACEXML/common/Element_Def_Builder.h b/ACEXML/common/Element_Def_Builder.h
deleted file mode 100644
index ea105c10c1c..00000000000
--- a/ACEXML/common/Element_Def_Builder.h
+++ /dev/null
@@ -1,133 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Element_Def_Builder.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-#ifndef _ACEXML_ELEMENT_DEF_BUILDER_H_
-#define _ACEXML_ELEMENT_DEF_BUILDER_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "ace/Auto_Ptr.h"
-#include "ACEXML/common/XML_Types.h"
-#include "ACEXML/common/Env.h"
-#include "ACEXML/common/SAXExceptions.h"
-
-/**
- * @class ACEXML_Element_Def_Builder Element_Def_Builder.h "common/Element_Def_Builder.h"
- *
- * @brief An abstract virtual class that defines the interface to define an
- * element definition.
- *
- * This class defines how to define an element definition after parsing a
- * DTD.
- */
-class ACEXML_Export ACEXML_Element_Def_Builder
-{
-public:
-
- typedef auto_ptr<ACEXML_Element_Def_Builder> VAR;
-
- typedef enum {
- EMPTY,
- ANY,
- MIXED,
- CHILDREN,
- UNDEFINED
- } CONTENT_TYPE;
-
- typedef enum {
- ONE,
- ZERO_OR_MORE,
- ONE_OR_MORE,
- ONE_OR_ZERO
- } CARDINALITY;
-
- virtual ~ACEXML_Element_Def_Builder () = 0;
-
- /**
- * Define the name of the element.
- *
- * @retval 0 if valid, -1 otherwise.
- */
- virtual int setElementName (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Define the content type of the element.
- *
- * @retval 0 if valid, -1 otherwise.
- */
- virtual int setContentType (CONTENT_TYPE type ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Insert one more element into Mixed definition.
- */
- virtual int insertMixedElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Start a new group of children.
- */
- virtual int startChildGroup () = 0;
-
- /**
- * End a new group of children.
- *
- * @retval 0 on success.
- */
- virtual int endChildGroup (CARDINALITY card ACEXML_ENV_ARG_DECL) = 0;
-
- /**
- * Set the type of current child group to Choice.
- *
- * @retval 0 on success, -1 if the type of the child group has
- * already been set and this action conflicts with the previous
- * setting.
- */
- virtual int setChoice () = 0;
-
- /**
- * Set the type of current child group to Sequence.
- *
- * @retval 0 on success, -1 if the type of the child group has
- * already been set and this action conflicts with the previous
- * setting.
- */
- virtual int setSequence () = 0;
-
- /**
- * Insert an new element into the current child group.
- *
- * @retval 0 on success, -1 otherwise.
- */
- virtual int insertElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Dump the content of the attribute definition.
- */
- virtual void dump (void) = 0;
-};
-
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_ELEMENT_DEF_BUILDER_H_ */
diff --git a/ACEXML/common/Encoding.cpp b/ACEXML/common/Encoding.cpp
deleted file mode 100644
index 7fe8811cdbd..00000000000
--- a/ACEXML/common/Encoding.cpp
+++ /dev/null
@@ -1,53 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ACEXML/common/Encoding.h"
-
-const ACEXML_Char* ACEXML_Encoding::encoding_names_[8] = {
- ACE_TEXT ("UCS-4BE"),
- ACE_TEXT ("UCS-4LE"),
- ACE_TEXT ("UCS-4_2143"),
- ACE_TEXT ("UCS-4_3412"),
- ACE_TEXT ("UTF-16BE"),
- ACE_TEXT ("UTF-16LE"),
- ACE_TEXT ("UTF-8"),
- ACE_TEXT ("Unsupported Encoding")
-};
-
-const ACEXML_UTF8 ACEXML_Encoding::byte_order_mark_[][4] = {
- { '\x00', '\x00', '\xFE', '\xFF' }, // UCS-4, big-endian (1234 order)
- { '\xFF', '\xFE', '\x00', '\x00' }, // UCS-4, little-endian (4321 order)
- { '\x00', '\x00', '\xFF', '\xFE' }, // UCS-4, unusual octet order (2143)
- { '\xFE', '\xFF', '\x00', '\x00' }, // UCS-4, unusual octet order (3412)
- { '\xFE', '\xFF', '\xFF', '\xFF' }, // UTF-16, big-endian (3 & 4 ignored)
- { '\xFF', '\xFE', '\xFF', '\xFF' }, // UTF-16, little-endian ( 3 & 4 ignored)
- { '\xEF', '\xBB', '\xBF', '\xFF' } // UTF-8
-};
-
-const ACEXML_UTF8 ACEXML_Encoding::magic_values_[][4] = {
- { '\x00', '\x00', '\x00', '\x3c' }, //
- { '\x3c', '\x00', '\x00', '\x00' }, // UCS-4 and variants
- { '\x00', '\x00', '\x3c', '\x00' }, //
- { '\x00', '\x3c', '\x00', '\x00' }, //
- { '\x00', '\x3c', '\x00', '\x3f' }, // UTF-16BE
- { '\x3c', '\x00', '\x3f', '\x00' }, // UTF-16LE
- { '\x3c', '\x3f', '\x78', '\x6d' }, // UTF-8
-};
-
-const ACEXML_Char*
-ACEXML_Encoding::get_encoding (const char* input)
-{
- if (ACE_OS::memcmp (&ACEXML_Encoding::byte_order_mark_[ACEXML_Encoding::UTF16BE][0], input, 2) == 0)
- return ACEXML_Encoding::encoding_names_[ACEXML_Encoding::UTF16BE];
- else if (ACE_OS::memcmp (&ACEXML_Encoding::byte_order_mark_[ACEXML_Encoding::UTF16LE][0], input, 2) == 0)
- return ACEXML_Encoding::encoding_names_[ACEXML_Encoding::UTF16LE];
- else if (ACE_OS::memcmp (&ACEXML_Encoding::byte_order_mark_[ACEXML_Encoding::UTF8][0], input, 4) == 0)
- return ACEXML_Encoding::encoding_names_[ACEXML_Encoding::UTF8];
- else if (ACE_OS::memcmp (&ACEXML_Encoding::magic_values_[ACEXML_Encoding::UTF16BE][0], input, 4) == 0)
- return ACEXML_Encoding::encoding_names_[ACEXML_Encoding::UTF16BE];
- else if (ACE_OS::memcmp (&ACEXML_Encoding::magic_values_[ACEXML_Encoding::UTF16LE][0], input, 4) == 0)
- return ACEXML_Encoding::encoding_names_[ACEXML_Encoding::UTF16LE];
- else if (ACE_OS::memcmp (&ACEXML_Encoding::magic_values_[ACEXML_Encoding::UTF8][0], input, 4) == 0)
- return ACEXML_Encoding::encoding_names_[ACEXML_Encoding::UTF8];
- else
- return ACEXML_Encoding::encoding_names_[ACEXML_Encoding::OTHER];
-}
diff --git a/ACEXML/common/Encoding.h b/ACEXML/common/Encoding.h
deleted file mode 100644
index fc0917c0b91..00000000000
--- a/ACEXML/common/Encoding.h
+++ /dev/null
@@ -1,61 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Encoding.h
- *
- * This file provides utility functions to determine the encoding of a file
- * or a byte stream automatically.
- *
- * $Id$
- *
- * @author Krishnakumar B <kitty@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef _ACEXML_ENCODING_H
-#define _ACEXML_ENCODING_H
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/XML_Types.h"
-
-/**
- * @class ACEXML_Encoding Encoding.h "ACEXML/common/Encoding.h"
- *
- * @brief ACEXML_Encoding
- *
- * Wrapper class for determining the encoding of a file or a byte stream.
- */
-class ACEXML_Export ACEXML_Encoding
-{
-public:
- enum {
- UCS4BE = 0,
- UCS4LE = 1,
- UCS4_2143 = 2,
- UCS4_3412 = 3,
- UTF16BE = 4,
- UTF16LE = 5,
- UTF8 = 6,
- OTHER = 7
- } ENCODING;
-
- static const ACEXML_Char* encoding_names_[8];
-
- static const ACEXML_UTF8 byte_order_mark_[][4];
-
- static const ACEXML_UTF8 magic_values_[][4];
-
- static const ACEXML_Char* get_encoding (const char* input);
-
-};
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_ENCODING_H */
diff --git a/ACEXML/common/EntityResolver.h b/ACEXML/common/EntityResolver.h
deleted file mode 100644
index cd43b31db41..00000000000
--- a/ACEXML/common/EntityResolver.h
+++ /dev/null
@@ -1,57 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file EntityResolver.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-#ifndef _ACEXML_ENTITYHANDLER_H_
-#define _ACEXML_ENTITYHANDLER_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/Env.h"
-#include "ACEXML/common/InputSource.h"
-
-/**
- * @class ACEXML_EntityResolver EntityResolver.h "ACEXML/common/EntityResolver.h"
- *
- * @brief ACEXML_EntityResolver
- *
- * If a SAX application needs to implement customized handling for
- * external entities, it must implement this interface and register an
- * instance with the SAX driver using the setEntityResolver method.
- *
- * The XML reader will then allow the application to intercept any
- * external entities (including the external DTD subset and external
- * parameter entities, if any) before including them.
- *
- * Many SAX applications will not need to implement this interface,
- * but it will be especially useful for applications that build XML
- * documents from databases or other specialised input sources, or for
- * applications that use URI types other than URLs.
- */
-class ACEXML_Export ACEXML_EntityResolver
-{
-public:
- /**
- * Allow the application to resolve external entities.
- */
- virtual ACEXML_InputSource *resolveEntity (const ACEXML_Char *publicId,
- const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-};
-
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_ENTITYHANDLER_H_ */
diff --git a/ACEXML/common/Env.cpp b/ACEXML/common/Env.cpp
deleted file mode 100644
index 6d1ce2158d6..00000000000
--- a/ACEXML/common/Env.cpp
+++ /dev/null
@@ -1,34 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ACEXML/common/Env.h"
-
-#if !defined (__ACEXML_INLINE__)
-# include "ACEXML/common/Env.i"
-#endif /* __ACEXML_INLINE__ */
-
-ACEXML_Env::ACEXML_Env (void)
- : exception_ (0)
-{
-}
-
-ACEXML_Env::ACEXML_Env (const ACEXML_Env &rhs)
- : exception_ (0)
-{
- if (rhs.exception())
- this->exception_ = rhs.exception_->duplicate();
-}
-
-ACEXML_Env&
-ACEXML_Env::operator= (const ACEXML_Env& rhs)
-{
- ACEXML_Env tmp (rhs);
- ACEXML_Exception* tmp_ex = this->exception_;
- this->exception_ = tmp.exception_;
- tmp.exception_ = tmp_ex;
- return *this;
-}
-
-ACEXML_Env::~ACEXML_Env (void)
-{
- this->clear();
-}
diff --git a/ACEXML/common/Env.h b/ACEXML/common/Env.h
deleted file mode 100644
index 8e6c7ee9641..00000000000
--- a/ACEXML/common/Env.h
+++ /dev/null
@@ -1,72 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Env.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef _ACEXML_ENV_H_
-#define _ACEXML_ENV_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/XML_Macros.h"
-#include "ACEXML/common/Exception.h"
-
-/**
- * @class ACEXML_Env Env.h "ACEXML/common/Env.h"
- *
- * @brief ACEXML_Env
- *
- * ACEXML_Env is modeled after CORBA_Environment class. It provides a place
- * holder for callees to propagate exceptions back to callers. ACEXML does
- * not support native exceptions at this moment.
- *
- * @sa ACEXML_Exception
- */
-class ACEXML_Export ACEXML_Env
-{
-public:
- /// Default constructor.
- ACEXML_Env (void);
-
- /// Copy constructor.
- ACEXML_Env (const ACEXML_Env& ACEXML_TRY_ENV);
-
- /// Assignment
- ACEXML_Env& operator= (const ACEXML_Env& ACEXML_TRY_ENV);
-
- /// Destructor.
- ~ACEXML_Env (void);
-
- /// Return the contained exception.
- ACEXML_Exception *exception (void) const;
-
- /// Set the contained exception to @arg ex
- void exception (ACEXML_Exception* ex);
-
- /// Clear the exception and reset the evnrionment.
- void clear (void);
-
-private:
- /// Place holder for exception (if one occurs.)
- ACEXML_Exception *exception_;
-};
-
-#if defined (__ACEXML_INLINE__)
-# include "ACEXML/common/Env.i"
-#endif /* __ACEXML_INLINE__ */
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_ENV_H_ */
diff --git a/ACEXML/common/Env.i b/ACEXML/common/Env.i
deleted file mode 100644
index 95c3f41c8aa..00000000000
--- a/ACEXML/common/Env.i
+++ /dev/null
@@ -1,25 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ace/Log_Msg.h" /* to get ACE_ASSERT */
-#include "ACEXML/common/Exception.h"
-
-ACEXML_INLINE ACEXML_Exception *
-ACEXML_Env::exception (void) const
-{
- return this->exception_;
-}
-
-ACEXML_INLINE void
-ACEXML_Env::exception (ACEXML_Exception *ex)
-{
- ACE_ASSERT (ex != this->exception_);
- this->clear();
- this->exception_ = ex;
-}
-
-ACEXML_INLINE void
-ACEXML_Env::clear (void)
-{
- delete this->exception_;
- this->exception_ = 0;
-}
diff --git a/ACEXML/common/ErrorHandler.h b/ACEXML/common/ErrorHandler.h
deleted file mode 100644
index 00d793841db..00000000000
--- a/ACEXML/common/ErrorHandler.h
+++ /dev/null
@@ -1,72 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file ErrorHandler.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-#ifndef _ACEXML_ERRORHANDLER_H_
-#define _ACEXML_ERRORHANDLER_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/Env.h"
-#include "ACEXML/common/SAXExceptions.h"
-
-/**
- * @class ACEXML_ErrorHandler ErrorHandler.h "ACEXML/common/ErrorHandler.h"
- *
- * @brief ACEXML_ErrorHandler
- *
- * If a SAX application needs to implement customized error handling,
- * it must implement this interface and then register an instance with
- * the XML reader using the setErrorHandler method. The parser will
- * then report all errors and warnings through this interface.
- *
- * @b WARNING: If an application does not register an ErrorHandler,
- * XML parsing errors will go unreported and bizarre behaviour may
- * result.
- *
- * For XML processing errors, a SAX driver must use this interface
- * instead of throwing an exception: it is up to the application to
- * decide whether to throw an exception for different types of errors
- * and warnings. Note, however, that there is no requirement that the
- * parser continue to provide useful information after a call to
- * fatalError (in other words, a SAX driver class could catch an
- * exception and report a fatalError).
- */
-class ACEXML_Export ACEXML_ErrorHandler
-{
-public:
- /**
- * Receive notification of a recoverable error.
- */
- virtual void error (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Receive notification of a non-recoverable error.
- */
- virtual void fatalError (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Receive notification of a warning.
- */
- virtual void warning (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-};
-
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_ERRORHANDLER_H_ */
diff --git a/ACEXML/common/Exception.cpp b/ACEXML/common/Exception.cpp
deleted file mode 100644
index 3086a8a7bfb..00000000000
--- a/ACEXML/common/Exception.cpp
+++ /dev/null
@@ -1,51 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ACEXML/common/Exception.h"
-#include "ace/Log_Msg.h"
-#include "ace/ACE.h"
-
-static const ACEXML_Char ACEXML_Exception_name[] = {
- 'A', 'C', 'E', 'X', 'M', 'L',
- '_', 'E', 'x', 'c', 'e', 'p',
- 't', 'i', 'o', 'n', 0};
-const ACEXML_Char *ACEXML_Exception::exception_name_ = ACEXML_Exception_name;
-
-static const ACEXML_Char ACEXML_Exception_null [] = {0};
-const ACEXML_Char *ACEXML_Exception::null_ = ACEXML_Exception_null;
-
-#if !defined (__ACEXML_INLINE__)
-# include "ACEXML/common/Exception.i"
-#endif /* __ACEXML_INLINE__ */
-
-ACEXML_Exception::ACEXML_Exception (void)
-{
-}
-
-ACEXML_Exception::ACEXML_Exception (const ACEXML_Exception &)
-{
-}
-
-
-ACEXML_Exception::~ACEXML_Exception (void)
-{
-
-}
-
-int
-ACEXML_Exception::is_a (const ACEXML_Char *name)
-{
- if (name == ACEXML_Exception::exception_name_
- || ACE_OS::strcmp (ACEXML_Exception::exception_name_,
- name) == 0)
- return 1;
-
- return 0;
-}
-
-void
-ACEXML_Exception::print (void)
-{
- ACE_DEBUG ((LM_ERROR,
- ACE_TEXT ("ACEXML: (%P|%t) EXCEPTION : %s\n"),
- this->exception_name_));
-}
diff --git a/ACEXML/common/Exception.h b/ACEXML/common/Exception.h
deleted file mode 100644
index e09f513a68b..00000000000
--- a/ACEXML/common/Exception.h
+++ /dev/null
@@ -1,93 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Exception.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef _ACEXML_EXCEPTION_H_
-#define _ACEXML_EXCEPTION_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/XML_Types.h"
-#include "ACEXML/common/XML_Macros.h"
-
-#if defined (ACE_USES_NATIVE_EXCEPTIONS)
-# define ACEXML_RAISE(EXCEPTION) throw EXCEPTION
-#else
-# define ACEXML_RAISE(EXCEPTION)
-#endif
-
-
-/**
- * @class ACEXML_Exception Exception.h "ACEXML/common/Exception.h"
- *
- * @brief ACEXML_Exception
- *
- * ACEXML_Exception is the base class for all ACEXML related exceptions.
- * Since ACEXML currently does not support native exceptions, all
- * exceptions should be thrown thru ACEXML_Env.
- *
- * @sa ACEXML_Env
- */
-class ACEXML_Export ACEXML_Exception
-{
-public:
-
- /// Copy constructor.
- ACEXML_Exception (const ACEXML_Exception &src);
-
- /// Assignment operator.
- ACEXML_Exception& operator= (const ACEXML_Exception& src);
-
- /// Destructor.
- virtual ~ACEXML_Exception (void);
-
- /// Throw the exception.
- virtual void _raise (void) = 0;
-
- /// Static narrow operation.
- static ACEXML_Exception* _downcast (ACEXML_Exception* ex);
-
- /// Return the exception type. (for safe downcast.)
- virtual const ACEXML_Char *id (void) const ;
-
- /// Dynamically create a copy of this exception.
- virtual ACEXML_Exception *duplicate (void) const = 0;
-
- /// Check whether this is an exception of type specified by <name>.
- virtual int is_a (const ACEXML_Char *name) = 0;
-
- /// Print out exception using ACE_DEBUG.
- virtual void print (void) = 0;
-
-protected:
- /// Default contructor.
- ACEXML_Exception (void);
-
- /// All exceptions have names. This name is used to identify the
- /// type of an exception.
- static const ACEXML_Char *exception_name_;
-
- /// A null string that we return when there is no exception.
- static const ACEXML_Char *null_;
-};
-
-#if defined (__ACEXML_INLINE__)
-# include "ACEXML/common/Exception.i"
-#endif /* __ACEXML_INLINE__ */
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_EXCEPTION_H_ */
diff --git a/ACEXML/common/Exception.i b/ACEXML/common/Exception.i
deleted file mode 100644
index e2d97fa37ea..00000000000
--- a/ACEXML/common/Exception.i
+++ /dev/null
@@ -1,13 +0,0 @@
-// -*- C++ -*- $Id$
-
-ACEXML_INLINE const ACEXML_Char *
-ACEXML_Exception::id (void) const
-{
- return ACEXML_Exception::exception_name_;
-}
-
-ACEXML_INLINE ACEXML_Exception*
-ACEXML_Exception::_downcast (ACEXML_Exception* x)
-{
- return x;
-}
diff --git a/ACEXML/common/FileCharStream.cpp b/ACEXML/common/FileCharStream.cpp
deleted file mode 100644
index 5b989173d2e..00000000000
--- a/ACEXML/common/FileCharStream.cpp
+++ /dev/null
@@ -1,227 +0,0 @@
-// $Id$
-
-#include "ACEXML/common/FileCharStream.h"
-#include "ace/ACE.h"
-#include "ace/Log_Msg.h"
-
-ACEXML_FileCharStream::ACEXML_FileCharStream (void)
- : filename_ (0), encoding_ (0), size_ (0), infile_ (NULL), peek_ (0)
-{
-}
-
-ACEXML_FileCharStream::~ACEXML_FileCharStream (void)
-{
- this->close();
-}
-
-int
-ACEXML_FileCharStream::open (const ACEXML_Char *name)
-{
- delete[] this->filename_;
- this->filename_ = 0;
-
- delete[] this->encoding_;
- this->encoding_ = 0;
-
- this->infile_ = ACE_OS::fopen (name, ACE_TEXT ("r"));
- if (this->infile_ == NULL)
- return -1;
-
- ACE_stat statbuf;
- if (ACE_OS::stat (name, &statbuf) < 0)
- return -1;
-
- this->size_ = statbuf.st_size;
- this->filename_ = ACE::strnew (name);
- this->determine_encoding();
- return 0;
-}
-
-int
-ACEXML_FileCharStream::determine_encoding (void)
-{
- char input[4];
- int retval = 0;
- int i = 0;
- for (; i < 4 && retval != -1; ++i)
- retval = this->getchar_i(input[i]);
- if (i < 4)
- return -1;
-
- // Rewind the stream
- this->rewind();
-
- const ACEXML_Char* temp = ACEXML_Encoding::get_encoding (input);
- if (!temp)
- return -1;
- if (ACE_OS::strcmp (temp,
- ACEXML_Encoding::encoding_names_[ACEXML_Encoding::OTHER]) == 0)
- return -1;
- else
- {
- this->encoding_ = ACE::strnew (temp);
-// ACE_DEBUG ((LM_DEBUG, "File's encoding is %s\n", this->encoding_));
- }
- // Move over the byte-order-mark if present.
- char ch;
- for (int j = 0; j < 2; ++j)
- {
- this->getchar_i (ch);
- if (ch == '\xFF' || ch == '\xFE' || ch == '\xEF')
- continue;
- else
- {
- ungetc (ch, this->infile_);
- break;
- }
- }
- return 0;
-}
-
-void
-ACEXML_FileCharStream::rewind()
-{
- ACE_OS::rewind (this->infile_);
-}
-
-int
-ACEXML_FileCharStream::available (void)
-{
- long curr;
- if ((curr = ACE_OS::ftell (this->infile_)) < 0)
- return -1;
- return (this->size_ - curr);
-}
-
-int
-ACEXML_FileCharStream::close (void)
-{
- if (this->infile_ != NULL)
- {
- ACE_OS::fclose (this->infile_);
- this->infile_ = NULL;
- }
- delete[] this->filename_;
- this->filename_ = 0;
- delete[] this->encoding_;
- this->encoding_ = 0;
- this->size_ = 0;
- this->peek_ = 0;
- return 0;
-}
-
-
-int
-ACEXML_FileCharStream::getchar_i (char& ch)
-{
- ch = ACE_OS::fgetc (this->infile_);
- return (feof(this->infile_) ? -1 : 0);
-}
-
-int
-ACEXML_FileCharStream::read (ACEXML_Char *str,
- size_t len)
-{
- return ACE_OS::fread (str, len, 1, this->infile_);
-}
-
-int
-ACEXML_FileCharStream::get (ACEXML_Char& ch)
-{
-#if defined (ACE_USES_WCHAR)
- return this->get_i (ch);
-#else
- ch = (ACEXML_Char) ACE_OS::fgetc (this->infile_);
- return (feof(this->infile_) ? -1 : 0);
-#endif /* ACE_USES_WCHAR */
-}
-
-#if defined (ACE_USES_WCHAR)
-int
-ACEXML_FileCharStream::get_i (ACEXML_Char& ch)
-{
- if (ACE_OS::strcmp (this->encoding_, ACE_TEXT ("UTF-8")) == 0)
- {
- ch = (ACEXML_Char) ACE_OS::fgetc (this->infile_);
- return (feof(this->infile_) ? -1 : 0);
- }
- // If we have a value in peek_, return it.
- if (this->peek_ != 0)
- {
- ch = this->peek_;
- this->peek_ = 0;
- return 0;
- }
-
- int BE = (ACE_OS::strcmp (this->encoding_,
- ACE_TEXT ("UTF-16BE")) == 0) ? 1 : 0;
- ACEXML_Char input[2];
- int i = 0;
- for (; i < 2 && !feof (this->infile_); ++i)
- {
- input[i] = ACE_OS::fgetwc (this->infile_);
- }
- if (i < 2)
- {
- ch = 0;
- return -1;
- }
- ch = (BE) ? (input[0] << 8) | input[1] : (input[1] << 8) | input[0];
- return 0;
-}
-#endif /* ACE_USES_WCHAR */
-
-int
-ACEXML_FileCharStream::peek (void)
-{
-#if defined (ACE_USES_WCHAR)
- return this->peek_i();
-#else
- ACEXML_Char ch = ACE_OS::fgetc (this->infile_);
- ::ungetc (ch, this->infile_);
- return ch;
-#endif /* ACE_USES_WCHAR */
-}
-
-#if defined (ACE_USES_WCHAR)
-int
-ACEXML_FileCharStream::peek_i (void)
-{
- // If we are reading a UTF-8 encoded file, just use the plain unget.
- if (ACE_OS::strcmp (this->encoding_, ACE_TEXT ("UTF-8")) == 0)
- {
- ACEXML_Char ch = (ACEXML_Char) ACE_OS::fgetc (this->infile_);
- ::ungetc (ch, this->infile_);
- return ch;
- }
-
- // If somebody had already called peek() and not consumed it, return the
- // value held in this->peek_.
- if (this->peek_ != 0)
- return this->peek_;
-
- // Peek into the stream. This reads two characters off the stream, keeps
- // it in peek_.
- int BE = (ACE_OS::strcmp (this->encoding_,
- ACE_TEXT ("UTF-16BE")) == 0) ? 1 : 0;
- ACEXML_Char input[2];
- int i = 0;
- for (; i < 2 && !feof (this->infile_); ++i)
- {
- input[i] = ACE_OS::fgetwc (this->infile_);
- }
- if (i < 2)
- {
- this->peek_ = 0;
- return -1;
- }
- this->peek_ = (BE) ? (input[0] << 8) | input[1] : (input[1] << 8) | input[0];
- return this->peek_;
-}
-#endif /* ACE_USES_WCHAR */
-
-const ACEXML_Char*
-ACEXML_FileCharStream::getEncoding (void)
-{
- return this->encoding_;
-}
diff --git a/ACEXML/common/FileCharStream.h b/ACEXML/common/FileCharStream.h
deleted file mode 100644
index d71792aac59..00000000000
--- a/ACEXML/common/FileCharStream.h
+++ /dev/null
@@ -1,128 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file FileCharStream.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef _ACEXML_FILECHARSTREAM_H_
-#define _ACEXML_FILECHARSTREAM_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/CharStream.h"
-#include "ACEXML/common/Encoding.h"
-#include "ace/streams.h"
-
-/**
- * @class ACEXML_FileCharStream FileCharStream.h "ACEXML/common/FileCharStream.h"
- *
- * An implementation of ACEXML_CharStream for reading input from a file.
- */
-class ACEXML_Export ACEXML_FileCharStream : public ACEXML_CharStream
-{
-public:
- /// Default constructor.
- ACEXML_FileCharStream (void);
-
- /// Destructor
- virtual ~ACEXML_FileCharStream (void);
-
- /// Open a file.
- int open (const ACEXML_Char *name);
-
- /**
- * Returns the available ACEXML_Char in the buffer. -1
- * if the object is not initialized properly.
- */
- virtual int available (void);
-
- /**
- * Close this stream and release all resources used by it.
- */
- virtual int close (void);
-
- /**
- * Read the next ACEXML_Char. Return -1 if we are not able to
- * return an ACEXML_Char, 0 if EOS is reached, or 1 if succeed.
- */
- virtual int get (ACEXML_Char& ch);
-
- /**
- * Read the next batch of ACEXML_Char strings
- */
- virtual int read (ACEXML_Char *str,
- size_t len);
-
- /**
- * Determine the encoding of the file.
- */
- virtual int determine_encoding (void);
-
-
- /**
- * Peek the next ACEXML_Char in the CharStream. Return the
- * character if success, -1 if EOF is reached.
- */
- virtual int peek (void);
-
- /**
- * Resets the file pointer to the beginning of the stream.
- */
- virtual void rewind (void);
-
- /*
- * Get the character encoding for a byte stream or URI.
- */
- virtual const ACEXML_Char *getEncoding (void);
-
-protected:
-
- /** Read the next character as a normal character. Return -1 if EOF is
- * reached, else return 0.
- */
- virtual int getchar_i (char& ch);
-
-private:
-
-#if defined (ACE_USES_WCHAR)
- /**
- * Read the next character from the stream taking into account the
- * encoding of the file.
- */
- int get_i (ACEXML_Char& ch);
-
- /**
- * Read the next character from the stream taking into account the
- * encoding of the file. Subsequent call to get() returns this
- * character.
- */
- int peek_i (void);
-
-#endif /* ACE_USES_WCHAR */
-
- ACEXML_Char* filename_;
- ACEXML_Char* encoding_;
- off_t size_;
- FILE* infile_;
- // This is needed to ensure that we can implement a peek operation on a
- // UTF-16 encoded file. It is a bit hackish, but there is no other way of
- // implementing a peek() as the standard I/O FILE* guarantees only one
- // pushback.
- ACEXML_Char peek_;
-};
-
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_FILECHARSTREAM_H_ */
diff --git a/ACEXML/common/HttpCharStream.cpp b/ACEXML/common/HttpCharStream.cpp
deleted file mode 100644
index 83426595168..00000000000
--- a/ACEXML/common/HttpCharStream.cpp
+++ /dev/null
@@ -1,338 +0,0 @@
-// $Id$
-
-#include "ace/ACE.h"
-#include "ace/ace_wchar.h"
-#include "ace/Auto_Ptr.h"
-#include "ACEXML/common/HttpCharStream.h"
-
-ACE_RCSID (common, HttpCharStream, "$Id$")
-
-/* Header FSM states. */
-static const int HDST_LINE1_PROTOCOL = 0;
-static const int HDST_LINE1_WHITESPACE = 1;
-static const int HDST_LINE1_STATUS = 2;
-static const int HDST_BOL = 10;
-static const int HDST_TEXT = 11;
-static const int HDST_LF = 12;
-static const int HDST_CR = 13;
-static const int HDST_CRLF = 14;
-static const int HDST_CRLFCR = 15;
-
-ACEXML_HttpCharStream::ACEXML_HttpCharStream (void)
- : url_(0),
- url_addr_(0),
- stream_(0),
- connector_(0),
- size_(0),
- encoding_ (0)
-{
-
-}
-
-ACEXML_HttpCharStream::~ACEXML_HttpCharStream (void)
-{
- this->close ();
-}
-
-int
-ACEXML_HttpCharStream::open (const ACEXML_Char *url)
-{
- this->url_ = ACE::strnew (url);
-
- ACE_NEW_RETURN (this->url_addr_, ACEXML_URL_Addr, -1);
- ACE_NEW_RETURN (this->stream_, ACEXML_Mem_Map_Stream, -1);
-
- if (this->url_addr_->string_to_addr (this->url_) == -1) {
- this->close();
- ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "cannot convert URL"), -1);
- }
-
- ACE_NEW_RETURN (this->connector_,
- Connector (0, ACE_NONBLOCK),
- -1);
-
- if (this->stream_->open (this->connector_, *this->url_addr_) == -1) {
- this->close();
- ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "cannot open backing store"), -1);
- }
-
- int result = this->send_request();
- if (result == -1) {
- this->close();
- ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "send_request"), -1);
- }
-
- size_t len = 0;
- result = this->get_url(len);
- if (result == -1) {
- this->close();
- ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "get_url"), -1);
- }
- if (result != 200) {
- this->close();
- ACE_ERROR_RETURN ((LM_ERROR, "Server returned status %d : %s\n",
- result,
- "Refer HTTP/1.1 for details"), -1);
- }
-
- this->size_ = len;
- return 0;
-}
-
-// The FSM was taken from the implementation of http_get and that falls
-// under the following license:
-//
-// Copyrigh (c) 2000 by Jef Poskanzer <jef@acme.com>. All rights reserved.
-
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions
-// are met:
-// 1. Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-// 2. Redistributions in binary form must reproduce the above copyright
-// notice, this list of conditions and the following disclaimer in the
-// documentation and/or other materials provided with the distribution.
-
-// THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-// ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-// SUCH DAMAGE.
-
-
-int
-ACEXML_HttpCharStream::get_url (size_t& len)
-{
- int header_state = HDST_LINE1_PROTOCOL;
- int status = 0;
- size_t b = 0;
- char* buf = 0;
- size_t buflen = BUFSIZ;
- for (;;)
- {
- if ((buf = ACE_const_cast (char*,
- this->stream_->recv (buflen))) == 0)
- if (buflen <= 0)
- break;
-
- for (b = 0; b < buflen; ++b)
- {
- switch ( header_state )
- {
- case HDST_LINE1_PROTOCOL:
- switch ( buf[b] )
- {
- case ' ': case '\t':
- header_state = HDST_LINE1_WHITESPACE; break;
- case '\n': header_state = HDST_LF ; break;
- case '\r': header_state = HDST_CR; break;
- }
- break;
- case HDST_LINE1_WHITESPACE:
- switch ( buf[b] )
- {
- case '0': case '1': case '2': case '3': case '4':
- case '5': case '6': case '7': case '8': case '9':
- status = buf[b] - '0';
- header_state = HDST_LINE1_STATUS;
- break;
- case '\n': header_state = HDST_LF ; break;
- case '\r': header_state = HDST_CR; break;
- default: header_state = HDST_TEXT; break;
- }
- break;
- case HDST_LINE1_STATUS:
- switch ( buf[b] )
- {
- case '0': case '1': case '2': case '3': case '4':
- case '5': case '6': case '7': case '8': case '9':
- status = status * 10 + buf[b] - '0';
- break;
- case '\n': header_state = HDST_LF ; break;
- case '\r': header_state = HDST_CR; break;
- default: header_state = HDST_TEXT; break;
- }
- break;
- case HDST_BOL:
- switch ( buf[b] )
- {
- case '\n': header_state = HDST_LF; break;
- case '\r': header_state = HDST_CR; break;
- default: header_state = HDST_TEXT; break;
- }
- break;
- case HDST_TEXT:
- switch ( buf[b] )
- {
- case '\n': header_state = HDST_LF; break;
- case '\r': header_state = HDST_CR; break;
- }
- break;
-
- case HDST_LF:
- switch ( buf[b] )
- {
- case '\n': goto end_of_headers;
- case '\r': header_state = HDST_CR; break;
- default: header_state = HDST_TEXT; break;
- }
- break;
-
- case HDST_CR:
- switch ( buf[b] )
- {
- case '\n': header_state = HDST_CRLF; break;
- case '\r': goto end_of_headers;
- default: header_state = HDST_TEXT; break;
- }
- break;
-
- case HDST_CRLF:
- switch ( buf[b] )
- {
- case '\n': goto end_of_headers;
- case '\r': header_state = HDST_CRLFCR; break;
- default: header_state = HDST_TEXT; break;
- }
- break;
-
- case HDST_CRLFCR:
- switch ( buf[b] )
- {
- case '\n': case '\r': goto end_of_headers;
- default: header_state = HDST_TEXT; break;
- }
- break;
- }
- }
- }
- end_of_headers:
- ++b;
- // Store the address of the beginning of data. We will use it to seek to
- // beginning of the data in the URL.
- char* data_beg = buf + b;
- buflen = BUFSIZ;
-
- // Get all of the data. Since this is backed by file store, we won't lose
- // any of the data.
- while (( buf = ACE_const_cast (char*,
- this->stream_->recv (buflen))) != 0)
- ;
-
- // Length of data in the URL.
- len = this->stream_->recv() - data_beg;
-
- // Move the pointer to the beginning of the file store.
- this->stream_->rewind();
-
- off_t data_offset = data_beg - this->stream_->recv();
- // Forward to the beginning of data.
- if (this->stream_->seek (data_offset, SEEK_SET) == -1)
- ACE_ERROR_RETURN ((LM_ERROR, "%s: %m",
- "Error in seeking to beginning of data"), -1);
- return status;
-}
-
-
-int
-ACEXML_HttpCharStream::send_request (void)
-{
- char* path = ACE::strnew (ACE_TEXT_ALWAYS_CHAR (this->url_addr_->get_path_name()));
- ACE_Auto_Basic_Array_Ptr<char> path_ptr (path);
- int commandsize = ACE_OS::strlen (path)
- + ACE_OS::strlen (this->url_addr_->get_host_name ())
- + 20 // Extra
- + 1 // NUL byte
- + 16 ; // Protocol filler...
-
- char* command;
- ACE_NEW_RETURN (command, char[commandsize], -1);
-
- // Ensure that the <command> memory is deallocated.
- ACE_Auto_Basic_Array_Ptr<char> cmd_ptr (command);
-
- int bytes = ACE_OS::sprintf (command, "GET %s HTTP/1.1\r\n", path);
- bytes += ACE_OS::sprintf (&command[bytes], "Host: %s\r\n",
- this->url_addr_->get_host_name ());
- bytes += ACE_OS::sprintf (&command[bytes], "\r\n");
-
- ACE_Time_Value tv (ACE_DEFAULT_TIMEOUT);
-
- // Send the command to the connected server.
- int retval = this->stream_->send_n (command, bytes, &tv);
- if (retval <= 0)
- return -1;
- return retval;
-}
-
-
-int
-ACEXML_HttpCharStream::available (void)
-{
- return this->stream_->available();
-}
-
-int
-ACEXML_HttpCharStream::close (void)
-{
- delete[] this->url_;
- this->url_ = 0;
-
- delete this->url_addr_;
- this->url_addr_ = 0;
-
- delete this->stream_;
- this->stream_ = 0;
-
- delete this->connector_;
- this->connector_ = 0;
-
- this->size_ = 0;
-
- delete[] this->encoding_;
- this->encoding_ = 0;
-
- return 0;
-}
-
-int
-ACEXML_HttpCharStream::get (ACEXML_Char& ch)
-{
- ch = (ACEXML_Char) this->stream_->get_char();
- return (ch == (ACEXML_Char)EOF ? -1 :0);
-}
-
-int
-ACEXML_HttpCharStream::read (ACEXML_Char *str,
- size_t len)
-{
- char* temp = ACE_const_cast (char*, this->stream_->recv (len));
- str = ACE_TEXT_CHAR_TO_TCHAR (temp);
- if (str == 0)
- return -1;
- return len;
-}
-
-int
-ACEXML_HttpCharStream::peek (void)
-{
- return this->stream_->peek_char (0);
-}
-
-void
-ACEXML_HttpCharStream::rewind (void)
-{
- this->stream_->rewind();
-}
-
-const ACEXML_Char*
-ACEXML_HttpCharStream::getEncoding (void)
-{
- return this->encoding_;
-}
diff --git a/ACEXML/common/HttpCharStream.h b/ACEXML/common/HttpCharStream.h
deleted file mode 100644
index 7bce23a224b..00000000000
--- a/ACEXML/common/HttpCharStream.h
+++ /dev/null
@@ -1,113 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file HttpCharStream.h
- *
- * $Id$
- *
- * @author Krishnakumar B <kitty@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef _ACEXML_HTTPCHARSTREAM_H_
-#define _ACEXML_HTTPCHARSTREAM_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/CharStream.h"
-#include "ACEXML/common/URL_Addr.h"
-#include "ACEXML/common/Mem_Map_Stream.h"
-#include "ace/streams.h"
-
-/**
- * @class ACEXML_HttpCharStream HttpCharStream.h "ACEXML/common/HttpCharStream.h"
- *
- * An implementation of ACEXML_CharStream for reading input from a URL.
- */
-class ACEXML_Export ACEXML_HttpCharStream : public ACEXML_CharStream
-{
-public:
- /// Default constructor.
- ACEXML_HttpCharStream (void);
-
- /// Destructor
- virtual ~ACEXML_HttpCharStream (void);
-
- /// Open an URL.
- int open (const ACEXML_Char *url);
-
- /**
- * Returns the available ACEXML_Char in the buffer. -1
- * if the object is not initialized properly.
- */
- virtual int available (void);
-
- /**
- * Close this stream and release all resources used by it.
- */
- virtual int close (void);
-
- /**
- * Read the next ACEXML_Char. Return -1 if we are not able to
- * return an ACEXML_Char, 0 if EOS is reached, or 1 if succeed.
- */
- virtual int get (ACEXML_Char& ch);
-
- /**
- * Read the next batch of ACEXML_Char strings
- */
- virtual int read (ACEXML_Char *str,
- size_t len);
-
- /**
- * Peek the next ACEXML_Char in the CharStream. Return the
- * character if succeess, -1 if EOS is reached.
- */
- virtual int peek (void);
-
- /**
- * Resets the file pointer to the beginning of the stream.
- */
- virtual void rewind (void);
-
- /**
- * Get the encoding of the file
- */
- virtual const ACEXML_Char* getEncoding (void);
-
-private:
-
- /**
- * Send a HTTP/1.1 request to fetch the contents of the URL.
- */
- int send_request (void);
-
- /**
- * Fetch the URL and save it in backing store.
- */
- int get_url (size_t& len);
-
- ACEXML_Char *url_;
-
- ACEXML_URL_Addr* url_addr_;
-
- ACEXML_Mem_Map_Stream* stream_;
-
- Connector* connector_;
-
- off_t size_;
-
- ACEXML_Char* encoding_;
-
-};
-
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_HTTPCHARSTREAM_H_ */
diff --git a/ACEXML/common/InputSource.cpp b/ACEXML/common/InputSource.cpp
deleted file mode 100644
index 0dcdeb0f2ba..00000000000
--- a/ACEXML/common/InputSource.cpp
+++ /dev/null
@@ -1,100 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ACEXML/common/InputSource.h"
-#include "ace/ACE.h"
-
-ACEXML_InputSource::ACEXML_InputSource (void)
- : publicId_ (0),
- systemId_ (0),
- charStream_ (0),
- encoding_ (0)
-{
-}
-
-ACEXML_InputSource::ACEXML_InputSource (ACEXML_CharStream *stm)
- : publicId_ (0),
- systemId_ (0),
- charStream_ (stm),
- encoding_ (0)
-{
- this->setEncoding (stm->getEncoding());
-}
-
- /*
- * Create a new input source with a character stream.
- * /
- InputSource (Reader);
- */
-
-ACEXML_InputSource::ACEXML_InputSource (const ACEXML_Char *systemId)
- : systemId_ (ACE::strnew (systemId))
-{
-}
-
-ACEXML_InputSource::~ACEXML_InputSource (void)
-{
- delete[] this->publicId_;
- delete[] this->systemId_;
- delete this->charStream_;
- delete[] this->encoding_;
-}
-
-ACEXML_CharStream *
-ACEXML_InputSource::getCharStream (void)
-{
- return this->charStream_;
-}
-
- /*
- * Get the character stream for this input source.
- * /
- virtual Reader *getCharacterStream (void);
- */
-
-const ACEXML_Char *
-ACEXML_InputSource::getEncoding (void)
-{
- return this->encoding_;
-}
-
-const ACEXML_Char *
-ACEXML_InputSource::getPublicId (void)
-{
- return this->publicId_;
-}
-
-const ACEXML_Char *
-ACEXML_InputSource::getSystemId (void)
-{
- return this->systemId_;
-}
-
-void
-ACEXML_InputSource::setCharStream (ACEXML_CharStream *stm)
-{
- delete this->charStream_;
- this->charStream_ = stm;
-}
-
- /*
- * Set the character stream for this input source.
- *
- */
-
-void
-ACEXML_InputSource::setEncoding (const ACEXML_Char *encoding)
-{
- this->encoding_ = ACE::strnew (encoding);
-}
-
-void
-ACEXML_InputSource::setPublicId (const ACEXML_Char *publicId)
-{
- this->publicId_ = ACE::strnew (publicId);
-}
-
-void
-ACEXML_InputSource::setSystemId (const ACEXML_Char *systemId)
-{
- this->systemId_ = ACE::strnew (systemId);
-}
diff --git a/ACEXML/common/InputSource.h b/ACEXML/common/InputSource.h
deleted file mode 100644
index 2d8c5a7beb5..00000000000
--- a/ACEXML/common/InputSource.h
+++ /dev/null
@@ -1,130 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file InputSource.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef _ACEXML_INPUTSOURCE_H_
-#define _ACEXML_INPUTSOURCE_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/CharStream.h"
-
-/**
- * @class ACEXML_InputSource InputSource.h "ACEXML/common/InputSource.h"
- *
- * @brief ACEXML_InputSource encapsulates the actual input stream with some
- * added information.
- *
- * This class allows a SAX application to encapsulate information
- * about an input source in a single object, which may include a
- * public identifier, a system identifier, a byte stream (possibly
- * with a specified encoding), and/or a character stream.
- *
- * There are two places that the application will deliver this input
- * source to the parser: as the argument to the Parser.parse method,
- * or as the return value of the EntityResolver.resolveEntity method.
- *
- * The SAX parser will use the InputSource object to determine how to
- * read XML input. If there is a character stream available, the
- * parser will read that stream directly; if not, the parser will use
- * a byte stream, if available; if neither a character stream nor a
- * byte stream is available, the parser will attempt to open a URI
- * connection to the resource identified by the system identifier.
- *
- * An InputSource object belongs to the application: the SAX parser
- * shall never modify it in any way (it may modify a copy if
- * necessary).
- *
- * @sa ACEXML_CharStream
- */
-class ACEXML_Export ACEXML_InputSource
-{
-public:
- /*
- * Default constructor.
- */
- ACEXML_InputSource (void);
-
- /*
- * Create a new input source with a ACEXML_Char stream.
- * Notice that ACEXML_InputSource assumes the ownership
- * of <stream>
- */
- ACEXML_InputSource (ACEXML_CharStream *stream);
-
- /*
- * Create a new input source with a system identifier.
- */
- ACEXML_InputSource (const ACEXML_Char *systemId);
-
- /*
- * Default destructor.
- */
- virtual ~ACEXML_InputSource (void);
-
- /*
- * Get the ACEXML_Char stream for this input source.
- */
- virtual ACEXML_CharStream *getCharStream (void);
-
- /*
- * Get the character encoding for a byte stream or URI.
- */
- virtual const ACEXML_Char *getEncoding (void);
-
- /*
- * Get the public identifier for this input source.
- */
- virtual const ACEXML_Char *getPublicId (void);
-
- /*
- * Get the system identifier for this input source.
- */
- virtual const ACEXML_Char *getSystemId (void);
-
- /*
- * Set the ACEXML_Char stream for this input source.
- * Notice that ACEXML_InputSource assumes the ownership
- * of <stream>
- */
- virtual void setCharStream (ACEXML_CharStream *charStream);
-
- /*
- * Set the character encoding, if known.
- */
- virtual void setEncoding (const ACEXML_Char *encoding);
-
- /*
- * Set the public identifier for this input source.
- */
- virtual void setPublicId (const ACEXML_Char *publicId);
-
- /*
- * Set the public identifier for this input source.
- */
- virtual void setSystemId (const ACEXML_Char *systemId);
-
-private:
- ACEXML_Char *publicId_;
- ACEXML_Char *systemId_;
- ACEXML_CharStream *charStream_;
- ACEXML_Char *encoding_;
-};
-
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_INPUTSOURCE_H_ */
diff --git a/ACEXML/common/Locator.h b/ACEXML/common/Locator.h
deleted file mode 100644
index fc3f4170d38..00000000000
--- a/ACEXML/common/Locator.h
+++ /dev/null
@@ -1,70 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Locator.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef _ACEXML_LOCATOR_H_
-#define _ACEXML_LOCATOR_H_
-#include "ace/pre.h"
-
-#include "ACEXML/common/XML_Types.h"
-
-/**
- * @class ACEXML_Locator Locator.h "ACEXML/common/Locator.h"
- *
- * @brief ACEXML_Locator defines operations that an XML locator should support.
- *
- * If a SAX parser provides location information to the SAX
- * application, it does so by implementing this interface and then
- * passing an instance to the application using the content handler's
- * setDocumentLocator method. The application can use the object to
- * obtain the location of any other content handler event in the XML
- * source document.
- *
- * Note that the results returned by the object will be valid only
- * during the scope of each content handler method: the application
- * will receive unpredictable results if it attempts to use the
- * locator at any other time.
- *
- * SAX parsers are not required to supply a locator, but they are very
- * strongly encouraged to do so. If the parser supplies a locator, it
- * must do so before reporting any other document events. If no
- * locator has been set by the time the application receives the
- * startDocument event, the application should assume that a locator
- * is not available.
- */
-class ACEXML_Export ACEXML_Locator
-{
-public:
- /*
- * Return the column number where the current document event ends.
- */
- virtual int getColumnNumber (void) const = 0;
-
- /*
- * Return the line number where the current document event ends.
- */
- virtual int getLineNumber (void) const = 0;
-
- /*
- * Return the public identifier for the current document event.
- */
- virtual const ACEXML_Char *getPublicId (void) const = 0;
-
- /*
- * Return the system identifier for the current document event.
- */
- virtual const ACEXML_Char *getSystemId (void) const = 0;
-};
-
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_LOCATOR_H_ */
diff --git a/ACEXML/common/LocatorImpl.cpp b/ACEXML/common/LocatorImpl.cpp
deleted file mode 100644
index 0ccf9c1773a..00000000000
--- a/ACEXML/common/LocatorImpl.cpp
+++ /dev/null
@@ -1,39 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ACEXML/common/LocatorImpl.h"
-
-#if !defined (__ACEXML_INLINE__)
-# include "ACEXML/common/LocatorImpl.i"
-#endif /* __ACEXML_INLINE__ */
-
-ACEXML_LocatorImpl::ACEXML_LocatorImpl (void)
- : publicId_ (0),
- systemId_ (0),
- lineNumber_ (1),
- columnNumber_ (0)
-{
-}
-
-ACEXML_LocatorImpl::ACEXML_LocatorImpl (const ACEXML_Locator& locator)
- : publicId_ (ACE::strnew (locator.getPublicId ())),
- systemId_ (ACE::strnew (locator.getSystemId ())),
- lineNumber_ (locator.getLineNumber ()),
- columnNumber_ (locator.getColumnNumber ())
-{
-}
-
-ACEXML_LocatorImpl::~ACEXML_LocatorImpl (void)
-{
-
-}
-
-void
-ACEXML_LocatorImpl::reset (void)
-{
- delete[] this->publicId_;
- this->publicId_ = 0;
- delete[] this->systemId_;
- this->systemId_ = 0;
- this->columnNumber_ = 0;
- this->lineNumber_ = 1;
-}
diff --git a/ACEXML/common/LocatorImpl.h b/ACEXML/common/LocatorImpl.h
deleted file mode 100644
index 5e0bbdace23..00000000000
--- a/ACEXML/common/LocatorImpl.h
+++ /dev/null
@@ -1,153 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file LocatorImpl.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- * @author Krishnakumar Balasubramanian <kitty@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef ACEXML_LOCALTORIMPL_H
-#define ACEXML_LOCALTORIMPL_H
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/Locator.h"
-
-/**
- * @class ACEXML_LocatorImpl LocatorImpl.h "ACEXML/common/LocatorImpl.h"
- *
- * @brief ACEXML_LocatorImpl is an implementation of ACEXML_Locator.
- *
- * This class is available mainly for application writers, who can
- * use it to make a persistent snapshot of a locator at any point
- * during a document parse:
- *
- * @code
- * ACEXML_Locator locator;
- * ACEXML_Locator startloc;
- *
- * public void setLocator (ACEXML_Locator locator)
- * {
- * // note the locator
- * this.locator = locator;
- * }
- *
- * public void startDocument ()
- * {
- * // save the location of the start of the document
- * // for future use.
- * ACEXML_Locator startloc = new ACEXML_LocatorImpl(locator);
- * }
- * @endcode
- *
- * Normally, parser writers will not use this class, since it is more
- * efficient to provide location information only when requested,
- * rather than constantly updating a Locator object.
- *
- * @todo ACEXML parser doesn't support the use of Locator yet.
- *
- * @sa ACEXML_Locator
- */
-class ACEXML_Export ACEXML_LocatorImpl : public ACEXML_Locator
-{
-public:
- /*
- * Default constructor.
- */
- ACEXML_LocatorImpl (void);
-
- /*
- * Copy constructor. Create a persistent copy of the current state
- * of a locator. When the original locator changes, this copy will
- * still keep the original values (and it can be used outside the
- * scope of DocumentHandler methods).
- */
- ACEXML_LocatorImpl (const ACEXML_Locator& locator);
-
- /*
- * Destructor.
- */
- virtual ~ACEXML_LocatorImpl (void);
-
- /*
- * Return the column number where the current document event ends.
- */
- virtual int getColumnNumber (void) const;
-
- /*
- * Return the line number where the current document event ends.
- */
- virtual int getLineNumber (void) const;
-
- /*
- * Return the public identifier for the current document event.
- */
- virtual const ACEXML_Char *getPublicId (void) const;
-
- /*
- * Return the system identifier for the current document event.
- */
- virtual const ACEXML_Char *getSystemId (void) const;
-
- /*
- * Set the column number of this locator.
- */
- void setColumnNumber (int cn);
-
- /*
- * Set the line number of this locator.
- */
- void setLineNumber (int ln);
-
- /*
- * Set the public identifier of this locator.
- */
- void setPublicId (const ACEXML_Char *id);
-
- /*
- * Set the system identifier of this locator.
- */
- void setSystemId (const ACEXML_Char *id);
-
- /*
- * Increment the line number.
- */
- void incrLineNumber ();
-
- /*
- * Increment the column number.
- */
- void incrColumnNumber ();
-
- /*
- * Reset the Locator information. This is necessary because one might
- * want to use the same parser to parse multiple files. In that case,
- * tying the life of the Locator with the parser is not appropriate. The
- * parser calls this method as soon as issuing an endDocument() call.
- */
- void reset (void);
-
-private:
- ACEXML_Char *publicId_;
- ACEXML_Char *systemId_;
- int lineNumber_;
- int columnNumber_;
-};
-
-#if defined (__ACEXML_INLINE__)
-# include "ACEXML/common/LocatorImpl.i"
-#endif /* __ACEXML_INLINE__ */
-
-#include "ace/post.h"
-
-#endif /* ACEXML_LOCALTORIMPL_H */
diff --git a/ACEXML/common/LocatorImpl.i b/ACEXML/common/LocatorImpl.i
deleted file mode 100644
index 808a8bd4ac4..00000000000
--- a/ACEXML/common/LocatorImpl.i
+++ /dev/null
@@ -1,65 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ace/ACE.h"
-
-ACEXML_INLINE void
-ACEXML_LocatorImpl::setColumnNumber (int cn)
-{
- this->columnNumber_ = cn;
-}
-
-ACEXML_INLINE void
-ACEXML_LocatorImpl::setLineNumber (int ln)
-{
- this->lineNumber_ = ln;
-}
-
-ACEXML_INLINE int
-ACEXML_LocatorImpl::getColumnNumber (void) const
-{
- return this->columnNumber_;
-}
-
-ACEXML_INLINE int
-ACEXML_LocatorImpl::getLineNumber (void) const
-{
- return this->lineNumber_;
-}
-
-ACEXML_INLINE void
-ACEXML_LocatorImpl::setPublicId (const ACEXML_Char *id)
-{
- delete[] this->publicId_;
- this->publicId_ = ACE::strnew (id);
-}
-
-ACEXML_INLINE void
-ACEXML_LocatorImpl::setSystemId (const ACEXML_Char *id)
-{
- delete[] this->systemId_;
- this->systemId_ = ACE::strnew (id);
-}
-
-ACEXML_INLINE const ACEXML_Char *
-ACEXML_LocatorImpl::getPublicId (void) const
-{
- return this->publicId_;
-}
-
-ACEXML_INLINE const ACEXML_Char *
-ACEXML_LocatorImpl::getSystemId (void) const
-{
- return this->systemId_;
-}
-
-ACEXML_INLINE void
-ACEXML_LocatorImpl::incrLineNumber ()
-{
- ++this->lineNumber_;
-}
-
-ACEXML_INLINE void
-ACEXML_LocatorImpl::incrColumnNumber ()
-{
- ++this->columnNumber_;
-}
diff --git a/ACEXML/common/Makefile b/ACEXML/common/Makefile
deleted file mode 100644
index 2a0eb4077b8..00000000000
--- a/ACEXML/common/Makefile
+++ /dev/null
@@ -1,2721 +0,0 @@
-#----------------------------------------------------------------------------
-# $Id$
-#
-# Makefile for the server-side ACE network services
-#----------------------------------------------------------------------------
-
-LIB = libACEXML.a
-SHLIB = libACEXML.$(SOEXT)
-
-FILES = Attributes_Def_Builder \
- AttributesImpl \
- CharStream \
- DefaultHandler \
- DTD_Manager \
- Element_Def_Builder \
- Env \
- Exception \
- FileCharStream \
- InputSource \
- LocatorImpl \
- NamespaceSupport \
- SAXExceptions \
- StrCharStream \
- Transcode \
- Validator \
- XMLFilterImpl \
- XML_Codecs \
- Mem_Map_Stream \
- URL_Addr \
- HttpCharStream \
- StreamFactory \
- Encoding
-
-DEFS = $(addsuffix .h,$(FILES))
-LSRC = $(addsuffix .cpp,$(FILES))
-
-LIBS += $(ACELIB)
-
-BUILD = $(VLIB) $(VSHLIB)
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-
-#----------------------------------------------------------------------------
-# Local targets
-#----------------------------------------------------------------------------
-
-ifeq ($(shared_libs),1)
-ifneq ($(SHLIB),)
-CPPFLAGS += -DACEXML_BUILD_DLL
-endif
-endif
-
-#----------------------------------------------------------------------------
-# Dependencies
-#----------------------------------------------------------------------------
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-
-.obj/Attributes_Def_Builder.o .obj/Attributes_Def_Builder.so .shobj/Attributes_Def_Builder.o .shobj/Attributes_Def_Builder.so: Attributes_Def_Builder.cpp \
- Attributes_Def_Builder.h \
- $(ACE_ROOT)/ace/pre.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- Env.h \
- XML_Macros.h \
- $(ACE_ROOT)/ace/Exception_Macros.h \
- Exception.h \
- Exception.i \
- Env.i \
- SAXExceptions.h \
- SAXExceptions.i
-
-.obj/AttributesImpl.o .obj/AttributesImpl.so .shobj/AttributesImpl.o .shobj/AttributesImpl.so: AttributesImpl.cpp \
- AttributesImpl.h \
- $(ACE_ROOT)/ace/pre.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- Attributes.h \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Array_Base.h \
- $(ACE_ROOT)/ace/Array_Base.inl \
- $(ACE_ROOT)/ace/Array_Base.cpp \
- $(ACE_ROOT)/ace/Unbounded_Queue.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.inl \
- $(ACE_ROOT)/ace/Unbounded_Queue.cpp \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- AttributesImpl.i
-
-.obj/CharStream.o .obj/CharStream.so .shobj/CharStream.o .shobj/CharStream.so: CharStream.cpp \
- CharStream.h \
- $(ACE_ROOT)/ace/pre.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i
-
-.obj/DefaultHandler.o .obj/DefaultHandler.so .shobj/DefaultHandler.o .shobj/DefaultHandler.so: DefaultHandler.cpp \
- DefaultHandler.h \
- $(ACE_ROOT)/ace/pre.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- ContentHandler.h \
- Env.h \
- XML_Macros.h \
- $(ACE_ROOT)/ace/Exception_Macros.h \
- Exception.h \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- Exception.i \
- Env.i \
- SAXExceptions.h \
- SAXExceptions.i \
- Locator.h \
- Attributes.h \
- DTDHandler.h \
- EntityResolver.h \
- InputSource.h \
- CharStream.h \
- ErrorHandler.h \
- DefaultHandler.i
-
-.obj/DTD_Manager.o .obj/DTD_Manager.so .shobj/DTD_Manager.o .shobj/DTD_Manager.so: DTD_Manager.cpp \
- DTD_Manager.h \
- $(ACE_ROOT)/ace/pre.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- Attributes_Def_Builder.h \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- Env.h \
- XML_Macros.h \
- $(ACE_ROOT)/ace/Exception_Macros.h \
- Exception.h \
- Exception.i \
- Env.i \
- SAXExceptions.h \
- SAXExceptions.i \
- Element_Def_Builder.h \
- Validator.h \
- Attributes.h
-
-.obj/Element_Def_Builder.o .obj/Element_Def_Builder.so .shobj/Element_Def_Builder.o .shobj/Element_Def_Builder.so: Element_Def_Builder.cpp \
- Element_Def_Builder.h \
- $(ACE_ROOT)/ace/pre.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/SString.i \
- Env.h \
- XML_Macros.h \
- $(ACE_ROOT)/ace/Exception_Macros.h \
- Exception.h \
- Exception.i \
- Env.i \
- SAXExceptions.h \
- SAXExceptions.i
-
-.obj/Env.o .obj/Env.so .shobj/Env.o .shobj/Env.so: Env.cpp Env.h \
- $(ACE_ROOT)/ace/pre.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- XML_Macros.h \
- $(ACE_ROOT)/ace/Exception_Macros.h \
- Exception.h \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- Exception.i \
- Env.i
-
-.obj/Exception.o .obj/Exception.so .shobj/Exception.o .shobj/Exception.so: Exception.cpp \
- Exception.h \
- $(ACE_ROOT)/ace/pre.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- XML_Macros.h \
- $(ACE_ROOT)/ace/Exception_Macros.h \
- Exception.i
-
-.obj/FileCharStream.o .obj/FileCharStream.so .shobj/FileCharStream.o .shobj/FileCharStream.so: FileCharStream.cpp \
- FileCharStream.h \
- $(ACE_ROOT)/ace/pre.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- CharStream.h \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- Encoding.h
-
-.obj/InputSource.o .obj/InputSource.so .shobj/InputSource.o .shobj/InputSource.so: InputSource.cpp \
- InputSource.h \
- $(ACE_ROOT)/ace/pre.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- CharStream.h \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i
-
-.obj/LocatorImpl.o .obj/LocatorImpl.so .shobj/LocatorImpl.o .shobj/LocatorImpl.so: LocatorImpl.cpp \
- LocatorImpl.h \
- $(ACE_ROOT)/ace/pre.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- Locator.h \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- LocatorImpl.i
-
-.obj/NamespaceSupport.o .obj/NamespaceSupport.so .shobj/NamespaceSupport.o .shobj/NamespaceSupport.so: NamespaceSupport.cpp \
- NamespaceSupport.h \
- $(ACE_ROOT)/ace/pre.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Functor.h \
- $(ACE_ROOT)/ace/Functor.i \
- $(ACE_ROOT)/ace/Functor_T.h \
- $(ACE_ROOT)/ace/Functor_T.i \
- $(ACE_ROOT)/ace/Functor_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.inl \
- $(ACE_ROOT)/ace/Unbounded_Queue.cpp \
- $(ACE_ROOT)/ace/XML_Svc_Conf.h \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Test_and_Set.h \
- $(ACE_ROOT)/ace/Test_and_Set.i \
- $(ACE_ROOT)/ace/Test_and_Set.cpp \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Array_Base.h \
- $(ACE_ROOT)/ace/Array_Base.inl \
- $(ACE_ROOT)/ace/Array_Base.cpp \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- NamespaceSupport.i
-
-.obj/SAXExceptions.o .obj/SAXExceptions.so .shobj/SAXExceptions.o .shobj/SAXExceptions.so: SAXExceptions.cpp \
- SAXExceptions.h \
- $(ACE_ROOT)/ace/pre.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- Exception.h \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- XML_Macros.h \
- $(ACE_ROOT)/ace/Exception_Macros.h \
- Exception.i \
- SAXExceptions.i
-
-.obj/StrCharStream.o .obj/StrCharStream.so .shobj/StrCharStream.o .shobj/StrCharStream.so: StrCharStream.cpp \
- StrCharStream.h \
- $(ACE_ROOT)/ace/pre.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- CharStream.h \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- Encoding.h
-
-.obj/Transcode.o .obj/Transcode.so .shobj/Transcode.o .shobj/Transcode.so: Transcode.cpp \
- Transcode.h \
- $(ACE_ROOT)/ace/pre.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- Transcode.i
-
-.obj/Validator.o .obj/Validator.so .shobj/Validator.o .shobj/Validator.so: Validator.cpp \
- Validator.h \
- $(ACE_ROOT)/ace/pre.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- Attributes.h \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- Env.h \
- XML_Macros.h \
- $(ACE_ROOT)/ace/Exception_Macros.h \
- Exception.h \
- Exception.i \
- Env.i \
- SAXExceptions.h \
- SAXExceptions.i
-
-.obj/XMLFilterImpl.o .obj/XMLFilterImpl.so .shobj/XMLFilterImpl.o .shobj/XMLFilterImpl.so: XMLFilterImpl.cpp \
- XMLFilterImpl.h \
- $(ACE_ROOT)/ace/pre.h \
- XMLFilter.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- XMLReader.h \
- ContentHandler.h \
- Env.h \
- XML_Macros.h \
- $(ACE_ROOT)/ace/Exception_Macros.h \
- Exception.h \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- Exception.i \
- Env.i \
- SAXExceptions.h \
- SAXExceptions.i \
- Locator.h \
- Attributes.h \
- DTDHandler.h \
- EntityResolver.h \
- InputSource.h \
- CharStream.h \
- ErrorHandler.h \
- XMLFilterImpl.i
-
-.obj/XML_Codecs.o .obj/XML_Codecs.so .shobj/XML_Codecs.o .shobj/XML_Codecs.so: XML_Codecs.cpp $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/pre.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- XML_Codecs.h \
- ACEXML_Export.h \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Codecs.h
-
-.obj/Mem_Map_Stream.o .obj/Mem_Map_Stream.so .shobj/Mem_Map_Stream.o .shobj/Mem_Map_Stream.so: Mem_Map_Stream.cpp \
- $(ACE_ROOT)/ace/FILE_Addr.h \
- $(ACE_ROOT)/ace/pre.h $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/FILE_Addr.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- Mem_Map_Stream.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/DLL.h \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.inl \
- $(ACE_ROOT)/ace/Unbounded_Queue.cpp \
- $(ACE_ROOT)/ace/XML_Svc_Conf.h \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Test_and_Set.h \
- $(ACE_ROOT)/ace/Test_and_Set.i \
- $(ACE_ROOT)/ace/Test_and_Set.cpp \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \
- $(ACE_ROOT)/ace/Functor.h \
- $(ACE_ROOT)/ace/Functor.i \
- $(ACE_ROOT)/ace/Functor_T.h \
- $(ACE_ROOT)/ace/Functor_T.i \
- $(ACE_ROOT)/ace/Functor_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Exit.h \
- $(ACE_ROOT)/ace/Thread_Control.h \
- $(ACE_ROOT)/ace/Thread_Control.inl \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Array_Base.h \
- $(ACE_ROOT)/ace/Array_Base.inl \
- $(ACE_ROOT)/ace/Array_Base.cpp \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/Framework_Component.h \
- $(ACE_ROOT)/ace/Framework_Component.inl \
- $(ACE_ROOT)/ace/Framework_Component_T.h \
- $(ACE_ROOT)/ace/Framework_Component_T.inl \
- $(ACE_ROOT)/ace/Framework_Component_T.cpp \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Connection_Recycling_Strategy.h \
- $(ACE_ROOT)/ace/Recyclable.h \
- $(ACE_ROOT)/ace/Recyclable.inl \
- $(ACE_ROOT)/ace/Refcountable.h \
- $(ACE_ROOT)/ace/Refcountable.inl \
- $(ACE_ROOT)/ace/Hashable.h \
- $(ACE_ROOT)/ace/Hashable.inl \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/Message_Block_T.h \
- $(ACE_ROOT)/ace/Message_Block_T.i \
- $(ACE_ROOT)/ace/Message_Block_T.cpp \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Notification_Strategy.h \
- $(ACE_ROOT)/ace/Notification_Strategy.inl \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Dynamic.i \
- XML_Types.h
-
-.obj/URL_Addr.o .obj/URL_Addr.so .shobj/URL_Addr.o .shobj/URL_Addr.so: URL_Addr.cpp $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/pre.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- URL_Addr.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/Addr.h $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/INET_Addr.i \
- XML_Types.h \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/SString.i \
- URL_Addr.inl
-
-.obj/HttpCharStream.o .obj/HttpCharStream.so .shobj/HttpCharStream.o .shobj/HttpCharStream.so: HttpCharStream.cpp $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/pre.h $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- HttpCharStream.h \
- ACEXML_Export.h \
- CharStream.h \
- XML_Types.h \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/SString.i \
- URL_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/Addr.h $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/INET_Addr.i \
- URL_Addr.inl \
- Mem_Map_Stream.h \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/DLL.h \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.inl \
- $(ACE_ROOT)/ace/Unbounded_Queue.cpp \
- $(ACE_ROOT)/ace/XML_Svc_Conf.h \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Test_and_Set.h \
- $(ACE_ROOT)/ace/Test_and_Set.i \
- $(ACE_ROOT)/ace/Test_and_Set.cpp \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \
- $(ACE_ROOT)/ace/Functor.h \
- $(ACE_ROOT)/ace/Functor.i \
- $(ACE_ROOT)/ace/Functor_T.h \
- $(ACE_ROOT)/ace/Functor_T.i \
- $(ACE_ROOT)/ace/Functor_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Exit.h \
- $(ACE_ROOT)/ace/Thread_Control.h \
- $(ACE_ROOT)/ace/Thread_Control.inl \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Array_Base.h \
- $(ACE_ROOT)/ace/Array_Base.inl \
- $(ACE_ROOT)/ace/Array_Base.cpp \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/Framework_Component.h \
- $(ACE_ROOT)/ace/Framework_Component.inl \
- $(ACE_ROOT)/ace/Framework_Component_T.h \
- $(ACE_ROOT)/ace/Framework_Component_T.inl \
- $(ACE_ROOT)/ace/Framework_Component_T.cpp \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Connection_Recycling_Strategy.h \
- $(ACE_ROOT)/ace/Recyclable.h \
- $(ACE_ROOT)/ace/Recyclable.inl \
- $(ACE_ROOT)/ace/Refcountable.h \
- $(ACE_ROOT)/ace/Refcountable.inl \
- $(ACE_ROOT)/ace/Hashable.h \
- $(ACE_ROOT)/ace/Hashable.inl \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/Message_Block_T.h \
- $(ACE_ROOT)/ace/Message_Block_T.i \
- $(ACE_ROOT)/ace/Message_Block_T.cpp \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Notification_Strategy.h \
- $(ACE_ROOT)/ace/Notification_Strategy.inl \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Dynamic.i
-
-.obj/StreamFactory.o .obj/StreamFactory.so .shobj/StreamFactory.o .shobj/StreamFactory.so: StreamFactory.cpp \
- StreamFactory.h \
- $(ACE_ROOT)/ace/pre.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- FileCharStream.h \
- CharStream.h \
- Encoding.h \
- HttpCharStream.h \
- URL_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/Addr.h $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/INET_Addr.i \
- URL_Addr.inl \
- Mem_Map_Stream.h \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/DLL.h \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.inl \
- $(ACE_ROOT)/ace/Unbounded_Queue.cpp \
- $(ACE_ROOT)/ace/XML_Svc_Conf.h \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Test_and_Set.h \
- $(ACE_ROOT)/ace/Test_and_Set.i \
- $(ACE_ROOT)/ace/Test_and_Set.cpp \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \
- $(ACE_ROOT)/ace/Functor.h \
- $(ACE_ROOT)/ace/Functor.i \
- $(ACE_ROOT)/ace/Functor_T.h \
- $(ACE_ROOT)/ace/Functor_T.i \
- $(ACE_ROOT)/ace/Functor_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Exit.h \
- $(ACE_ROOT)/ace/Thread_Control.h \
- $(ACE_ROOT)/ace/Thread_Control.inl \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Array_Base.h \
- $(ACE_ROOT)/ace/Array_Base.inl \
- $(ACE_ROOT)/ace/Array_Base.cpp \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/Framework_Component.h \
- $(ACE_ROOT)/ace/Framework_Component.inl \
- $(ACE_ROOT)/ace/Framework_Component_T.h \
- $(ACE_ROOT)/ace/Framework_Component_T.inl \
- $(ACE_ROOT)/ace/Framework_Component_T.cpp \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Connection_Recycling_Strategy.h \
- $(ACE_ROOT)/ace/Recyclable.h \
- $(ACE_ROOT)/ace/Recyclable.inl \
- $(ACE_ROOT)/ace/Refcountable.h \
- $(ACE_ROOT)/ace/Refcountable.inl \
- $(ACE_ROOT)/ace/Hashable.h \
- $(ACE_ROOT)/ace/Hashable.inl \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/Message_Block_T.h \
- $(ACE_ROOT)/ace/Message_Block_T.i \
- $(ACE_ROOT)/ace/Message_Block_T.cpp \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Notification_Strategy.h \
- $(ACE_ROOT)/ace/Notification_Strategy.inl \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Dynamic.i
-
-.obj/Encoding.o .obj/Encoding.so .shobj/Encoding.o .shobj/Encoding.so: Encoding.cpp Encoding.h \
- $(ACE_ROOT)/ace/pre.h \
- ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/ACEXML/common/Makefile.bor b/ACEXML/common/Makefile.bor
deleted file mode 100644
index 8545b53d384..00000000000
--- a/ACEXML/common/Makefile.bor
+++ /dev/null
@@ -1,38 +0,0 @@
-# Makefile for building the XML library
-
-NAME = ACEXML
-
-OBJFILES = \
- $(OBJDIR)\Attributes_Def_Builder.obj \
- $(OBJDIR)\AttributesImpl.obj \
- $(OBJDIR)\CharStream.obj \
- $(OBJDIR)\DefaultHandler.obj \
- $(OBJDIR)\DTD_Manager.obj \
- $(OBJDIR)\Element_Def_Builder.obj \
- $(OBJDIR)\Env.obj \
- $(OBJDIR)\Encoding.obj \
- $(OBJDIR)\Exception.obj \
- $(OBJDIR)\FileCharStream.obj \
- $(OBJDIR)\InputSource.obj \
- $(OBJDIR)\LocatorImpl.obj \
- $(OBJDIR)\NamespaceSupport.obj \
- $(OBJDIR)\SAXExceptions.obj \
- $(OBJDIR)\StrCharStream.obj \
- $(OBJDIR)\Transcode.obj \
- $(OBJDIR)\Validator.obj \
- $(OBJDIR)\XMLFilterImpl.obj \
- $(OBJDIR)\Mem_Map_Stream.obj \
- $(OBJDIR)\HttpCharStream.obj \
- $(OBJDIR)\URL_Addr.obj
-
-CFLAGS = \
- $(ACE_CFLAGS) \
- $(ACE_XML_CFLAGS) \
- -DACEXML_BUILD_DLL
-
-CPPDIR = .;..
-
-LIBFILES = \
- $(ACE_LIB)
-
-!include <$(ACE_ROOT)\include\makeinclude\build_core_library.bor>
diff --git a/ACEXML/common/Mem_Map_Stream.cpp b/ACEXML/common/Mem_Map_Stream.cpp
deleted file mode 100644
index 818bd11b230..00000000000
--- a/ACEXML/common/Mem_Map_Stream.cpp
+++ /dev/null
@@ -1,260 +0,0 @@
-// $Id$
-
-#include "ace/FILE_Addr.h"
-#include "ACEXML/common/Mem_Map_Stream.h"
-
-ACE_RCSID(common, Mem_Map_Stream, "$Id$")
-
-ACEXML_Mem_Map_Stream::ACEXML_Mem_Map_Stream (void)
-{
-
-}
-
-ACE_SOCK_Stream &
-ACEXML_Mem_Map_Stream::stream (void)
-{
- return svc_handler_->peer ();
-}
-
-ssize_t
-ACEXML_Mem_Map_Stream::send_n (const void *buf, size_t size,
- ACE_Time_Value *tv)
-{
- return svc_handler_->peer ().send_n (buf, size, 0, tv);
-}
-
-int
-ACEXML_Mem_Map_Stream::eof (void) const
-{
- return this->get_pos_ >= this->end_of_mapping_plus1_;
-}
-
-int
-ACEXML_Mem_Map_Stream::get_char (void)
-{
- if (this->eof () && this->grow_file_and_remap () == -1)
- return EOF;
-
- return *this->get_pos_++;
-}
-
-void
-ACEXML_Mem_Map_Stream::rewind (void)
-{
- this->recv_pos_ = ACE_reinterpret_cast (char *,
- this->mem_map_.addr ());
- this->get_pos_ = this->recv_pos_;
- this->end_of_mapping_plus1_ = this->recv_pos_ + this->mem_map_.size ();
-}
-
-int
-ACEXML_Mem_Map_Stream::peek_char (size_t offset)
-{
- // We may need to iterate if the size of <n> is large.
- while (this->get_pos_ + offset >= this->end_of_mapping_plus1_)
- if (this->grow_file_and_remap () == -1)
- return EOF;
-
- return this->get_pos_[offset];
-}
-
-const char *
-ACEXML_Mem_Map_Stream::recv (void) const
-{
- return this->recv_pos_;
-}
-
-const char *
-ACEXML_Mem_Map_Stream::recv (size_t &len)
-{
- if (this->eof () && this->grow_file_and_remap () == -1)
- return 0;
-
- const char *s = this->recv_pos_;
- this->seek (len, SEEK_CUR);
- len = this->get_pos_ - s;
- return s;
-}
-
-size_t
-ACEXML_Mem_Map_Stream::recv_len (void) const
-{
- return this->get_pos_ - this->recv_pos_;
-}
-
-const char *
-ACEXML_Mem_Map_Stream::peek_str (size_t offset,
- size_t size)
-{
- // We will iterate if the size of <offset> is large.
- while (this->get_pos_ + (offset + size) > this->end_of_mapping_plus1_)
- if (this->grow_file_and_remap () == -1)
- return 0;
-
- return &this->get_pos_[offset];
-}
-
-off_t
-ACEXML_Mem_Map_Stream::seek (off_t offset, int whence)
-{
- switch (whence)
- {
- case SEEK_SET:
- this->get_pos_ =
- ACE_reinterpret_cast (char *,
- this->mem_map_.addr ())
- + offset;
- break;
-
- case SEEK_CUR:
- this->get_pos_ += offset;
- break;
-
- case SEEK_END:
- this->get_pos_ =
- this->end_of_mapping_plus1_ + offset;
- // @@ Not sure how to implement this (yet).
- ACE_NOTSUP_RETURN (-1);
- break;
- }
-
- // Make sure that the backing store will cover this.
- while (this->get_pos_ > this->end_of_mapping_plus1_)
- if (this->grow_file_and_remap () == -1)
- this->get_pos_ = this->end_of_mapping_plus1_;
-
- this->recv_pos_ = this->get_pos_;
- return this->recv_pos_ - ACE_reinterpret_cast (char *,
- this->mem_map_.addr ());
-}
-
-Svc_Handler *
-ACEXML_Mem_Map_Stream::svc_handler (void)
-{
- return this->svc_handler_;
-}
-
-size_t
-ACEXML_Mem_Map_Stream::available (void) const
-{
- return this->end_of_mapping_plus1_ - this->get_pos_;
-}
-
-int
-ACEXML_Mem_Map_Stream::open (Connector *connector,
- const ACE_INET_Addr &addr)
-{
- svc_handler_ = 0;
-
- // Connect to the server at <addr>. If the handler has to be
- // connected to the server again, the Caching strategy takes care
- // and uses the same connection.
- if (connector->connect (svc_handler_,
- addr) == -1)
- {
-
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p %s %d\n",
- "Connect failed",
- addr.get_host_name (),
- addr.get_port_number ()),
- -1);
- }
- // Create a temporary filename.
- ACE_FILE_Addr file (ACE_sap_any_cast (ACE_FILE_Addr &));
-
- // Create the temporary file via the <ACE_Mem_Map> class API.
- if (this->mem_map_.open (file.get_path_name (),
- O_RDWR | O_CREAT | O_APPEND,
- ACE_DEFAULT_FILE_PERMS) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "open"),
- -1);
- // Make sure to unlink this right away so that if this process
- // crashes these files will be removed automatically.
- else if (ACE_OS::unlink (file.get_path_name ()) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "unlink"),
- -1);
- else
- // Initialize all the position pointers to 0.
- this->rewind ();
-
- return 0;
-}
-
-int
-ACEXML_Mem_Map_Stream::grow_file_and_remap (void)
-{
- char buf[BUFSIZ + 1];
-
- // Copy the next chunk of bytes from the socket into the temporary
- // file.
- ACE_Time_Value tv (ACE_DEFAULT_TIMEOUT);
-
- ssize_t n = this->svc_handler_->peer ().recv (buf, sizeof buf, 0, &tv);
- if (n == -1)
- {
- ACE_ERROR ((LM_ERROR, "%p\n", "recv"));
- return -1;
- }
- else if (n == 0)
- return -1;
- else if (ACE::write_n (this->mem_map_.handle (), buf, n) != n)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "write_n"),
- -1);
-
- // Grow the memory-mapping to encompass the entire temporary file.
- if (this->mem_map_.map (-1,
- PROT_RDWR,
- ACE_MAP_PRIVATE | ACE_MAP_FIXED,
- ACE_DEFAULT_BASE_ADDR) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "map"),
- -1);
- // MAP_FAILED is used as a "first time in" flag.
- if (this->recv_pos_ == MAP_FAILED)
- {
- this->recv_pos_ = ACE_reinterpret_cast (char *,
- this->mem_map_.addr ());
- this->get_pos_ = this->recv_pos_;
- }
-
- this->end_of_mapping_plus1_ =
- ACE_reinterpret_cast (char *,
- this->mem_map_.addr ())
- + this->mem_map_.size ();
-
- return 0;
-}
-
-ACEXML_Mem_Map_Stream::~ACEXML_Mem_Map_Stream (void)
-{
- // Remove the mapping and the file.
- this->mem_map_.remove ();
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH>;
-template class ACE_Connector <Svc_Handler, ACE_SOCK_CONNECTOR>;
-template class ACE_Svc_Tuple<Svc_Handler>;
-template class ACE_Map_Entry<ACE_HANDLE, ACE_Svc_Tuple<Svc_Handler> *>;
-template class ACE_Map_Manager<ACE_HANDLE, ACE_Svc_Tuple<Svc_Handler> *, ACE_SYNCH_RW_MUTEX>;
-template class ACE_Map_Iterator<ACE_HANDLE, ACE_Svc_Tuple<Svc_Handler> *, ACE_SYNCH_RW_MUTEX>;
-template class ACE_Map_Reverse_Iterator<ACE_HANDLE, ACE_Svc_Tuple<Svc_Handler> *, ACE_SYNCH_RW_MUTEX>;
-template class ACE_Map_Iterator_Base<ACE_HANDLE, ACE_Svc_Tuple<Svc_Handler> *, ACE_SYNCH_RW_MUTEX>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH>
-#pragma instantiate ACE_Connector <Svc_Handler, ACE_SOCK_CONNECTOR>
-#pragma instantiate ACE_Svc_Tuple<Svc_Handler>
-#pragma instantiate ACE_Map_Entry<ACE_HANDLE, ACE_Svc_Tuple<Svc_Handler> *>
-#pragma instantiate ACE_Map_Manager<ACE_HANDLE, ACE_Svc_Tuple<Svc_Handler> *, ACE_SYNCH_RW_MUTEX>
-#pragma instantiate ACE_Map_Iterator<ACE_HANDLE, ACE_Svc_Tuple<Svc_Handler> *, ACE_SYNCH_RW_MUTEX>
-#pragma instantiate ACE_Map_Reverse_Iterator<ACE_HANDLE, ACE_Svc_Tuple<Svc_Handler> *, ACE_SYNCH_RW_MUTEX>
-#pragma instantiate ACE_Map_Iterator_Base<ACE_HANDLE, ACE_Svc_Tuple<Svc_Handler> *, ACE_SYNCH_RW_MUTEX>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/ACEXML/common/Mem_Map_Stream.h b/ACEXML/common/Mem_Map_Stream.h
deleted file mode 100644
index 6dfd468a90e..00000000000
--- a/ACEXML/common/Mem_Map_Stream.h
+++ /dev/null
@@ -1,192 +0,0 @@
-/* -*- C++ -*- */
-
-/** @file Mem_Map_Stream.h
- *
- * $Id$
- *
- * @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
- * @author Krishnakumar B <kitty@cs.wustl.edu>
- *
- */
-
-#ifndef _ACEXML_MEM_MAP_STREAM_H
-#define _ACEXML_MEM_MAP_STREAM_H
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ace/SOCK_Stream.h"
-#include "ace/Mem_Map.h"
-#include "ace/SOCK_Connector.h"
-#include "ace/Connector.h"
-#include "ace/Svc_Handler.h"
-#include "ace/Synch_T.h"
-#include "ACEXML/common/XML_Types.h"
-
-typedef ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> Svc_Handler;
-typedef ACE_Connector<Svc_Handler, ACE_SOCK_CONNECTOR> Connector;
-
-/**
- * @class ACEXML_Mem_Map_Stream Mem_Map_Stream.h "ACEXML/common/Mem_Map_Stream.h"
- *
- * @brief Provides a memory-mapped stream abstraction to simplify parsing
- * of tokens.
- *
- * This class makes it possible to treat an connection as a stream of
- * bytes, similar to the C library stdio streams. The contents of the
- * connection are buffered incrementally in a memory-mapped file. This
- * class maintains pointers to two positions in the stream:
- *
- * 1. The <recv> position, which keeps track of the beginning of a
- * token that is in the stream.
- *
- * 2. The <get> position, which moves along character-by-character
- * until the end of the token is reached.
- *
- * Once a token has been located, it can be extracted from the stream by
- * calling the <recv>. The length of the token, i.e., the <recv_len>, is
- * the length in bytes between the <get> position and the <recv> position.
- * Once the token has been extracted, the <recv> and <get> positions can be
- * updated by the <seek> method.
- */
-class ACEXML_Export ACEXML_Mem_Map_Stream
-{
-public:
- /// Default constructor
- ACEXML_Mem_Map_Stream (void);
-
- /// Initialize this object.
- virtual int open (Connector *connector,
- const ACE_INET_Addr &);
-
- /// Destructor.
- virtual ~ACEXML_Mem_Map_Stream (void);
-
- /// Returns the underlying <ACE_SOCK_Stream>.
- ACE_SOCK_Stream &stream (void);
-
- /**
- * Send <size> bytes in <buf> to the connected peer. This is a
- * completely unbuffered call.
- */
- virtual ssize_t send_n (const void *buf,
- size_t size,
- ACE_Time_Value *tv = 0);
-
- /**
- * Return the next character in the stream and advance the <get>
- * position. Returns EOF when the <get> position reaches the end of the
- * HTTP stream.
- */
- virtual int get_char (void);
-
- /**
- * Returns a pointer to array of at most <len> characters starting at
- * the <recv> position. If the <recv> position + <len> extends past the
- * EOF then <len> is set to the number of characters between the <recv>
- * position and the EOF and both the <get> and <recv> positions are
- * advanced by <len>. Returns 0 if the <recv> position is at the EOF.
- */
- virtual const char *recv (size_t &len);
-
- /**
- * Returns a pointer to array of characters starting at the <recv>
- * position.
- */
- virtual const char *recv (void) const;
-
- /**
- * Returns the length in bytes between the <get> position and the <recv>
- * position.
- */
- virtual size_t recv_len (void) const;
-
- /**
- * Returns the no. of bytes available in the stream.
- */
- virtual size_t available (void) const;
-
- /**
- * Resets the <get> and <recv> positions to the beginning of the stream.
- * This works since all the data has been cached in the memory-mapped
- * backing store.
- */
- virtual void rewind (void);
-
- /**
- * Returns the nth character <offset> from the <get> position in the
- * stream without advancing the <get> position. Automatically extends
- * the backing store if necessary. Returns EOF if <offset> is past the
- * end of the stream.
- */
- virtual int peek_char (size_t offset);
-
- /**
- * Return a pointer to an array of <size> characters starting at
- * <offset> characters from the <get> position in the stream without
- * advancing the <get> position. Automatically extends the backing store
- * if necessary. Returns 0 if <offset> or <offset + size> is past the
- * end of the stream.
- */
- virtual const char *peek_str (size_t offset, size_t size);
-
- /**
- * Sets the <get> and <recv> positions as follows:
- * o If <whence> is <SEEK_SET>, the positions are set to <offset>
- * bytes from the start of the stream.
- * o If <whence> is <SEEK_CUR>, the positions are set to the
- * current <get> position plus <offset>.
- * o If <whence> is <SEEK_END>, the positions are set to the size
- * of the stream plus <offset>.
- *
- * If offset is greater than EOF, both <get> and <recv> are set to EOF.
- * Note special return value is returned to indicate this condition.
- */
- virtual off_t seek (off_t offset, int whence = SEEK_CUR);
-
- /// Returns 1 if we're at the end of the HTTP stream, else 0.
- virtual int eof (void) const;
-
- /// Returns the underlying service handler.
- Svc_Handler *svc_handler (void);
-
-private:
- /**
- * Grow the file by reading another chunk from the HTTP socket and
- * extend the mapping to cover this chunk. Returns -1 on failure or
- * EOF, else 0.
- */
- int grow_file_and_remap (void);
-
- /**
- * Connection to peer. The granularity is at the Svc_Handler level.
- * The Svc_Handler has an SOCK_Stream.
- */
- Svc_Handler *svc_handler_;
-
- /// Memory-mapped file that we're iterating over.
- ACE_Mem_Map mem_map_;
-
- /// Pointer to the address where the next <recv> method will start.
- char *recv_pos_;
-
- /**
- * Pointer to the address where the next <get_char> method will
- * start.
- */
- char *get_pos_;
-
- /// Address at the end of the file mapping.
- char *end_of_mapping_plus1_;
-
-};
-
-
-#include "ace/post.h"
-
-
-#endif /* _ACEXML_MEM_MAP_STREAM_H */
diff --git a/ACEXML/common/NamespaceSupport.cpp b/ACEXML/common/NamespaceSupport.cpp
deleted file mode 100644
index b28b9d07248..00000000000
--- a/ACEXML/common/NamespaceSupport.cpp
+++ /dev/null
@@ -1,275 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ACEXML/common/NamespaceSupport.h"
-
-static const ACEXML_Char ACEXML_XMLNS_PREFIX_name[] = {'x', 'm', 'l', 'n', 's', 0};
-const ACEXML_Char *ACEXML_NamespaceSupport::XMLNS_PREFIX = ACEXML_XMLNS_PREFIX_name;
-
-static const ACEXML_Char ACEXML_DEFAULT_NS_PREFIX[] = {0};
-
-static const ACEXML_Char ACEXML_TABOO_NS_PREFIX[] = {'x', 'm', 'l', 0};
-
-static const ACEXML_Char ACEXML_XMLNS_URI_name[] = {
- 'h', 't', 't', 'p', ':', '/', '/',
- 'w', 'w', 'w', '.', 'w', '3', '.', 'o', 'r', 'g', '/',
- 'X', 'M', 'L', '/', '1', '9', '9', '8', '/',
- 'n', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', 0};
-const ACEXML_Char *ACEXML_NamespaceSupport::XMLNS = ACEXML_XMLNS_URI_name;
-
-#if !defined (__ACEXML_INLINE__)
-# include "ACEXML/common/NamespaceSupport.i"
-#endif /* __ACEXML_INLINE__ */
-
-ACEXML_Namespace_Context_Stack::ACEXML_Namespace_Context_Stack (void)
- : head_ (0)
-{
-}
-
-ACEXML_Namespace_Context_Stack::~ACEXML_Namespace_Context_Stack (void)
-{
- // Clean up stuff.
-}
-
-int
-ACEXML_Namespace_Context_Stack::push (ACEXML_NS_CONTEXT *nsc)
-{
- struct NS_Node_T *temp = 0;
- ACE_NEW_RETURN (temp, struct NS_Node_T, -1);
-
- temp->item_ = nsc;
- temp->next_ = this->head_;
-
- this->head_ = temp;
- return 0;
-}
-
-ACEXML_NS_CONTEXT *
-ACEXML_Namespace_Context_Stack::pop (void)
-{
- if (this->head_ != 0)
- {
- struct NS_Node_T *temp = this->head_;
- this->head_ = temp->next_;
-
- ACEXML_NS_CONTEXT* retv = temp->item_;
- delete temp;
- return retv;
- }
- return 0;
-}
-
-
-ACEXML_NamespaceSupport::ACEXML_NamespaceSupport (void)
- : ns_stack_ (),
- effective_context_ (0)
-{
- // @@ No way to tell if the new fails.
- ACE_NEW (effective_context_,
- ACEXML_NS_CONTEXT ());
-
- ACEXML_String prefix (ACEXML_TABOO_NS_PREFIX, 0, 0);
- ACEXML_String uri (ACEXML_XMLNS_URI_name, 0, 0);
- this->effective_context_->bind (prefix, uri);
-}
-
-ACEXML_NamespaceSupport::~ACEXML_NamespaceSupport (void)
-{
- while (this->popContext () == 0)
- ;
-}
-
-int
-ACEXML_NamespaceSupport::declarePrefix (const ACEXML_Char *prefix,
- const ACEXML_Char *uri)
-{
- // Unless predefined by w3.org(?) NS prefix can never start with
- // "xml".
- if (ACE_OS_String::strcmp (ACEXML_TABOO_NS_PREFIX, prefix) == 0)
- return -1;
-
- ACEXML_String ns_prefix (prefix, 0, 0);
- ACEXML_String ns_uri (uri, 0, 0);
-
- return this->effective_context_->bind (ns_prefix,
- ns_uri);
-}
-
-int
-ACEXML_NamespaceSupport::getDeclaredPrefixes (ACEXML_STR_LIST &prefixes) const
-{
- ACEXML_NS_CONTEXT_ENTRY *entry;
-
- // The prefix for default namespace (empty string) is included in
- // the return list.
- for (ACEXML_NS_CONTEXT_ITER iter (*this->effective_context_);
- iter.next (entry) != 0;
- iter.advance ())
- prefixes.enqueue_tail (entry->ext_id_.c_str ());
-
- return 0;
-}
-
-const ACEXML_Char *
-ACEXML_NamespaceSupport::getPrefix (const ACEXML_Char *uri) const
-{
- ACEXML_NS_CONTEXT_ENTRY *entry;
-
- for (ACEXML_NS_CONTEXT_ITER iter (*this->effective_context_);
- iter.next (entry) != 0;
- iter.advance ())
- if (entry->int_id_ == ACEXML_String (uri, 0, 0) &&
- entry->ext_id_ != ACEXML_String (ACEXML_DEFAULT_NS_PREFIX, 0, 0))
- return entry->ext_id_.c_str ();
-
- return 0; // Nothing found.
-}
-
-int
-ACEXML_NamespaceSupport::getPrefixes (ACEXML_STR_LIST &prefixes) const
-{
- ACEXML_NS_CONTEXT_ENTRY *entry;
-
- // The prefix for default namespace (empty string) is not included
- // in the return list.
- for (ACEXML_NS_CONTEXT_ITER iter (*this->effective_context_);
- iter.next (entry) != 0;
- iter.advance ())
- if (entry->ext_id_ != ACEXML_String(ACEXML_DEFAULT_NS_PREFIX, 0, 0))
- prefixes.enqueue_tail (entry->ext_id_.c_str ());
- else
- continue;
-
- return 0;
-}
-
-int
-ACEXML_NamespaceSupport::getPrefixes (const ACEXML_Char *uri,
- ACEXML_STR_LIST &prefixes) const
-{
- ACEXML_NS_CONTEXT_ENTRY *entry;
-
- for (ACEXML_NS_CONTEXT_ITER iter (*this->effective_context_);
- iter.next (entry) != 0;
- iter.advance ())
- if (entry->int_id_ == ACEXML_String (uri, 0, 0) &&
- entry->ext_id_ != ACEXML_String (ACEXML_DEFAULT_NS_PREFIX, 0, 0))
- prefixes.enqueue_tail (entry->ext_id_.c_str ());
- else
- continue;
-
- return 0; // Nothing found.
-}
-
-const ACEXML_Char *
-ACEXML_NamespaceSupport::getURI (const ACEXML_Char *prefix) const
-{
- ACEXML_NS_CONTEXT_ENTRY *entry;
-
- if (this->effective_context_->find (ACEXML_String (prefix, 0, 0),
- entry) == 0)
- return entry->int_id_.c_str ();
- return 0;
-}
-
-int
-ACEXML_NamespaceSupport::popContext (void)
-{
- delete this->effective_context_;
-
- if ((this->effective_context_ = this->ns_stack_.pop ()) == 0)
- return -1;
- return 0;
-}
-
-int
-ACEXML_NamespaceSupport::pushContext (void)
-{
- ACEXML_NS_CONTEXT *temp = this->effective_context_;
- ACE_NEW_RETURN (this->effective_context_,
- ACEXML_NS_CONTEXT (),
- -1);
-
- // @@ Copy everything from the old context to the new one.
- ACEXML_NS_CONTEXT_ENTRY *entry;
-
- for (ACEXML_NS_CONTEXT_ITER iter (*temp);
- iter.next (entry) != 0;
- iter.advance ())
- this->effective_context_->bind (entry->ext_id_,
- entry->int_id_);
- this->ns_stack_.push (temp);
- return 0;
-}
-
-
-int
-ACEXML_NamespaceSupport::processName (const ACEXML_Char *qName,
- const ACEXML_Char *&uri,
- const ACEXML_Char *&name,
- int is_attribute) const
-{
- int qlen = ACE_OS_String::strlen (qName);
- int len = -1;
- for (int i = 0; i < qlen; ++i)
- if (qName [i] == ':')
- {
- len = i;
- break;
- }
-
- ACEXML_String prefix;
-
- if (len == -1)
- {
- name = qName;
- }
- else
- {
- prefix.set (qName, len, 1);
- name = qName + len + 1;
- }
-
- if (is_attribute && len == -1) {
- uri = ACEXML_DEFAULT_NS_PREFIX;
- return 0;
- }
-
- ACEXML_NS_CONTEXT_ENTRY *entry;
-
- if (this->effective_context_->find (prefix, entry) == 0)
- uri = entry->int_id_.c_str ();
- else
- {
- uri = ACEXML_DEFAULT_NS_PREFIX;
- return -1;
- }
-
- return 0;
-}
-
-int
-ACEXML_NamespaceSupport::reset (void)
-{
- // Not implemented.
- return 0;
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class ACE_Hash_Map_Entry<ACEXML_String, ACEXML_String>;
-template class ACE_Hash_Map_Manager_Ex<ACEXML_String, ACEXML_String, ACE_Hash<ACEXML_String>, ACE_Equal_To<ACEXML_String>, ACE_Null_Mutex>;
-template class ACE_Hash_Map_Iterator_Base_Ex<ACEXML_String, ACEXML_String, ACE_Hash<ACEXML_String>, ACE_Equal_To<ACEXML_String>, ACE_Null_Mutex>;
-template class ACE_Hash_Map_Iterator_Ex<ACEXML_String, ACEXML_String, ACE_Hash<ACEXML_String>, ACE_Equal_To<ACEXML_String>, ACE_Null_Mutex>;
-template class ACE_Hash_Map_Reverse_Iterator_Ex<ACEXML_String, ACEXML_String, ACE_Hash<ACEXML_String>, ACE_Equal_To<ACEXML_String>, ACE_Null_Mutex>;
-template class ACE_Unbounded_Queue<const ACEXML_Char *>;
-template class ACE_Unbounded_Queue_Iterator<const ACEXML_Char *>;
-template class ACE_Node<const ACEXML_Char *>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate ACE_Hash_Map_Entry<ACEXML_String, ACEXML_String>
-#pragma instantiate ACE_Hash_Map_Manager_Ex<ACEXML_String, ACEXML_String, ACE_Hash<ACEXML_String>, ACE_Equal_To<ACEXML_String>, ACE_Null_Mutex>
-#pragma instantiate ACE_Hash_Map_Iterator_Base_Ex<ACEXML_String, ACEXML_String, ACE_Hash<ACEXML_String>, ACE_Equal_To<ACEXML_String>, ACE_Null_Mutex>
-#pragma instantiate ACE_Hash_Map_Iterator_Ex<ACEXML_String, ACEXML_String, ACE_Hash<ACEXML_String>, ACE_Equal_To<ACEXML_String>, ACE_Null_Mutex>
-#pragma instantiate ACE_Hash_Map_Reverse_Iterator_Ex<ACEXML_String, ACEXML_String, ACE_Hash<ACEXML_String>, ACE_Equal_To<ACEXML_String>, ACE_Null_Mutex>
-#pragma instantiate ACE_Unbounded_Queue<const ACEXML_Char *>
-#pragma instantiate ACE_Unbounded_Queue_Iterator<const ACEXML_Char *>
-#pragma instantiate ACE_Node<const ACEXML_Char *>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/ACEXML/common/NamespaceSupport.h b/ACEXML/common/NamespaceSupport.h
deleted file mode 100644
index 7d2c7bf10ac..00000000000
--- a/ACEXML/common/NamespaceSupport.h
+++ /dev/null
@@ -1,239 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file NamespaceSupport.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef ACEXML_NAMESPACESUPPORT_H
-#define ACEXML_NAMESPACESUPPORT_H
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/XML_Types.h"
-#include "ace/Functor.h"
-#include "ace/Hash_Map_Manager.h"
-#include "ace/Containers_T.h"
-#include "ace/Synch.h"
-
-typedef ACE_Hash_Map_Entry<ACEXML_String,
- ACEXML_String> ACEXML_NS_CONTEXT_ENTRY;
-
-typedef ACE_Hash_Map_Manager_Ex<ACEXML_String,
- ACEXML_String,
- ACE_Hash<ACEXML_String>,
- ACE_Equal_To<ACEXML_String>,
- ACE_Null_Mutex> ACEXML_NS_CONTEXT;
-
-typedef ACE_Hash_Map_Iterator_Ex<ACEXML_String,
- ACEXML_String,
- ACE_Hash<ACEXML_String>,
- ACE_Equal_To<ACEXML_String>,
- ACE_Null_Mutex> ACEXML_NS_CONTEXT_ITER;
-
-typedef ACE_Hash_Map_Reverse_Iterator_Ex<ACEXML_String,
- ACEXML_String,
- ACE_Hash<ACEXML_String>,
- ACE_Equal_To<ACEXML_String>,
- ACE_Null_Mutex> ACEXML_NS_CONTEXT_REVERSE_ITER;
-
-typedef ACE_Unbounded_Queue<const ACEXML_Char *> ACEXML_STR_LIST;
-
-/**
- * @class ACEXML_Namespace_Context_Stack NamespaceSupport.h "ACEXML/common/NamespaceSupport.h"
- *
- * @brief ACEXML_Namespace_Context_Stack implements a simple stack
- * that ACEXML_NamespaceSupport uses to keep track of namespace scopes.
- *
- * @sa ACEXML_NamespaceSupport
- */
-class ACEXML_Export ACEXML_Namespace_Context_Stack
-{
-public:
- /// Default constructor.
- ACEXML_Namespace_Context_Stack (void);
-
- /// Destructor.
- ~ACEXML_Namespace_Context_Stack (void);
-
- /// Push the old namespace before entering into a new namespace scope.
- int push (ACEXML_NS_CONTEXT * old);
-
- /// Pop the old namespace when exiting a namespace scope.
- ACEXML_NS_CONTEXT *pop (void);
-
-private:
- /// Internal stack structure to hold namespace context.
- struct NS_Node_T {
- ACEXML_NS_CONTEXT *item_;
- struct NS_Node_T *next_;
- };
-
- /// Anchor point for head of stack.
- NS_Node_T *head_;
-};
-
-/**
- * @class ACEXML_NamespaceSupport NamespaceSupport.h "ACEXML/common/NamespaceSupport.h"
- *
- * @brief ACEXML_NamespaceSupport provides namespace management
- * operation for an XML parser.
- *
- * This class encapsulates the logic of Namespace processing: it
- * tracks the declarations currently in force for each context and
- * automatically processes qualified XML 1.0 names into their
- * Namespace parts; it can also be used in reverse for generating XML
- * 1.0 from Namespaces.
- *
- * Namespace support objects are reusable, but the reset method must
- * be invoked between each session.
- *
- * Here is a simple session (in Java :-p):
- * @code
- * String parts[] = new String[3];
- * NamespaceSupport support = new NamespaceSupport();
- *
- * support.pushContext();
- * support.declarePrefix("", "http://www.w3.org/1999/xhtml");
- * support.declarePrefix("dc", "http://www.purl.org/dc#");
- *
- * String parts[] = support.processName("p", parts, false);
- * System.out.println("Namespace URI: " + parts[0]);
- * System.out.println("Local name: " + parts[1]);
- * System.out.println("Raw name: " + parts[2]);
- *
- * String parts[] = support.processName("dc:title", parts, false);
- * System.out.println("Namespace URI: " + parts[0]);
- * System.out.println("Local name: " + parts[1]);
- * System.out.println("Raw name: " + parts[2]);
- *
- * support.popContext();
- * @endcode
- *
- * Note that this class is optimized for the use case where most
- * elements do not contain Namespace declarations: if the same
- * prefix/URI mapping is repeated for each context (for example), this
- * class will be somewhat less efficient.
- *
- * @sa ACEXML_Exception
- */
-class ACEXML_Export ACEXML_NamespaceSupport
-{
-public:
- /**
- * Default constructor.
- */
- ACEXML_NamespaceSupport (void);
-
- /**
- * Default destructor.
- */
- ~ACEXML_NamespaceSupport (void);
-
- /**
- * XMLNS default prefix and URI strings.
- */
- static const ACEXML_Char *XMLNS_PREFIX;
- static const ACEXML_Char *XMLNS;
-
- /**
- * Declare a Namespace prefix. Return -1 if the prefix was illegal
- * or an internal error occured. Return 0 if the prefix gets declared
- * successfully, 1 if the prefix replaces an existing prefix definition.
- */
- int declarePrefix (const ACEXML_Char *prefix,
- const ACEXML_Char *uri);
-
- /**
- * Return all prefixes declared in current context in
- * the user-supplied list @a prefixes. It is user's reponsibility
- * to ensure the list was empty originally.
- */
- int getDeclaredPrefixes (ACEXML_STR_LIST &prefixes) const;
-
- /**
- * Return one of the prefixes mapped to a Namespace URI.
- */
- const ACEXML_Char *getPrefix (const ACEXML_Char *uri) const;
-
- /**
- * Return all prefixes currently declared in the user-supplied list.
- * @@ Known bug: This function should only return user-defined prefixes.
- */
- int getPrefixes (ACEXML_STR_LIST &prefixes) const;
-
- /**
- * Return all prefixes currently declared for a URI in the
- * user-supplied list.
- */
- int getPrefixes (const ACEXML_Char *uri,
- ACEXML_STR_LIST &prefixes) const;
-
- /**
- * Look up a prefix and get the currently-mapped Namespace URI.
- */
- const ACEXML_Char *getURI (const ACEXML_Char *prefix) const;
-
- /**
- * Revert to the previous namespace context.
- */
- int popContext (void);
-
- /**
- * Process a raw XML 1.0 name.
- * @a qName is the raw XML name we want to parse,
- * @a uri contains the URI string of the raw name. It points to a null
- * string if the namespace is not valid or there's no namespace defined.
- * @a name contains the original name without the prefix.
- * @a is_attribute specifies whether the name is an attribute or not.
- * Attributes have different scoping rules from elements.
- */
- int processName (const ACEXML_Char *qName,
- const ACEXML_Char *&uri,
- const ACEXML_Char *&name,
- int is_attribute) const;
-
- /**
- * Start a new Namespace context. Prefixes defined in previous
- * context are copied over to the new context.
- */
- int pushContext (void);
-
- /**
- * Reset this Namespace support object for reuse.
- * @todo Not implemented.
- */
- int reset (void);
-
-private:
- /**
- * Namespace Context stack. When we entering a new namespace
- * context, the old context is duplicated and pushed into
- * this stack.
- */
- ACEXML_Namespace_Context_Stack ns_stack_;
-
- /**
- * The effective namespace context.
- */
- ACEXML_NS_CONTEXT *effective_context_;
-};
-
-
-#if defined (__ACEXML_INLINE__)
-# include "ACEXML/common/NamespaceSupport.i"
-#endif /* __ACEXML_INLINE__ */
-
-#include "ace/post.h"
-
-#endif /* ACEXML_NAMESPACESUPPORT_H */
diff --git a/ACEXML/common/NamespaceSupport.i b/ACEXML/common/NamespaceSupport.i
deleted file mode 100644
index 9ae7aa1cb3a..00000000000
--- a/ACEXML/common/NamespaceSupport.i
+++ /dev/null
@@ -1,16 +0,0 @@
-// -*- C++ -*- $Id$
-
-ACE_TEMPLATE_SPECIALIZATION
-ACEXML_INLINE int
-ACE_Equal_To<ACEXML_String>::operator () (const ACEXML_String &lhs,
- const ACEXML_String &rhs) const
-{
- return lhs == rhs;
-}
-
-ACE_TEMPLATE_SPECIALIZATION
-ACE_INLINE u_long
-ACE_Hash<ACEXML_String>::operator () (const ACEXML_String &t) const
-{
- return ACE::hash_pjw (t.c_str ());
-}
diff --git a/ACEXML/common/SAXExceptions.cpp b/ACEXML/common/SAXExceptions.cpp
deleted file mode 100644
index fe0963cd169..00000000000
--- a/ACEXML/common/SAXExceptions.cpp
+++ /dev/null
@@ -1,255 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ACEXML/common/SAXExceptions.h"
-#include "ace/Log_Msg.h"
-#include "ace/ACE.h"
-
-static const ACEXML_Char ACEXML_SAXException_name[] = {
- 'A', 'C', 'E', 'X', 'M', 'L', '_',
- 'S', 'A', 'X',
- 'E', 'x', 'c', 'e', 'p', 't', 'i', 'o', 'n', 0};
-const ACEXML_Char *ACEXML_SAXException::exception_name_ = ACEXML_SAXException_name;
-
-static const ACEXML_Char ACEXML_SAXNotSupportedException_name[] = {
- 'A', 'C', 'E', 'X', 'M', 'L', '_',
- 'S', 'A', 'X',
- 'N', 'o', 't',
- 'S', 'u', 'p', 'p', 'o', 'r', 't', 'e', 'd',
- 'E', 'x', 'c', 'e', 'p', 't', 'i', 'o', 'n', 0};
-const ACEXML_Char *ACEXML_SAXNotSupportedException::exception_name_ = ACEXML_SAXNotSupportedException_name;
-
-static const ACEXML_Char ACEXML_SAXNotRecognizedException_name[] = {
- 'A', 'C', 'E', 'X', 'M', 'L', '_',
- 'S', 'A', 'X',
- 'N', 'o', 't',
- 'R', 'e', 'c', 'o', 'g', 'n', 'i', 'z', 'e', 'd',
- 'E', 'x', 'c', 'e', 'p', 't', 'i', 'o', 'n', 0};
-const ACEXML_Char *ACEXML_SAXNotRecognizedException::exception_name_ = ACEXML_SAXNotRecognizedException_name;
-
-static const ACEXML_Char ACEXML_SAXParseException_name[] = {
- 'A', 'C', 'E', 'X', 'M', 'L', '_',
- 'S', 'A', 'X',
- 'P', 'a', 'r', 's', 'e',
- 'E', 'x', 'c', 'e', 'p', 't', 'i', 'o', 'n', 0};
-const ACEXML_Char *ACEXML_SAXParseException::exception_name_ = ACEXML_SAXParseException_name;
-
-#if !defined (__ACEXML_INLINE__)
-# include "ACEXML/common/SAXExceptions.i"
-#endif /* __ACEXML_INLINE__ */
-
-ACEXML_SAXException::ACEXML_SAXException (void)
- : message_ (0)
-{
-}
-
-ACEXML_SAXException::ACEXML_SAXException (const ACEXML_Char *msg)
- : message_ (ACE::strnew (msg))
-{
-}
-
-ACEXML_SAXException::ACEXML_SAXException (const ACEXML_SAXException &ex)
- : ACEXML_Exception (ex),
- message_ (ACE::strnew (ex.message_))
-
-{
-}
-
-ACEXML_SAXException&
-ACEXML_SAXException::operator= (const ACEXML_SAXException& src)
-{
- ACEXML_SAXException temp (src);
- ACEXML_Char* message = this->message_;
- this->exception_name_ = temp.exception_name_;
- this->message_ = temp.message_;
- temp.message_ = message;
- return *this;
-}
-
-
-ACEXML_SAXException*
-ACEXML_SAXException::_downcast (ACEXML_Exception* ex)
-{
- if (ex->is_a (ACE_TEXT ("ACEXML_SAXException")))
- return ACE_dynamic_cast (ACEXML_SAXException*, ex);
- return 0;
-}
-
-ACEXML_SAXException::~ACEXML_SAXException (void)
-{
- delete[] this->message_;
-}
-
-
-
-ACEXML_Exception *
-ACEXML_SAXException::duplicate (void) const
-{
- ACEXML_Exception *tmp;
- ACE_NEW_RETURN (tmp, ACEXML_SAXException (*this), 0);
- return tmp;
-}
-
-int
-ACEXML_SAXException::is_a (const ACEXML_Char *name)
-{
- if (name == ACEXML_SAXException::exception_name_
- || ACE_OS::strcmp (ACEXML_Exception::exception_name_,
- name) == 0)
- return 1;
- else
- return this->ACEXML_Exception::is_a (name);
-
- ACE_NOTREACHED (return 0;)
-}
-
-void
-ACEXML_SAXException::print (void)
-{
- ACE_DEBUG ((LM_ERROR,
- ACE_TEXT ("ACEXML: (%P|%t) %s: %s\n"),
- this->exception_name_, this->message()));
-}
-
-ACEXML_SAXNotSupportedException::ACEXML_SAXNotSupportedException (void)
-{
-}
-
-ACEXML_SAXNotSupportedException::ACEXML_SAXNotSupportedException (const ACEXML_SAXNotSupportedException &ex)
- : ACEXML_SAXException (ex)
-{
-}
-
-ACEXML_SAXNotSupportedException::ACEXML_SAXNotSupportedException (const ACEXML_Char* msg)
- : ACEXML_SAXException (msg)
-{
-}
-
-ACEXML_SAXNotSupportedException::~ACEXML_SAXNotSupportedException (void)
-{
- delete[] this->message_;
-}
-
-
-ACEXML_Exception *
-ACEXML_SAXNotSupportedException::duplicate (void) const
-{
- ACEXML_Exception *tmp;
- ACE_NEW_RETURN (tmp, ACEXML_SAXNotSupportedException (*this), 0);
- return tmp;
-}
-
-int
-ACEXML_SAXNotSupportedException::is_a (const ACEXML_Char *name)
-{
- if (name == ACEXML_SAXNotSupportedException::exception_name_
- || ACE_OS::strcmp (ACEXML_Exception::exception_name_,
- name) == 0)
- return 1;
- else
- return this->ACEXML_SAXException::is_a (name);
-
- ACE_NOTREACHED (return 0;)
-}
-
-void
-ACEXML_SAXNotSupportedException::print (void)
-{
- ACE_DEBUG ((LM_ERROR,
- ACE_TEXT ("ACEXML: (%P|%t) %s: %s\n"),
- this->exception_name_, this->message()));
-}
-
-ACEXML_SAXNotRecognizedException::ACEXML_SAXNotRecognizedException (void)
-{
-}
-
-ACEXML_SAXNotRecognizedException::ACEXML_SAXNotRecognizedException (const ACEXML_Char *msg)
- : ACEXML_SAXException (msg)
-{
-}
-
-ACEXML_SAXNotRecognizedException::ACEXML_SAXNotRecognizedException (const ACEXML_SAXNotRecognizedException &ex)
- : ACEXML_SAXException (ex)
-{
-}
-
-ACEXML_SAXNotRecognizedException::~ACEXML_SAXNotRecognizedException (void)
-{
- delete[] this->message_;
-}
-
-ACEXML_Exception *
-ACEXML_SAXNotRecognizedException::duplicate (void) const
-{
- ACEXML_Exception *tmp;
- ACE_NEW_RETURN (tmp, ACEXML_SAXNotRecognizedException (*this), 0);
- return tmp;
-}
-
-int
-ACEXML_SAXNotRecognizedException::is_a (const ACEXML_Char *name)
-{
- if (name == ACEXML_SAXNotRecognizedException::exception_name_
- || ACE_OS::strcmp (ACEXML_Exception::exception_name_,
- name) == 0)
- return 1;
- else
- return this->ACEXML_SAXException::is_a (name);
-
- ACE_NOTREACHED (return 0;)
-}
-
-void
-ACEXML_SAXNotRecognizedException::print (void)
-{
- ACE_DEBUG ((LM_ERROR,
- ACE_TEXT ("ACEXML: (%P|%t) %s: %s\n"),
- this->exception_name_, this->message()));
-}
-
-ACEXML_SAXParseException::ACEXML_SAXParseException (void)
-{
-}
-
-ACEXML_SAXParseException::ACEXML_SAXParseException (const ACEXML_Char *msg)
- : ACEXML_SAXException (msg)
-{
-}
-
-ACEXML_SAXParseException::ACEXML_SAXParseException (const ACEXML_SAXParseException &ex)
- : ACEXML_SAXException (ex)
-{
-}
-
-ACEXML_SAXParseException::~ACEXML_SAXParseException (void)
-{
-}
-
-ACEXML_Exception *
-ACEXML_SAXParseException::duplicate (void) const
-{
- ACEXML_Exception *tmp;
- ACE_NEW_RETURN (tmp, ACEXML_SAXParseException (*this), 0);
- return tmp;
-}
-
-int
-ACEXML_SAXParseException::is_a (const ACEXML_Char *name)
-{
- if (name == ACEXML_SAXParseException::exception_name_
- || ACE_OS::strcmp (ACEXML_Exception::exception_name_,
- name) == 0)
- return 1;
- else
- return this->ACEXML_SAXException::is_a (name);
-
- ACE_NOTREACHED (return 0;)
-}
-
-void
-ACEXML_SAXParseException::print (void)
-{
- ACE_DEBUG ((LM_ERROR,
- ACE_TEXT ("ACEXML: (%P|%t) %s: %s\n"),
- this->exception_name_, this->message()));
-}
diff --git a/ACEXML/common/SAXExceptions.h b/ACEXML/common/SAXExceptions.h
deleted file mode 100644
index 8b73da50471..00000000000
--- a/ACEXML/common/SAXExceptions.h
+++ /dev/null
@@ -1,198 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file SAXExceptions.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef _ACEXML_SAXEXCEPTIONS_H_
-#define _ACEXML_SAXEXCEPTIONS_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/Exception.h"
-
-/**
- * @class ACEXML_SAXException SAXExceptions.h "ACEXML/common/SAXExceptions.h"
- *
- * @brief ACEXML_SAXException
- *
- * ACEXML_SAXException is the mother of all SAX related exceptions.
- */
-class ACEXML_Export ACEXML_SAXException : public ACEXML_Exception
-{
-public:
- /// Default constructor.
- ACEXML_SAXException (void);
-
- /// Constructor initializing the exception message.
- ACEXML_SAXException (const ACEXML_Char *msg);
-
- /// Assignment operator
- ACEXML_SAXException& operator= (const ACEXML_SAXException& src);
-
- /// Copy constructor.
- ACEXML_SAXException (const ACEXML_SAXException &ex);
-
- /// Destructor.
- virtual ~ACEXML_SAXException (void);
-
- /// Throw the exception.
- virtual void _raise (void);
-
- /// Static narrow operation.
- static ACEXML_SAXException* _downcast (ACEXML_Exception* ex);
-
- /// Return the name of the exception.
- virtual const ACEXML_Char *id (void) const;
-
- /// Return the extra message accompanying the exception.
- const ACEXML_Char *message (void);
-
- virtual ACEXML_Exception *duplicate (void) const;
-
- virtual int is_a (const ACEXML_Char *name);
-
- virtual void print (void);
-
-protected:
- static const ACEXML_Char *exception_name_;
-
- /// A message providing more information about the exception being thrown.
- ACEXML_Char *message_;
-};
-
-/**
- * @class ACEXML_SAXNotSupportedException SAXExceptions.h "ACEXML/common/SAXExceptions.h"
- *
- * @brief ACEXML_SAXNotSupportedException
- */
-class ACEXML_Export ACEXML_SAXNotSupportedException
- : public ACEXML_SAXException
-{
-public:
- /// Default constructor.
- ACEXML_SAXNotSupportedException (void);
-
- /// Copy constructor.
- ACEXML_SAXNotSupportedException (const ACEXML_SAXNotSupportedException &ex);
-
- /// Constructor which accepts an informational message
- ACEXML_SAXNotSupportedException (const ACEXML_Char* msg);
-
- /// Destructor.
- virtual ~ACEXML_SAXNotSupportedException (void);
-
- /// Throw the exception.
- virtual void _raise (void);
-
- /// Static narrow operation.
- static ACEXML_SAXNotSupportedException* _downcast (ACEXML_Exception* ex);
-
- virtual const ACEXML_Char *id (void) const;
-
- virtual ACEXML_Exception *duplicate (void) const;
-
- virtual int is_a (const ACEXML_Char *name);
-
- virtual void print (void);
-
-protected:
- static const ACEXML_Char *exception_name_;
-};
-
-/**
- * @class ACEXML_SAXNotRecognizedException SAXExceptions.h "ACEXML/common/SAXExceptions.h"
- *
- * @brief ACEXML_SAXNotRecognizedException
- */
-class ACEXML_Export ACEXML_SAXNotRecognizedException
- : public ACEXML_SAXException
-{
-public:
- /// Default constructor.
- ACEXML_SAXNotRecognizedException (void);
-
- /// Constructor with an initializing exception message.
- ACEXML_SAXNotRecognizedException (const ACEXML_Char *msg);
-
- /// Copy constructor.
- ACEXML_SAXNotRecognizedException (const ACEXML_SAXNotRecognizedException &ex);
- /// Destructor.
- virtual ~ACEXML_SAXNotRecognizedException (void);
-
- /// Throw the exception.
- virtual void _raise (void);
-
- /// Static narrow operation.
- static ACEXML_SAXNotRecognizedException* _downcast (ACEXML_Exception* ex);
-
- virtual const ACEXML_Char *id (void) const;
-
- virtual ACEXML_Exception *duplicate (void) const;
-
- virtual int is_a (const ACEXML_Char *name);
-
- virtual void print (void);
-
-protected:
- static const ACEXML_Char *exception_name_;
-};
-
-/**
- * @class ACEXML_SAXParseException SAXExceptions.h "ACEXML/common/SAXExceptions.h"
- *
- * @brief ACEXML_SAXParseException
- *
- */
-class ACEXML_Export ACEXML_SAXParseException
- : public ACEXML_SAXException
-{
-public:
- /// Default constructor.
- ACEXML_SAXParseException (void);
-
- /// Constructor with an initializing exception message.
- ACEXML_SAXParseException (const ACEXML_Char *msg);
-
- /// Copy constructor.
- ACEXML_SAXParseException (const ACEXML_SAXParseException &ex);
-
- /// Destructor.
- virtual ~ACEXML_SAXParseException (void);
-
- /// Throw the exception.
- virtual void _raise (void);
-
- /// Static narrow operation.
- static ACEXML_SAXParseException* _downcast (ACEXML_Exception* ex);
-
- virtual const ACEXML_Char *id (void) const;
-
- virtual ACEXML_Exception *duplicate (void) const;
-
- virtual int is_a (const ACEXML_Char *name);
-
- virtual void print (void);
-
-protected:
- static const ACEXML_Char *exception_name_;
-};
-
-#if defined (__ACEXML_INLINE__)
-# include "ACEXML/common/SAXExceptions.i"
-#endif /* __ACEXML_INLINE__ */
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_SAXEXCEPTIONS_H_ */
diff --git a/ACEXML/common/SAXExceptions.i b/ACEXML/common/SAXExceptions.i
deleted file mode 100644
index 3aee40632b5..00000000000
--- a/ACEXML/common/SAXExceptions.i
+++ /dev/null
@@ -1,57 +0,0 @@
-// -*- C++ -*- $Id$
-
-ACEXML_INLINE const ACEXML_Char *
-ACEXML_SAXException::message (void)
-{
- return (this->message_ == 0 ?
- ACEXML_Exception::null_ :
- this->message_);
-}
-
-ACEXML_INLINE void
-ACEXML_SAXException::_raise (void)
-{
- ACEXML_RAISE (*this);
-}
-
-ACEXML_INLINE void
-ACEXML_SAXNotSupportedException::_raise (void)
-{
- ACEXML_RAISE (*this);
-}
-
-ACEXML_INLINE void
-ACEXML_SAXNotRecognizedException::_raise (void)
-{
- ACEXML_RAISE (*this);
-}
-
-ACEXML_INLINE void
-ACEXML_SAXParseException::_raise (void)
-{
- ACEXML_RAISE (*this);
-}
-
-ACEXML_INLINE const ACEXML_Char *
-ACEXML_SAXException::id (void) const
-{
- return ACEXML_SAXException::exception_name_;
-}
-
-ACEXML_INLINE const ACEXML_Char *
-ACEXML_SAXNotSupportedException::id (void) const
-{
- return ACEXML_SAXNotSupportedException::exception_name_;
-}
-
-ACEXML_INLINE const ACEXML_Char *
-ACEXML_SAXNotRecognizedException::id (void) const
-{
- return ACEXML_SAXNotRecognizedException::exception_name_;
-}
-
-ACEXML_INLINE const ACEXML_Char *
-ACEXML_SAXParseException::id (void) const
-{
- return ACEXML_SAXParseException::exception_name_;
-}
diff --git a/ACEXML/common/StrCharStream.cpp b/ACEXML/common/StrCharStream.cpp
deleted file mode 100644
index 26211eeff70..00000000000
--- a/ACEXML/common/StrCharStream.cpp
+++ /dev/null
@@ -1,135 +0,0 @@
-// $Id$
-
-#include "ACEXML/common/StrCharStream.h"
-#include "ACEXML/common/Encoding.h"
-#include "ace/ACE.h"
-#include "ace/Log_Msg.h"
-
-ACEXML_StrCharStream::ACEXML_StrCharStream (void)
- : start_ (0), ptr_ (0), end_ (0), encoding_ (0)
-{
-}
-
-ACEXML_StrCharStream::ACEXML_StrCharStream (const ACEXML_Char *str)
- : start_ (0), ptr_ (0), end_ (0), encoding_ (0)
-{
- this->open (str);
-}
-
-
-ACEXML_StrCharStream::~ACEXML_StrCharStream (void)
-{
- this->close();
-}
-
-int
-ACEXML_StrCharStream::open (const ACEXML_Char *str)
-{
- delete[] this->start_;
- delete[] this->encoding_;
-
- if (str != 0 && (this->start_ = ACE::strnew (str)) != 0)
- {
- this->ptr_ = this->start_;
- this->end_ = this->start_ + ACE_OS_String::strlen (this->start_);
- this->determine_encoding();
- return 0;
- }
-
- this->start_ = this->ptr_ = this->end_ = 0;
- return -1; // Invalid string passed.
-}
-
-int
-ACEXML_StrCharStream::available (void)
-{
- if (this->start_ != 0)
- return (this->end_ - this->start_); // @@ Will this work on all platforms?
- return -1;
-}
-
-int
-ACEXML_StrCharStream::close (void)
-{
- delete[] this->start_;
- delete[] this->encoding_;
- this->start_ = this->ptr_ = this->end_ = 0;
- return 0;
-}
-
-int
-ACEXML_StrCharStream::determine_encoding (void)
-{
- char input[4];
- int retval = 0;
- char* sptr = (char*)this->start_;
- int i = 0;
- for ( ; i < 4 && sptr != (char*)this->end_; ++sptr, ++i)
- {
- retval = input[i] = *sptr;
- }
- if (i < 4)
- return -1;
- const ACEXML_Char* temp = ACEXML_Encoding::get_encoding (input);
- if (!temp)
- return -1;
- if (ACE_OS::strcmp (temp,
- ACEXML_Encoding::encoding_names_[ACEXML_Encoding::OTHER]) == 0)
- return -1;
- else
- {
- this->encoding_ = ACE::strnew (temp);
- ACE_DEBUG ((LM_DEBUG, "String's encoding is %s\n", this->encoding_));
- }
- return 0;
-}
-
-void
-ACEXML_StrCharStream::rewind (void)
-{
- this->ptr_ = this->start_;
-}
-
-int
-ACEXML_StrCharStream::get (ACEXML_Char& ch)
-{
- if (this->start_ != 0 && this->ptr_ != this->end_)
- {
- ch = *this->ptr_++;
-
- return 0;
- }
-
- return -1;
-}
-
-int
-ACEXML_StrCharStream::read (ACEXML_Char *str,
- size_t len)
-{
- if (this->start_ != 0 &&
- this->ptr_ != this->end_)
- {
- if ((int) len > this->end_ - this->ptr_)
- len = this->end_ - this->ptr_;
-
- ACE_OS_String::strncpy (str, this->ptr_, len);
- this->ptr_ += len;
- return len;
- }
- return 0;
-}
-
-int
-ACEXML_StrCharStream::peek (void)
-{
- if (this->start_ != 0 && this->ptr_ != this->end_)
- return *this->ptr_;
- return -1;
-}
-
-const ACEXML_Char*
-ACEXML_StrCharStream::getEncoding (void)
-{
- return this->encoding_;
-}
diff --git a/ACEXML/common/StrCharStream.h b/ACEXML/common/StrCharStream.h
deleted file mode 100644
index 6321decb9a2..00000000000
--- a/ACEXML/common/StrCharStream.h
+++ /dev/null
@@ -1,100 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file StrCharStream.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef _ACEXML_STRCHARSTREAM_H_
-#define _ACEXML_STRCHARSTREAM_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/CharStream.h"
-
-/**
- * @class ACEXML_StrCharStream StrCharStream.h "common/StrCharStream.h"
- *
- * An implementation of ACEXML_CharStream for reading
- * input from a null-terminated ACEXML_Char string.
- */
-class ACEXML_Export ACEXML_StrCharStream : public ACEXML_CharStream
-{
-public:
- /// Default constructor.
- ACEXML_StrCharStream (void);
-
- /// Initializing Constructor.
- ACEXML_StrCharStream (const ACEXML_Char *str);
-
- /// Destructor
- virtual ~ACEXML_StrCharStream (void);
-
- /// Initializing and reset the StrCharStream with @a str.
- int open (const ACEXML_Char *str);
-
- /**
- * Returns the available ACEXML_Char in the buffer. -1
- * if the object is not initialized properly.
- */
- virtual int available (void);
-
- /**
- * Close this stream and release all resources used by it.
- */
- virtual int close (void);
-
- /**
- * Determine the encoding of the file.
- */
- virtual int determine_encoding (void);
-
- /**
- * Read the next ACEXML_Char. Return -1 if we are not able to
- * return an ACEXML_Char, 0 if EOS is reached, or 1 if succeed.
- */
- virtual int get (ACEXML_Char& ch);
-
- /**
- * Read the next batch of ACEXML_Char strings
- */
- virtual int read (ACEXML_Char *str,
- size_t len);
-
- /**
- * Peek the next ACEXML_Char in the CharStream. Return the
- * character if succeess, -1 if EOS is reached.
- */
- virtual int peek (void);
-
- /*
- * Get the character encoding for a byte stream or URI.
- */
- virtual const ACEXML_Char *getEncoding (void);
-
- /**
- * Resets the pointer to the beginning of the stream.
- */
- virtual void rewind (void);
-
-private:
- ACEXML_Char *start_;
- ACEXML_Char *ptr_;
- ACEXML_Char *end_;
- ACEXML_Char* encoding_;
-
-};
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_STRCHARSTREAM_H_ */
diff --git a/ACEXML/common/StreamFactory.cpp b/ACEXML/common/StreamFactory.cpp
deleted file mode 100644
index 80edc8a265f..00000000000
--- a/ACEXML/common/StreamFactory.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-// $Id$
-
-#include "ACEXML/common/StreamFactory.h"
-#include "ACEXML/common/FileCharStream.h"
-#include "ACEXML/common/HttpCharStream.h"
-
-ACE_RCSID (common, StreamFactory, "$Id$")
-
-ACEXML_CharStream*
-ACEXML_StreamFactory::create_stream (const ACEXML_Char* uri)
-{
- if (uri == 0)
- return 0;
-
- ACEXML_FileCharStream* fstream = 0;
- ACEXML_HttpCharStream* hstream = 0;
-
- if (ACE_OS::strstr (uri, ACE_TEXT("ftp://")) != 0)
- {
- return 0;
- }
- else if (ACE_OS::strstr (uri, ACE_TEXT ("http://")) != 0)
- {
- ACE_NEW_RETURN (hstream, ACEXML_HttpCharStream, 0);
- if (hstream->open (uri) != -1)
- return hstream;
- else
- return 0;
- }
- else
- {
- ACE_NEW_RETURN (fstream, ACEXML_FileCharStream, 0);
- if (fstream->open (uri) != -1)
- return fstream;
- else
- return 0;
- }
-}
-
-ACEXML_StreamFactory::~ACEXML_StreamFactory ()
-{
- // No op
-}
diff --git a/ACEXML/common/StreamFactory.h b/ACEXML/common/StreamFactory.h
deleted file mode 100644
index fcfda00154a..00000000000
--- a/ACEXML/common/StreamFactory.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
- * @file StreamFactory.h
- *
- * $Id$
- *
- * @author Krishnakumar B <kitty@cs.wustl.edu>
- */
-
-#ifndef _ACEXML_STREAM_FACTORY_H
-#define _ACEXML_STREAM_FACTORY_H
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/XML_Types.h"
-
-// Forward declarations
-
-class ACEXML_CharStream;
-
-/**
- * @class ACEXML_StreamFactory StreamFactory.h "ACEXML/common/ACEXML_StreamFactory.h"
- *
- * @brief A generic factory used to create an appropriate @sa
- * ACEXML_CharStream from a SYSTEM id. This class creates a @sa
- * ACEXML_FileCharStream or a @sa ACEXML_HttpCharStream depending on the
- * URI supplied.
- *
- * @todo Write a stream abstraction for handling ftp:// type URIs and add
- * a function to create and return such streams. That is the only chunk
- * missing in the armour.
- */
-
-class ACEXML_Export ACEXML_StreamFactory
-{
-public:
-
- // Destructor
- virtual ~ACEXML_StreamFactory (void);
-
- /**
- * Create the appropriate stream from the @a uri passed and return the
- * stream. The caller is responsible for deallocating the returned
- * stream.
- *
- * @param uri SYSTEM id or a stream of characters (in the case of a
- * StrCharStream).
- */
- virtual ACEXML_CharStream* create_stream (const ACEXML_Char* uri);
-};
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_STREAM_FACTORY_H */
diff --git a/ACEXML/common/Transcode.cpp b/ACEXML/common/Transcode.cpp
deleted file mode 100644
index 4007d346494..00000000000
--- a/ACEXML/common/Transcode.cpp
+++ /dev/null
@@ -1,83 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ACEXML/common/Transcode.h"
-
-#if !defined (__ACEXML_INLINE__)
-# include "ACEXML/common/Transcode.i"
-#endif /* __ACEXML_INLINE__ */
-
-int
-ACEXML_Transcoder::utf8s2utf16s (const ACEXML_UTF8 *src,
- ACEXML_UTF16 *dst,
- size_t len)
-{
- if (src == 0 || dst == 0)
- return INVALID_ARGS;
-
- size_t src_len = ACE_OS::strlen (src) + 1;
-
- size_t total_len = 0;
- int forward;
- ACEXML_UCS4 temp;
-
- while (src_len > 0)
- {
- if ((forward = ACEXML_Transcoder::utf82ucs4 (src,
- src_len,
- temp)) <= 0)
- return forward;
-
- src += forward;
- src_len -= forward;
-
- if ((forward = ACEXML_Transcoder::ucs42utf16 (temp,
- dst,
- len)) <= 0)
- return forward;
-
- total_len += forward;
- dst += forward;
- len -= forward;
- }
-
- return total_len;
-}
-
-int
-ACEXML_Transcoder::utf16s2utf8s (const ACEXML_UTF16 *src,
- ACEXML_UTF8 *dst,
- size_t len)
-{
- if (src == 0 || dst == 0)
- return INVALID_ARGS;
-
- size_t src_len = 1;
- for (const ACEXML_UTF16 *p = src; *p++ != 0; ++src_len)
- ;
-
- size_t total_len = 0;
- int forward;
- ACEXML_UCS4 temp;
-
- while (src_len > 0)
- {
- if ((forward = ACEXML_Transcoder::utf162ucs4 (src,
- src_len,
- temp)) <= 0)
- return forward;
-
- src += forward;
- src_len -= forward;
-
- if ((forward = ACEXML_Transcoder::ucs42utf8 (temp,
- dst,
- len)) <= 0)
- return forward;
-
- total_len += forward;
- dst += forward;
- len -= forward;
- }
-
- return total_len;
-}
diff --git a/ACEXML/common/Transcode.h b/ACEXML/common/Transcode.h
deleted file mode 100644
index 427784891db..00000000000
--- a/ACEXML/common/Transcode.h
+++ /dev/null
@@ -1,176 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Transcode.h
- *
- * This file declares functions to convert char string among different
- * unicode encoding (utf8, utf16, utf32)
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef _ACEXML_TRANSCODE_H_
-#define _ACEXML_TRANSCODE_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/XML_Types.h"
-
-/**
- * @class ACEXML_Transcoder Transcode.h "ACEXML/common/Transcode.h"
- *
- * @brief ACEXML_Transcoder
- *
- * Wrapper class for performing transcoding among different UNICODE
- * encoding.
- */
-class ACEXML_Export ACEXML_Transcoder
-{
-public:
- /*
- * Status of the conversion function.
- */
- enum
- {
- SUCCESS = 0,
- DESTINATION_TOO_SHORT = -1,
- END_OF_SOURCE = -2,
- INVALID_ARGS = -3,
- IS_SURROGATE = -4,
- NON_UNICODE = -5
- } STATUS;
-
-
- // The following functions translate a unicode characters
- // into different encoding. Return number of characters put into
- // destination or consumed from src if success without
- // error, otherwise, return corresponding error code.
- /*
- * Convert a UTF-16 character into a string in UTF-8 encoding.
- *
- * @return number of characters the function uses to store the
- * converted string if succeeds or one of the error STATUS
- * otherwise.
- */
- static int utf162utf8 (ACEXML_UTF16 src,
- ACEXML_UTF8 *dst,
- size_t len);
-
- /*
- * Convert a UCS-4 character into a string in UTF-8 encoding.
- *
- * @return number of characters the function uses to store the
- * converted string if succeeds or one of the error STATUS
- * otherwise.
- */
- static int ucs42utf8 (ACEXML_UCS4 src,
- ACEXML_UTF8 *dst,
- size_t len);
-
- /*
- * Convert a UCS-4 character into a string in UTF-16 encoding.
- *
- * @return number of characters the function uses to store the
- * converted string if succeeds or one of the error STATUS
- * otherwise.
- */
- static int ucs42utf16 (ACEXML_UCS4 src,
- ACEXML_UTF16 *dst,
- size_t len);
-
- /*
- * Convert a UTF-16 surrogate character pair into a string in UTF-8 encoding.
- *
- * @return number of characters the function uses to store the
- * converted string if succeeds or one of the error STATUS
- * otherwise.
- */
- static int surrogate2utf8 (ACEXML_UTF16 high,
- ACEXML_UTF16 low,
- ACEXML_UTF8 *dst,
- size_t len);
-
- /*
- * Convert a UTF-16 surrogate character pair into a UCS-4 character.
- *
- * @return SUCCESS if succeeds or one of the error STATUS
- * otherwise.
- */
- static int surrogate2ucs4 (ACEXML_UTF16 high,
- ACEXML_UTF16 low,
- ACEXML_UCS4 &dst);
-
- /*
- * Convert the first UNICODE character in a UTF-8 character string
- * into a UCS-4 character.
- *
- * @return number of characters the function consumed from the
- * UTF-8 string if succeeds or one of the error STATUS
- * otherwise.
- */
- static int utf82ucs4 (const ACEXML_UTF8 *src,
- size_t len,
- ACEXML_UCS4 &dst);
-
- /*
- * Convert the first UNICODE character in a UTF-16 character string
- * into a UCS-4 character.
- *
- * @return number of characters the function consumed from the
- * UTF-16 string if succeeds or one of the error STATUS
- * otherwise.
- */
- static int utf162ucs4 (const ACEXML_UTF16 *src,
- size_t len,
- ACEXML_UCS4 &dst);
-
-// static int utf82utf16 (const ACEXML_UTF8 *src,
-// size_t len,
-// ACEXML_UTF16 &dst);
- // This function does not handle surrogates.
-
- // = The following functions are non-inlined:
-
- /*
- * Convert a UTF-8 string into a UTF-16 string.
- *
- * @param len The length of @a dst string.
- *
- * @return number of characters the function consumed from the
- * UTF-8 string if succeeds or one of the error STATUS
- * otherwise.
- */
- static int utf8s2utf16s (const ACEXML_UTF8 *src,
- ACEXML_UTF16 *dst,
- size_t len);
-
- /*
- * Convert a UTF-16 string into a UTF-8 string.
- *
- * @param len The length of @a dst string.
- *
- * @return number of characters the function uses in
- * UTF-8 string if succeeds or one of the error STATUS
- * otherwise.
- */
- static int utf16s2utf8s (const ACEXML_UTF16 *src,
- ACEXML_UTF8 *dst,
- size_t len);
-};
-
-#if defined (__ACEXML_INLINE__)
-# include "ACEXML/common/Transcode.i"
-#endif /* __ACEXML_INLINE__ */
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_TRANSCODE_H_ */
diff --git a/ACEXML/common/Transcode.i b/ACEXML/common/Transcode.i
deleted file mode 100644
index e9ec3936e80..00000000000
--- a/ACEXML/common/Transcode.i
+++ /dev/null
@@ -1,234 +0,0 @@
-// -*- C++ -*- $Id$
-
-ACEXML_INLINE int
-ACEXML_Transcoder::utf162utf8 (ACEXML_UTF16 src,
- ACEXML_UTF8 *dst,
- size_t len)
-{
- // Check for valid argument first...
-
- if (dst == 0)
- return INVALID_ARGS;
-
- if (src < 0x80)
- {
- if (len < 1)
- return DESTINATION_TOO_SHORT;
-
- *dst = ACE_static_cast (ACEXML_UTF8, src);
- return 1;
- }
- else if (src < 0x800)
- {
- if (len < 2)
- return DESTINATION_TOO_SHORT;
-
- *dst = 0xc0 | (src / 0x40);
- *(dst+1) = 0x80 | (src % 0x40);
- return 2;
- }
- else
- {
- if (len < 3)
- return DESTINATION_TOO_SHORT;
-
- // Surrogates (0xD800 - 0xDFFF) are not valid unicode values
- if (src >= 0xD800 && src < 0xE000)
- return IS_SURROGATE;
-
- *dst = 0xe0 | (src / 0x1000);
- *(dst+1) = 0x80 | ((src % 0x1000) / 0x40);
- *(dst+2) = 0x80 | (src % 0x40);
- return 3;
- }
- ACE_NOTREACHED (return NON_UNICODE;)
-}
-
-ACEXML_INLINE int
-ACEXML_Transcoder::ucs42utf8 (ACEXML_UCS4 src,
- ACEXML_UTF8 *dst,
- size_t len)
-{
- if (src < 0x10000)
- {
- int retv = ACEXML_Transcoder::utf162utf8
- (ACE_static_cast (ACEXML_UTF16, src),
- dst, len);
- return (retv == IS_SURROGATE ? NON_UNICODE : retv);
- }
- else if (src >= 0x100000 && src < 0x110000)
- {
- if (len < 4)
- return DESTINATION_TOO_SHORT;
-
- if (dst == 0)
- return INVALID_ARGS;
-
- *dst = 0xf0 | (src / 0x40000);
- *(dst+1) = 0x80 | ((src % 0x40000) / 0x1000);
- *(dst+2) = 0x80 | ((src % 0x1000) / 0x40);
- *(dst+3) = 0x80 | (src % 0x40);
- return 4;
- }
- return NON_UNICODE;
-}
-
-
-ACEXML_INLINE int
-ACEXML_Transcoder::ucs42utf16 (ACEXML_UCS4 src,
- ACEXML_UTF16 *dst,
- size_t len)
-{
- if (dst == 0)
- return INVALID_ARGS;
-
- if (src < 0x10000)
- {
- if (len < 1)
- return DESTINATION_TOO_SHORT;
-
- if (src >= 0xD800 && src < 0xE000)
- return NON_UNICODE; // Surrogates are not valid unicode value
-
- *dst = ACE_static_cast (ACEXML_UTF16, src);
- return 1;
- }
- else if (src >= 0x100000 && src < 0x110000)
- // Scalar values are encoded into surrogates
- {
- if (len < 2)
- return DESTINATION_TOO_SHORT;
-
- *dst = 0xD800 | (src / 0x400);
- *(dst+1) = 0xDC00 | (src % 0x400);
- return 2;
- }
-
- return NON_UNICODE;
-}
-
-ACEXML_INLINE int
-ACEXML_Transcoder::surrogate2utf8 (ACEXML_UTF16 high,
- ACEXML_UTF16 low,
- ACEXML_UTF8 *dst,
- size_t len)
-{
- if (len < 3)
- return DESTINATION_TOO_SHORT;
-
- if (dst == 0 ||
- (high >= 0xD800 && high < 0xDC00) ||
- (low >= 0xDC00 && low < 0xE000))
- return INVALID_ARGS;
-
- ACEXML_UCS4 src = (high - 0xD800) * 0x400 + (low - 0xDC00) + 0x10000;
- *dst = 0xD800 | (src / 0x400);
- *(dst+1) = 0xDC00 | (src % 0x400);
- return 2;
-}
-
-ACEXML_INLINE int
-ACEXML_Transcoder::surrogate2ucs4 (ACEXML_UTF16 high,
- ACEXML_UTF16 low,
- ACEXML_UCS4 &dst)
-{
- if ((high >= 0xD800 && high < 0xDC00) ||
- (low >= 0xDC00 && low < 0xE000))
- return INVALID_ARGS;
-
- dst = (high - 0xD800) * 0x400 + (low - 0xDC00) + 0x10000;
- return SUCCESS;
-}
-
-ACEXML_INLINE int
-ACEXML_Transcoder::utf82ucs4 (const ACEXML_UTF8 *the_src,
- size_t len,
- ACEXML_UCS4 &dst)
-{
- if (the_src == 0)
- return INVALID_ARGS;
-
- const unsigned char *src = ACE_reinterpret_cast (const unsigned char *,
- the_src);
-
- size_t forward = 1;
-
- if (forward > len)
- return END_OF_SOURCE;
-
- if (ACE_static_cast (unsigned char, *src) < 0x80)
- dst = *src;
- else if ((*src & 0xE0) == 0xC0)
- {
- dst = (*(src++) & 0x1f) * 0x40;
- if (++forward > len)
- return END_OF_SOURCE;
- if ((*src & 0xC0) != 0x80)
- return NON_UNICODE; // Error transcoding unicode scalar
- dst += *src & 0x3f;
- }
- else if ((*src & 0xF0) == 0xE0)
- {
- dst = (*src++ & 0x0f) * 0x40;
- if (++forward > len)
- return END_OF_SOURCE;
- if ((*src & 0xC0) != 0x80)
- return NON_UNICODE;
- dst = (dst + (*src++ & 0x3f)) * 0x40;
- if (++forward > len)
- return END_OF_SOURCE;
- if ((*src & 0xC0) != 0x80)
- return NON_UNICODE;
- dst += *src & 0x3f;
- }
- else if ((*src & 0xF8) == 0xF0)
- {
- dst = (*src++ & 0x0f) * 0x40;
- if (++forward > len)
- return END_OF_SOURCE;
- if ((*src & 0xC0) != 0x80)
- return NON_UNICODE;
- dst = (dst + (*src++ & 0x3f)) * 0x40;
- if (++forward > len)
- return END_OF_SOURCE;
- if ((*src & 0xC0) != 0x80)
- return NON_UNICODE;
- dst = (dst + (*src++ & 0x3f)) * 0x40;
- if (++forward > len)
- return END_OF_SOURCE;
- if ((*src & 0xC0) != 0x80)
- return NON_UNICODE;
- dst += *src & 0x3f;
- }
- else
- return NON_UNICODE;
-
- return forward;
-}
-
-ACEXML_INLINE int
-ACEXML_Transcoder::utf162ucs4 (const ACEXML_UTF16 *src,
- size_t len,
- ACEXML_UCS4 &dst)
-{
- if (src == 0)
- return INVALID_ARGS;
-
- size_t forward = 1;
- if (*src >= 0xDC00 && *src < 0xE000)
- {
- if (len < 2)
- return END_OF_SOURCE;
- return ACEXML_Transcoder::surrogate2ucs4 (*src,
- *(src+1),
- dst);
- }
- else
- {
- if (len < 1)
- return END_OF_SOURCE;
- dst = *src;
- }
-
- return forward;
-}
diff --git a/ACEXML/common/URL_Addr.cpp b/ACEXML/common/URL_Addr.cpp
deleted file mode 100644
index 3f06e15f7be..00000000000
--- a/ACEXML/common/URL_Addr.cpp
+++ /dev/null
@@ -1,178 +0,0 @@
-// $Id$
-
-#include "ace/Log_Msg.h"
-#include "ace/Auto_Ptr.h"
-#include "ACEXML/common/URL_Addr.h"
-
-
-ACE_RCSID(common, ACEXML_URL_Addr, "$Id$")
-
-#if !defined (__ACEXML_INLINE__)
-#include "ACEXML/common/URL_Addr.inl"
-#endif /* __ACEXML_INLINE__ */
-
-ACEXML_URL_Addr::ACEXML_URL_Addr (void)
- : path_name_ (0),
- addr_string_ (0),
- addr_string_len_ (0)
-{
-}
-
-int
-ACEXML_URL_Addr::addr_to_string (ACEXML_Char *s,
- size_t size,
- int ipaddr_format) const
-{
- size_t total_len = this->calculate_length (ipaddr_format);
- if (size < total_len)
- return -1;
- else
- {
- ACE_OS::sprintf (s, ACE_TEXT ("%s:%d/%s"),
- ACE_TEXT_CHAR_TO_TCHAR (ipaddr_format == 0
- ? this->get_host_name ()
- : this->get_host_addr ()),
- this->get_port_number (),
- this->get_path_name ());
- return 0;
- }
-}
-
-const ACEXML_Char *
-ACEXML_URL_Addr::addr_to_string (int ipaddr_format)
-{
- size_t size = this->calculate_length (ipaddr_format);
- if (size > this->addr_string_len_)
- {
- ACE_ALLOCATOR_RETURN (this->addr_string_,
- (ACEXML_Char *) ACE_OS::realloc(this->addr_string_,
- size), 0);
- this->addr_string_len_ = size;
- }
- ACE_OS::sprintf (this->addr_string_,
- ACE_TEXT ("%s:%d/%s"),
- ACE_TEXT_CHAR_TO_TCHAR (ipaddr_format == 0
- ? this->get_host_name ()
- : this->get_host_addr ()),
- this->get_port_number (),
- this->get_path_name ());
- return this->addr_string_;
-}
-
-#if defined (ACE_USES_WCHAR)
-int
-ACEXML_URL_Addr::string_to_addr (const char* s)
-{
- return this->string_to_addr (ACE_TEXT_CHAR_TO_TCHAR (s));
-}
-#endif /* ACE_USES_WCHAR */
-
-int
-ACEXML_URL_Addr::string_to_addr (const ACEXML_Char* s)
-{
- if (s == 0)
- return -1;
-
- const ACEXML_Char* http = ACE_TEXT ("http://");
- size_t http_len = ACE_OS::strlen (http);
-
- // Check validity of URL
- if (ACE_OS::strncmp (http, s, http_len) != 0)
- ACE_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("Invalid URL %s\n"), s), -1);
-
- const ACEXML_Char* url = 0;
- // Get the host name
- for (url = s + http_len; *url != '\0' && *url != ':' && *url != '/'; ++url)
- ;
-
- size_t host_len = url - s;
- host_len -= http_len;
-
- ACEXML_Char* host_name = 0;
- ACE_NEW_RETURN (host_name, ACEXML_Char[host_len + 1], -1);
- ACE_OS::strncpy (host_name, s + http_len, host_len);
- host_name[host_len] = '\0';
- ACE_Auto_Basic_Array_Ptr<ACEXML_Char> cleanup_host_name (host_name);
-
- // Get the port number (if any)
- unsigned short port = ACE_DEFAULT_HTTP_PORT;
- if (*url == ':')
- {
- port = (unsigned short) ACE_OS::strtol (++url, 0, 10); // Skip over ':'
- while ( *url != '\0' && *url != '/' )
- ++url;
- }
-
- // Set the addr
- int result = this->ACE_INET_Addr::set (port, host_name);
-
- if (result == -1)
- return -1;
-
- // Get the path name
- const ACEXML_Char* path_name = 0;
- if (*url == '\0')
- path_name = ACE_TEXT ("/");
- else
- path_name = url;
-
- ACE_ALLOCATOR_RETURN (this->path_name_, ACE_OS::strdup (path_name), -1);
- return result;
-}
-
-ACEXML_URL_Addr::ACEXML_URL_Addr (const ACEXML_URL_Addr &addr)
- : ACE_INET_Addr (),
- path_name_ (0),
- addr_string_ (0),
- addr_string_len_ (0)
-{
- if (this->set (addr) == -1)
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT ("%p\n"),
- ACE_TEXT ("ACEXML_URL_Addr::ACEXML_URL_Addr")));
-}
-
-int
-ACEXML_URL_Addr::set (const ACEXML_URL_Addr &addr)
-{
- ACE_OS::free (this->path_name_);
- ACE_OS::free (this->addr_string_);
- if (this->ACE_INET_Addr::set (addr) == -1)
- return -1;
- else
- {
- if (addr.path_name_)
- ACE_ALLOCATOR_RETURN (this->path_name_,
- ACE_OS::strdup (addr.path_name_),
- -1);
- if (addr.addr_string_)
- ACE_ALLOCATOR_RETURN (this->addr_string_,
- ACE_OS::strdup (addr.addr_string_),
- -1);
- this->addr_string_len_ = addr.addr_string_len_;
- return 0;
- }
-}
-
-ACEXML_URL_Addr::ACEXML_URL_Addr (const ACEXML_Char *host_name,
- const ACEXML_Char *path_name,
- unsigned short port)
- : ACE_INET_Addr (port, host_name),
- path_name_ (ACE_OS::strdup (path_name)),
- addr_string_ (0),
- addr_string_len_ (0)
-{
-}
-
-ACEXML_URL_Addr::~ACEXML_URL_Addr (void)
-{
- ACE_OS::free (this->path_name_);
- ACE_OS::free (this->addr_string_);
- this->path_name_ = 0;
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class ACE_Auto_Basic_Array_Ptr<ACEXML_Char>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate ACE_Auto_Basic_Array_Ptr<ACEXML_Char>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/ACEXML/common/URL_Addr.h b/ACEXML/common/URL_Addr.h
deleted file mode 100644
index fec3c560526..00000000000
--- a/ACEXML/common/URL_Addr.h
+++ /dev/null
@@ -1,134 +0,0 @@
-/* -*- C++ -*- */
-
-/** @file URL_Addr.h
- *
- * $Id$
- *
- * @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
- * @author Krishnakumar B <kitty@cs.wustl.edu>
- *
- */
-
-#ifndef _ACEXML_URL_ADDR_H
-#define _ACEXML_URL_ADDR_H
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ace/INET_Addr.h"
-#include "ACEXML/common/XML_Types.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-/**
- * @class ACEXML_URL_Addr URL_Addr.h "ACEXML/common/URL_Addr.h"
- *
- * Defines a URL address family address format.
- */
-class ACEXML_Export ACEXML_URL_Addr : public ACE_INET_Addr
-{
-public:
- /// Initialization and termination methods.
- ACEXML_URL_Addr (void);
-
- /// Constructor.
- ACEXML_URL_Addr (const ACEXML_Char *host_name,
- const ACEXML_Char *path_name,
- unsigned short port = ACE_DEFAULT_HTTP_PORT);
-
- /// Copy constructor.
- ACEXML_URL_Addr (const ACEXML_URL_Addr &addr);
-
- /// Essentially the copy constructor.
- int set (const ACEXML_URL_Addr &addr);
-
- /**
- * Initializes an <ACEXML_URL_Addr> from the <address>, which can be
- * "ip-number:port-number/path-name" (e.g.,
- * "www.cs.wustl.edu:1234/~schmidt/" "ip-number:port-number/path-name"
- * (e.g., "128.252.166.57:1234/~schmidt"). If there is no ':' in the
- * <address> it is assumed to be an ip-number or ip-address number, with
- * the port number <ACE_DEFAULT_HTTP_PORT>.
- */
- virtual int string_to_addr (const ACEXML_Char* address);
-
- // Function to shut up Borland C++
-#if defined (ACE_USES_WCHAR)
- virtual int string_to_addr (const char* address);
-#endif
-
- /**
- * Transform the current <ACE_INET_Addr> address into string format. If
- * <ipaddr_format> is non-0 this produces
- * "ip-number:port-number/path-name" (e.g.,
- * "128.252.166.57:80/~schmidt/"), whereas if <ipaddr_format> is 0 this
- * produces "ip-name:port-number" (e.g.,
- * "www.cs.wustl.edu:80/~schmidt/"). Returns -1 if the <size> of the
- * <buffer> is too small, else 0.
- */
- virtual int addr_to_string (ACEXML_Char *s,
- size_t size,
- int ipaddr_format = 1) const;
-
- /**
- * Transform the current <ACE_INET_Addr> address into string format. If
- * <ipaddr_format> is non-0 this produces
- * "ip-number:port-number/path-name" (e.g.,
- * "128.252.166.57:80/~schmidt/"), whereas if <ipaddr_format> is 0 this
- * produces "ip-name:port-number" (e.g.,
- * "www.cs.wustl.edu:80/~schmidt/"). Uses dynamic memory, which is
- * allocated on demand and deallocated when the object is destroyed.
- * Returns -1 if dynamic memory fails, else 0.
- */
- virtual const ACEXML_Char *addr_to_string (int ipaddr_format = 1);
-
- /// Assignment operator.
- void operator= (const ACEXML_URL_Addr &addr);
-
- /// Destructor.
- ~ACEXML_URL_Addr (void);
-
- /**
- * Compare two addresses for equality. The addresses are considered
- * equal if they contain the same IP address, port number, and path name.
- */
- int operator == (const ACEXML_URL_Addr &SAP) const;
-
- /// Compare two addresses for inequality.
- int operator != (const ACEXML_URL_Addr &SAP) const;
-
- /// Computes and returns hash value.
- virtual u_long hash (void) const;
-
- /// Return the path name.
- const ACEXML_Char *get_path_name (void) const;
-
- /// Commit suicide.
- int destroy (void);
-
-private:
-
- /// Calculate the maximum length of the address string
- size_t calculate_length (int ipaddr_format) const;
-
- /// Our path name.
- ACEXML_Char *path_name_;
-
- /// The dynamically created address string that's used for the
- /// <addr_to_string> method.
- ACEXML_Char *addr_string_;
-
- /// Current length of the <addr_string_>
- size_t addr_string_len_;
-};
-
-#if defined (__ACEXML_INLINE__)
-# include "ACEXML/common/URL_Addr.inl"
-#endif /* __ACEXML_INLINE__ */
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_URL_ADDR_H */
diff --git a/ACEXML/common/URL_Addr.inl b/ACEXML/common/URL_Addr.inl
deleted file mode 100644
index 1430bfa227f..00000000000
--- a/ACEXML/common/URL_Addr.inl
+++ /dev/null
@@ -1,61 +0,0 @@
-// $Id$
-
-#include "ace/Log_Msg.h"
-
-
-ACE_INLINE size_t
-ACEXML_URL_Addr::calculate_length (int ipaddr_format) const
-{
- return ACE_OS::strlen (ipaddr_format == 0 ?
- this->get_host_name () : this->get_host_addr ())
- + ACE_OS::strlen ("65536") // Assume the max port number.
- + ACE_OS::strlen (this->get_path_name ())
- + sizeof (':')
- + sizeof ('/')
- + sizeof ('\0'); // For trailing '\0'.
-}
-
-ACE_INLINE void
-ACEXML_URL_Addr::operator= (const ACEXML_URL_Addr &addr)
-{
- if (this->set (addr) == -1)
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT ("%p\n"),
- ACE_TEXT ("ACEXML_URL_Addr::ACEXML_URL_Addr")));
-}
-
-ACE_INLINE u_long
-ACEXML_URL_Addr::hash (void) const
-{
- u_long result = this->ACE_INET_Addr::hash ()
- + ACE::hash_pjw (this->get_path_name ());
- return result;
-}
-
-ACE_INLINE int
-ACEXML_URL_Addr::operator== (const ACEXML_URL_Addr &addr) const
-{
- return ACE_OS::strcmp (addr.get_path_name (), this->get_path_name ()) == 0
- && addr.get_port_number () == this->get_port_number ()
- && addr.get_ip_address () == this->get_ip_address ();
-}
-
-ACE_INLINE int
-ACEXML_URL_Addr::operator!= (const ACEXML_URL_Addr &addr) const
-{
- return !(*this == addr);
-}
-
-ACE_INLINE const ACEXML_Char *
-ACEXML_URL_Addr::get_path_name (void) const
-{
- return this->path_name_;
-}
-
-ACE_INLINE int
-ACEXML_URL_Addr::destroy (void)
-{
- // Commit suicide.
- delete this;
- return 0;
-}
diff --git a/ACEXML/common/Validator.cpp b/ACEXML/common/Validator.cpp
deleted file mode 100644
index cf3ce502200..00000000000
--- a/ACEXML/common/Validator.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-// $Id$
-
-#include "ACEXML/common/Validator.h"
-
-ACEXML_Validator::~ACEXML_Validator ()
-{
-
-}
diff --git a/ACEXML/common/Validator.h b/ACEXML/common/Validator.h
deleted file mode 100644
index fee02666088..00000000000
--- a/ACEXML/common/Validator.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Validator.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-#ifndef _ACEXML_VALIDATOR_H_
-#define _ACEXML_VALIDATOR_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/Attributes.h"
-#include "ACEXML/common/Env.h"
-#include "ACEXML/common/SAXExceptions.h"
-
-/**
- * @class ACEXML_Validator Validator.h "common/Validator.h"
- *
- * @brief An abstract virtual class defining validator interface.
- *
- * An validator provides validation service for one XML element.
- * ACEXML_Validators are stateful object. Implementations should
- * remember the current element encountered and determine if
- * it's a valid sequence of child elements. A parser fishes
- * out a validator of certain
- */
-class ACEXML_Export ACEXML_Validator
-{
-public:
- virtual ~ACEXML_Validator () = 0;
-
- /**
- * Validate attributes of an element.
- *
- * @retval 0 if valid, -1 otherwise.
- */
- virtual int startElement (ACEXML_Attributes *atts ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Validate the next child element.
- *
- * @retval 0 if valid, -1 otherwise.
- */
- virtual int nextElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-};
-
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_VALIDATOR_H_ */
diff --git a/ACEXML/common/XMLFilter.h b/ACEXML/common/XMLFilter.h
deleted file mode 100644
index dac592dc6b9..00000000000
--- a/ACEXML/common/XMLFilter.h
+++ /dev/null
@@ -1,56 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file XMLFilter.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-#ifndef _ACEXML_XMLFILTER_H_
-#define _ACEXML_XMLFILTER_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/XMLReader.h"
-
-/**
- * @class ACEXML_XMLFilter XMLFilter.h "ACEXML/common/XMLFilter.h"
- *
- * @brief ACEXML_XMLFilter
- *
- * An XML filter is like an XML reader, except that it obtains its events
- * from another XML reader rather than a primary source like an XML
- * document or database. Filters can modify a stream of events as they pass
- * on to the final application.
- *
- * The XMLFilterImpl helper class provides a convenient base for creating
- * SAX2 filters, by passing on all ACEXML_EntityResolver,
- * ACEXML_DTDHandler, ACEXML_ContentHandler and ACEXML_ErrorHandler events
- * automatically.
- */
-class ACEXML_Export ACEXML_XMLFilter : public ACEXML_XMLReader
-{
-public:
- /**
- * Get the parent reader.
- */
- virtual ACEXML_XMLReader *getParent (void) const = 0;
-
- /**
- * Set the parent reader.
- */
- virtual void setParent (ACEXML_XMLReader *parent) = 0;
-};
-
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_XMLFILTER_H_ */
diff --git a/ACEXML/common/XMLFilterImpl.cpp b/ACEXML/common/XMLFilterImpl.cpp
deleted file mode 100644
index 300c6b7ea4b..00000000000
--- a/ACEXML/common/XMLFilterImpl.cpp
+++ /dev/null
@@ -1,339 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ACEXML/common/XMLFilterImpl.h"
-
-#if !defined (__ACEXML_INLINE__)
-# include "ACEXML/common/XMLFilterImpl.i"
-#endif /* __ACEXML_INLINE__ */
-
-ACEXML_XMLFilterImpl::ACEXML_XMLFilterImpl (void)
- : parent_ (0),
- locator_ (0),
- entityResolver_ (0),
- dtdHandler_ (0),
- contentHandler_ (0),
- errorHandler_ (0)
-{
-}
-
-ACEXML_XMLFilterImpl::ACEXML_XMLFilterImpl (ACEXML_XMLReader *parent)
- : parent_ (parent),
- locator_ (0),
- entityResolver_ (0),
- dtdHandler_ (0),
- contentHandler_ (0),
- errorHandler_ (0)
-{
-}
-
-ACEXML_XMLFilterImpl::~ACEXML_XMLFilterImpl (void)
-{
- // @@ How are all the object lifecycles managed?
-}
-
-void
-ACEXML_XMLFilterImpl::parse (ACEXML_InputSource *input ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->setupParser () < 0)
- {
- ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("No Parent available")));
- }
- this->parent_->parse (input ACEXML_ENV_ARG_PARAMETER);
- return;
-}
-
-void
-ACEXML_XMLFilterImpl::parse (const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->setupParser () < 0)
- {
- ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("No Parent available")));
- }
-
- this->parent_->parse (new ACEXML_InputSource (systemId) ACEXML_ENV_ARG_PARAMETER);
- return;
-}
-
-int
-ACEXML_XMLFilterImpl::getFeature (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException))
-{
- if (this->parent_ != 0)
- return this->parent_->getFeature (name ACEXML_ENV_ARG_PARAMETER);
-
- ACEXML_THROW_RETURN (ACEXML_SAXNotRecognizedException (name), 0);
-}
-
-void *
-ACEXML_XMLFilterImpl::getProperty (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException))
-{
- if (this->parent_ != 0)
- return this->parent_->getProperty (name ACEXML_ENV_ARG_PARAMETER);
-
- ACEXML_THROW_RETURN (ACEXML_SAXNotRecognizedException (name), 0);
-}
-
-void
-ACEXML_XMLFilterImpl::setFeature (const ACEXML_Char *name,
- int boolean_value ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException))
-{
- if (this->parent_ != 0)
- {
- this->parent_->setFeature (name,
- boolean_value ACEXML_ENV_ARG_PARAMETER);
- return;
- }
-
- ACEXML_THROW (ACEXML_SAXNotRecognizedException (name));
-}
-
-void
-ACEXML_XMLFilterImpl::setProperty (const ACEXML_Char *name,
- void *value ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException))
-{
- if (this->parent_ != 0)
- {
- this->parent_->setProperty (name,
- value ACEXML_ENV_ARG_PARAMETER);
- return;
- }
-
- ACEXML_THROW (ACEXML_SAXNotRecognizedException (name));
-}
-
-ACEXML_XMLReader *
-ACEXML_XMLFilterImpl::getParent (void) const
-{
- return this->parent_;
-}
-
-void
-ACEXML_XMLFilterImpl::setParent (ACEXML_XMLReader *parent)
-{
- this->parent_ = parent;
-}
-
-void
-ACEXML_XMLFilterImpl::characters (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->contentHandler_ != 0)
- this->contentHandler_->characters (ch, start, length ACEXML_ENV_ARG_PARAMETER);
-}
-
-void
-ACEXML_XMLFilterImpl::endDocument (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->contentHandler_ != 0)
- this->contentHandler_->endDocument (ACEXML_ENV_SINGLE_ARG_PARAMETER);
-}
-
-void
-ACEXML_XMLFilterImpl::endElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->contentHandler_ != 0)
- this->contentHandler_->endElement (namespaceURI,
- localName,
- qName ACEXML_ENV_ARG_PARAMETER);
-}
-
-void
-ACEXML_XMLFilterImpl::endPrefixMapping (const ACEXML_Char *prefix ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->contentHandler_ != 0)
- this->contentHandler_->endPrefixMapping (prefix ACEXML_ENV_ARG_PARAMETER);
-}
-
-void
-ACEXML_XMLFilterImpl::ignorableWhitespace (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->contentHandler_ != 0)
- this->contentHandler_->ignorableWhitespace (ch,
- start,
- length ACEXML_ENV_ARG_PARAMETER);
-}
-
-void
-ACEXML_XMLFilterImpl::processingInstruction (const ACEXML_Char *target,
- const ACEXML_Char *data ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->contentHandler_ != 0)
- this->contentHandler_->processingInstruction (target,
- data ACEXML_ENV_ARG_PARAMETER);
-}
-
-void
-ACEXML_XMLFilterImpl::setDocumentLocator (ACEXML_Locator *locator)
-{
- if (this->contentHandler_ != 0)
- this->contentHandler_->setDocumentLocator (locator);
-}
-
-void
-ACEXML_XMLFilterImpl::skippedEntity (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->contentHandler_ != 0)
- this->contentHandler_->skippedEntity (name ACEXML_ENV_ARG_PARAMETER);
-}
-
-void
-ACEXML_XMLFilterImpl::startDocument (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->contentHandler_ != 0)
- this->contentHandler_->startDocument (ACEXML_ENV_SINGLE_ARG_PARAMETER);
-}
-
-void
-ACEXML_XMLFilterImpl::startElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName,
- ACEXML_Attributes *atts ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->contentHandler_ != 0)
- this->contentHandler_->startElement (namespaceURI,
- localName,
- qName,
- atts ACEXML_ENV_ARG_PARAMETER);
-}
-
-void
-ACEXML_XMLFilterImpl::startPrefixMapping (const ACEXML_Char *prefix,
- const ACEXML_Char *uri ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->contentHandler_ != 0)
- this->contentHandler_->startPrefixMapping (prefix,
- uri ACEXML_ENV_ARG_PARAMETER);
-}
-
-void
-ACEXML_XMLFilterImpl::notationDecl (const ACEXML_Char *name,
- const ACEXML_Char *publicId,
- const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->dtdHandler_ != 0)
- this->dtdHandler_->notationDecl (name,
- publicId,
- systemId ACEXML_ENV_ARG_PARAMETER);
-}
-
-void
-ACEXML_XMLFilterImpl::unparsedEntityDecl (const ACEXML_Char *name,
- const ACEXML_Char *publicId,
- const ACEXML_Char *systemId,
- const ACEXML_Char *notationName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->dtdHandler_ != 0)
- this->dtdHandler_->unparsedEntityDecl (name,
- publicId,
- systemId,
- notationName ACEXML_ENV_ARG_PARAMETER);
-}
-
-ACEXML_InputSource *
-ACEXML_XMLFilterImpl::resolveEntity (const ACEXML_Char *publicId,
- const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->entityResolver_ != 0)
- return this->entityResolver_->resolveEntity (publicId,
- systemId ACEXML_ENV_ARG_PARAMETER);
- return 0;
-}
-
-void
-ACEXML_XMLFilterImpl::error (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->errorHandler_ != 0)
- this->errorHandler_->error (exception ACEXML_ENV_ARG_PARAMETER);
-}
-
-void
-ACEXML_XMLFilterImpl::fatalError (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->errorHandler_ != 0)
- this->errorHandler_->fatalError (exception ACEXML_ENV_ARG_PARAMETER);
-}
-
-void
-ACEXML_XMLFilterImpl::warning (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->errorHandler_ != 0)
- this->errorHandler_->warning (exception ACEXML_ENV_ARG_PARAMETER);
-}
-
-ACEXML_DTDHandler *
-ACEXML_XMLFilterImpl::getDTDHandler (void) const
-{
- return this->dtdHandler_;
-}
-
-ACEXML_ContentHandler *
-ACEXML_XMLFilterImpl::getContentHandler (void) const
-{
- return this->contentHandler_;
-}
-
-ACEXML_EntityResolver *
-ACEXML_XMLFilterImpl::getEntityResolver (void) const
-{
- return this->entityResolver_;
-}
-
-ACEXML_ErrorHandler *
-ACEXML_XMLFilterImpl::getErrorHandler (void) const
-{
- return this->errorHandler_;
-}
-
-void
-ACEXML_XMLFilterImpl::setDTDHandler (ACEXML_DTDHandler *handler)
-{
- this->dtdHandler_ = handler;
-}
-
-void
-ACEXML_XMLFilterImpl::setContentHandler (ACEXML_ContentHandler *handler)
-{
- this->contentHandler_ = handler;
-}
-
-void
-ACEXML_XMLFilterImpl::setEntityResolver (ACEXML_EntityResolver *handler)
-{
- this->entityResolver_ = handler;
-}
-
-void
-ACEXML_XMLFilterImpl::setErrorHandler (ACEXML_ErrorHandler *handler)
-{
- this->errorHandler_ = handler;
-}
diff --git a/ACEXML/common/XMLFilterImpl.h b/ACEXML/common/XMLFilterImpl.h
deleted file mode 100644
index efff84ddfd1..00000000000
--- a/ACEXML/common/XMLFilterImpl.h
+++ /dev/null
@@ -1,294 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file XMLFilterImpl.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-#ifndef ACEXML_XMLFILTERIMPL_H
-#define ACEXML_XMLFILTERIMPL_H
-#include "ace/pre.h"
-
-#include "ACEXML/common/XMLFilter.h"
-#include "ACEXML/common/XMLReader.h"
-#include "ACEXML/common/Locator.h"
-#include "ACEXML/common/ContentHandler.h"
-#include "ACEXML/common/DTDHandler.h"
-#include "ACEXML/common/EntityResolver.h"
-#include "ACEXML/common/ErrorHandler.h"
-
-/**
- * @class ACEXML_XMLFilterImpl XMLFilterImpl.h "ACEXML/common/XMLFilterImpl.h"
- *
- * @brief ACEXML_XMLFilterImpl
- *
- * This class is designed to sit between an XMLReader and the client
- * application's event handlers. By default, it does nothing but pass
- * requests up to the reader and events on to the handlers unmodified, but
- * subclasses can override specific methods to modify the event stream or
- * the configuration requests as they pass through.
- */
-class ACEXML_Export ACEXML_XMLFilterImpl
- : public ACEXML_XMLFilter,
- public ACEXML_ContentHandler,
- public ACEXML_DTDHandler,
- public ACEXML_EntityResolver,
- public ACEXML_ErrorHandler
-{
-public:
- /**
- * Default constructor. Create with no parent.
- */
- ACEXML_XMLFilterImpl (void);
-
- /**
- * Construct an XML filter with the specified parent.
- */
- ACEXML_XMLFilterImpl (ACEXML_XMLReader *parent);
-
- /**
- * Destructor.
- */
- virtual ~ACEXML_XMLFilterImpl (void);
-
- /*
- * Look up the value of a feature.
- */
- virtual int getFeature (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException)) ;
-
- /*
- * Look up the value of a property.
- */
- virtual void * getProperty (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException)) ;
-
- /*
- * Parse an XML document.
- */
- virtual void parse (ACEXML_InputSource *input ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Parse an XML document from a system identifier (URI).
- */
- virtual void parse (const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- // @@ throw IOException???
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Set the state of a feature.
- */
- virtual void setFeature (const ACEXML_Char *name,
- int boolean_value ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException)) ;
-
- /*
- * Set the value of a property.
- */
- virtual void setProperty (const ACEXML_Char *name,
- void *value ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException)) ;
-
- /*
- * Get the parent reader.
- */
- virtual ACEXML_XMLReader *getParent (void) const;
-
- /*
- * Set the parent reader.
- */
- virtual void setParent (ACEXML_XMLReader *parent);
-
- /*
- * Get the current DTD event handler.
- */
- virtual ACEXML_DTDHandler *getDTDHandler (void) const;
-
- /*
- * Get the current content event handler.
- */
- virtual ACEXML_ContentHandler *getContentHandler (void) const;
-
- /*
- * Get the current entity resolver.
- */
- virtual ACEXML_EntityResolver *getEntityResolver (void) const;
-
- /*
- * Get the current error event handler.
- */
- virtual ACEXML_ErrorHandler *getErrorHandler (void) const;
-
- /*
- * Set the DTD event handler.
- */
- virtual void setDTDHandler (ACEXML_DTDHandler *handler);
-
- /*
- * Set the content event handler.
- */
- virtual void setContentHandler (ACEXML_ContentHandler *handler);
-
- /*
- * Set the entity resolver.
- */
- virtual void setEntityResolver (ACEXML_EntityResolver *handler);
-
- /*
- * Set the error event handler.
- */
- virtual void setErrorHandler (ACEXML_ErrorHandler *handler);
-
- /*
- * Receive notification of character data.
- */
- virtual void characters (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Receive notification of the end of a document.
- */
- virtual void endDocument (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Receive notification of the end of an element.
- */
- virtual void endElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * End the scope of a prefix-URI mapping.
- */
- virtual void endPrefixMapping (const ACEXML_Char *prefix ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Receive notification of ignorable whitespace in element content.
- */
- virtual void ignorableWhitespace (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Receive notification of a processing instruction.
- */
- virtual void processingInstruction (const ACEXML_Char *target,
- const ACEXML_Char *data ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Receive an object for locating the origin of SAX document events.
- */
- virtual void setDocumentLocator (ACEXML_Locator *locator) ;
-
- /*
- * Receive notification of a skipped entity.
- */
- virtual void skippedEntity (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Receive notification of the beginning of a document.
- */
- virtual void startDocument (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Receive notification of the beginning of an element.
- */
- virtual void startElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName,
- ACEXML_Attributes *atts ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Begin the scope of a prefix-URI Namespace mapping.
- */
- virtual void startPrefixMapping (const ACEXML_Char *prefix,
- const ACEXML_Char *uri ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- // *** Methods inherit from ACEXML_DTDHandler.
-
- /*
- * Receive notification of a notation declaration event.
- */
- virtual void notationDecl (const ACEXML_Char *name,
- const ACEXML_Char *publicId,
- const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Receive notification of an unparsed entity declaration event.
- */
- virtual void unparsedEntityDecl (const ACEXML_Char *name,
- const ACEXML_Char *publicId,
- const ACEXML_Char *systemId,
- const ACEXML_Char *notationName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- // Methods inherit from ACEXML_EnitityResolver.
-
- /*
- * Allow the application to resolve external entities.
- */
- virtual ACEXML_InputSource *resolveEntity (const ACEXML_Char *publicId,
- const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- // Methods inherit from ACEXML_ErrorHandler.
-
- /*
- * Receive notification of a recoverable error.
- */
- virtual void error (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException));
-
- /*
- * Receive notification of a non-recoverable error.
- */
- virtual void fatalError (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException));
-
- /*
- * Receive notification of a warning.
- */
- virtual void warning (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException));
-protected:
- int setupParser (void);
- // Set up the event handlers of parent parser to this.
- // Returns -1 if no valid parent is set.
-
-private:
- ACEXML_XMLReader *parent_;
- ACEXML_Locator *locator_;
- ACEXML_EntityResolver *entityResolver_;
- ACEXML_DTDHandler *dtdHandler_;
- ACEXML_ContentHandler *contentHandler_;
- ACEXML_ErrorHandler *errorHandler_;
-};
-
-#if defined (__ACEXML_INLINE__)
-# include "ACEXML/common/XMLFilterImpl.i"
-#endif /* __ACEXML_INLINE__ */
-
-#include "ace/post.h"
-
-#endif /* ACEXML_XMLFILTERIMPL_H */
diff --git a/ACEXML/common/XMLFilterImpl.i b/ACEXML/common/XMLFilterImpl.i
deleted file mode 100644
index 4be2ceeceea..00000000000
--- a/ACEXML/common/XMLFilterImpl.i
+++ /dev/null
@@ -1,14 +0,0 @@
-// -*- C++ -*- $Id$
-
-ACEXML_INLINE int
-ACEXML_XMLFilterImpl::setupParser (void)
-{
- if (this->parent_ == 0)
- return -1;
-
- this->parent_->setEntityResolver (this);
- this->parent_->setDTDHandler (this);
- this->parent_->setContentHandler (this);
- this->parent_->setErrorHandler (this);
- return 0;
-}
diff --git a/ACEXML/common/XMLReader.h b/ACEXML/common/XMLReader.h
deleted file mode 100644
index 79e59a86197..00000000000
--- a/ACEXML/common/XMLReader.h
+++ /dev/null
@@ -1,133 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file XMLReader.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-#ifndef _ACEXML_XMLREADER_H_
-#define _ACEXML_XMLREADER_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/ContentHandler.h"
-#include "ACEXML/common/DTDHandler.h"
-#include "ACEXML/common/EntityResolver.h"
-#include "ACEXML/common/ErrorHandler.h"
-
-/**
- * @class ACEXML_XMLReader XMLReader.h "ACEXML/common/XMLReader.h"
- *
- * @brief ACEXML_XMLReader
- *
- * XMLReader is the interface that an XML parser's SAX2 driver must
- * implement. This interface allows an application to set and query
- * features and properties in the parser, to register event handlers
- * for document processing, and to initiate a document parse.
- *
- * All SAX interfaces are assumed to be synchronous: the parse methods
- * must not return until parsing is complete, and readers must wait
- * for an event-handler callback to return before reporting the next
- * event.
- */
-class ACEXML_Export ACEXML_XMLReader
-{
-public:
- /**
- * Return the current content handler.
- */
- virtual ACEXML_ContentHandler *getContentHandler (void) const = 0;
-
- /**
- * Return the current DTD handler.
- */
- virtual ACEXML_DTDHandler *getDTDHandler (void) const = 0;
-
- /**
- * Return the current entity resolver.
- */
- virtual ACEXML_EntityResolver *getEntityResolver (void) const = 0;
-
- /**
- * Return the current error handler.
- */
- virtual ACEXML_ErrorHandler *getErrorHandler (void) const = 0;
-
- /**
- * Look up the value of a feature. This method allows
- * programmers to check whether a specific feature has been
- * activated in the parser.
- */
- virtual int getFeature (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException)) = 0;
-
- /**
- * Look up the value of a property.
- */
- virtual void * getProperty (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException)) = 0;
-
- /**
- * Parse an XML document.
- */
- virtual void parse (ACEXML_InputSource *input ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Parse an XML document from a system identifier (URI).
- */
- virtual void parse (const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Allow an application to register a content event handler.
- */
- virtual void setContentHandler (ACEXML_ContentHandler *handler) = 0;
-
- /**
- * Allow an application to register a DTD event handler.
- */
- virtual void setDTDHandler (ACEXML_DTDHandler *handler) = 0;
-
- /**
- * Allow an application to register an entity resolver.
- */
- virtual void setEntityResolver (ACEXML_EntityResolver *resolver) = 0;
-
- /**
- * Allow an application to register an error event handler.
- */
- virtual void setErrorHandler (ACEXML_ErrorHandler *handler) = 0;
-
- /**
- * Activating or deactivating a feature.
- */
- virtual void setFeature (const ACEXML_Char *name,
- int boolean_value ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException)) = 0;
-
- /**
- * Set the value of a property.
- */
- virtual void setProperty (const ACEXML_Char *name,
- void *value ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException)) = 0;
-};
-
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_XMLREADER_H_ */
diff --git a/ACEXML/common/XML_Codecs.cpp b/ACEXML/common/XML_Codecs.cpp
deleted file mode 100644
index 63230d8c6d7..00000000000
--- a/ACEXML/common/XML_Codecs.cpp
+++ /dev/null
@@ -1,97 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ace/Auto_Ptr.h"
-#include "ACEXML/common/XML_Codecs.h"
-
-ACE_RCSID (common, XML_Codecs, "$Id$")
-
-ACEXML_Char*
-ACEXML_Base64::encode (const ACEXML_Char* input,
- size_t* output_len)
-{
- if (!input)
- return 0;
- size_t len = ACE_OS::strlen (input);
-
- ACE_Byte* buf = 0;
- ACE_NEW_RETURN (buf,
- ACE_Byte[len],
- 0);
- ACE_Auto_Basic_Array_Ptr<ACE_Byte> cleanup_buf (buf);
-
- for (size_t i = 0; i < len; ++i)
- buf[i] = (ACE_Byte)input[i];
- buf[len] = 0;
-
- size_t encode_len = 0;
- ACE_Byte* encodedBuf = ACE_Base64::encode (buf, len, &encode_len);
-
- if (!encodedBuf)
- return 0;
-
- ACEXML_Char* result = 0;
- ACE_NEW_RETURN (result,
- ACEXML_Char[encode_len+1],
- 0);
-
- for (size_t j = 0; j < encode_len; ++j)
- result[j] = (ACEXML_Char)encodedBuf[j];
- result[encode_len] = 0;
-
- *output_len = encode_len;
- delete[] encodedBuf;
- return result;
-}
-
-
-ACEXML_Char*
-ACEXML_Base64::decode (const ACEXML_Char* input,
- size_t* output_len)
-{
- if (!input)
- return 0;
-
- size_t len = ACE_OS::strlen (input);
-
- ACE_Byte* buf = 0;
-
- ACE_NEW_RETURN (buf,
- ACE_Byte[len],
- 0);
-
- ACE_Auto_Basic_Array_Ptr<ACE_Byte> cleanup (buf);
-
- for (size_t i = 0; i < len; ++i)
- buf[i] = (ACE_Byte)input[i];
-
- buf[len] = 0;
-
- size_t decode_len = 0;
-
- ACE_Byte* decodedBuf = ACE_Base64::decode (buf, &decode_len);
-
- if (!decodedBuf)
- return 0;
-
- ACEXML_Char* result = 0;
-
- ACE_NEW_RETURN (result,
- ACEXML_Char[decode_len+1],
- 0);
-
- for (size_t j = 0; j < decode_len; ++j)
- result[j] = (ACEXML_Char)decodedBuf[j];
-
- result[decode_len] = 0;
-
- *output_len = decode_len;
- delete[] decodedBuf;
-
- return result;
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class ACE_Auto_Basic_Array_Ptr<ACE_Byte>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate ACE_Auto_Basic_Array_Ptr<ACE_Byte>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/ACEXML/common/XML_Codecs.h b/ACEXML/common/XML_Codecs.h
deleted file mode 100644
index b72565a2cfe..00000000000
--- a/ACEXML/common/XML_Codecs.h
+++ /dev/null
@@ -1,73 +0,0 @@
-// -*- C++ -*-
-
-/**
- * @file XML_Codecs.h
- *
- * $Id$
- *
- * @author Krishnakumar B <kitty@cs.wustl.edu>
- *
- * XML_Codecs is a generic wrapper for various encoding and decoding
- * mechanisms used in ACEXML. Currently it includes support for handling
- * Base64 content transfer-encoding of ACEXML_Chars.
- *
- */
-
-#ifndef _ACEXML_XML_CODECS_H
-#define _ACEXML_XML_CODECS_H
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/XML_Types.h"
-#include "ace/Codecs.h"
-
-/**
- * @class ACEXML_Base64
- *
- * @brief Encode/Decode a stream of ACEXML_Chars according to Base64 encoding.
- *
- * This class provides methods to encode or decode a stream of ACEXML_Chars
- * to/from Base64 encoding. It doesn't convert the input stream to a
- * canonical form before encoding.
- *
- */
-class ACEXML_Export ACEXML_Base64 : public ACE_Base64
-{
-public:
-
- //@{
-
- /**
- * Encodes a stream of octets to Base64 data
- *
- * @param input Binary data in ACEXML_Char stream.
- * @param output_len Length of the encoded Base64 ACEXML_Char stream.
- * @return Encoded Base64 data in ACEXML_Char stream or NULL if input data
- * cannot be encoded.
- */
-
- static ACEXML_Char* encode (const ACEXML_Char* input,
- size_t* output_len);
- /**
- * Decodes a stream of Base64 to octets data
- *
- * @param input Encoded Base64 data in ACEXML_Char stream.
- * @param output_len Length of the binary ACEXML_Char stream.
- * @return Binary data in ACEXML_Char stream or NULL if input data cannot
- * be encoded.
- */
- static ACEXML_Char* decode (const ACEXML_Char* input,
- size_t* output_len);
-
- //@}
-};
-
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_XML_CODECS_H */
diff --git a/ACEXML/common/XML_Common.dsp b/ACEXML/common/XML_Common.dsp
deleted file mode 100644
index decdb107711..00000000000
--- a/ACEXML/common/XML_Common.dsp
+++ /dev/null
@@ -1,349 +0,0 @@
-# Microsoft Developer Studio Project File - Name="XML_Common" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=XML_Common - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "XML_Common.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "XML_Common.mak" CFG="XML_Common - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "XML_Common - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "XML_Common - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "XML_Common - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XML_COMMON_EXPORTS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "../.." /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D ACEXML_HAS_DLL=1 /D "ACEXML_BUILD_DLL" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
-# ADD LINK32 ace.lib /nologo /dll /machine:I386 /out:"../../bin/ACEXML.dll" /libpath:"..\..\ace"
-
-!ELSEIF "$(CFG)" == "XML_Common - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "XML_Common___Win32_Debug"
-# PROP BASE Intermediate_Dir "XML_Common___Win32_Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XML_COMMON_EXPORTS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../.." /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D ACEXML_HAS_DLL=1 /D "ACEXML_BUILD_DLL" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib /nologo /dll /debug /machine:I386 /out:"../../bin/ACEXMLD.dll" /pdbtype:sept /libpath:"..\..\ace"
-
-!ENDIF
-
-# Begin Target
-
-# Name "XML_Common - Win32 Release"
-# Name "XML_Common - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\Attributes_Def_Builder.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\AttributesImpl.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\CharStream.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\DefaultHandler.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\DTD_Manager.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Element_Def_Builder.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Encoding.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Env.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Exception.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\FileCharStream.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\HttpCharStream.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\InputSource.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\LocatorImpl.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Mem_Map_Stream.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\NamespaceSupport.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\SAXExceptions.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\StrCharStream.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\StreamFactory.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Transcode.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\URL_Addr.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Validator.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\XML_Codecs.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\XMLFilterImpl.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# Begin Source File
-
-SOURCE=.\ACEXML_Export.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Attributes.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Attributes_Def_Builder.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\AttributesImpl.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\CharStream.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\ContentHandler.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\DefaultHandler.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\DTD_Manager.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\DTDHandler.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Element_Def_Builder.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Encoding.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\EntityResolver.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Env.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\ErrorHandler.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Exception.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\FileCharStream.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\HttpCharStream.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\InputSource.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Locator.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\LocatorImpl.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Mem_Map_Stream.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\NamespaceSupport.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\SAXExceptions.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\StrCharStream.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\StreamFactory.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Transcode.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\URL_Addr.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Validator.h
-# End Source File
-# Begin Source File
-
-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
-
-SOURCE=.\XMLFilter.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\XMLFilterImpl.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\XMLReader.h
-# End Source File
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# End Group
-# Begin Group "Inline Files"
-
-# PROP Default_Filter "i"
-# Begin Source File
-
-SOURCE=.\Env.i
-# End Source File
-# Begin Source File
-
-SOURCE=.\Exception.i
-# End Source File
-# Begin Source File
-
-SOURCE=.\URL_Addr.inl
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/ACEXML/common/XML_Macros.h b/ACEXML/common/XML_Macros.h
deleted file mode 100644
index 3593a258a21..00000000000
--- a/ACEXML/common/XML_Macros.h
+++ /dev/null
@@ -1,443 +0,0 @@
-// -*- C++ -*-
-
-// ============================================================================
-/**
- * @file XML_Macros.h
- *
- * $Id$
- *
- * Writing code that is portable between platforms with or without
- * native C++ exceptions is hard. The following macros offer some
- * help on this task.
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- * @author Aniruddha Gokhale <gokhale@sahyadri.research.bell-labs.com>
- * @author Carlos O'Ryan <coryan@uci.edu>
- * @author Krishnakumar B <kitty@cs.wustl.edu>, et al.
- */
-// ============================================================================
-
-// Macros for handling exceptions.
-
-#ifndef _ACEXML_MACROS_H
-#define _ACEXML_MACROS_H
-
-#include "ace/pre.h"
-
-#include "ace/config-all.h"
-
-# if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-# endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ace/Exception_Macros.h"
-
-// The following macros assume that an environment variable is passed
-// in/out of each function that can throw an exception. The type of the
-// environment variable is defined by ACEXML_ENV_TYPE.
-
-#if !defined (ACEXML_ENV_TYPE)
-# define ACEXML_ENV_TYPE ACEXML_Env
-#endif /* ACEXML_ENV_TYPE */
-
-// The name of the variable defined by ACEXML_TRY_ENV. Below is the name
-// that we use by default. If you wish to change it you can redefine
-// ACEXML_TRY_ENV to change the default name. Also ACEXML_ADOPT_ENV allows the
-// use of non-standard name within a scope.
-
-#if !defined (ACEXML_TRY_ENV)
-# define ACEXML_TRY_ENV _ACEXML_Env_variable
-#endif /* ACEXML_TRY_ENV */
-
-// The base type of Exception from which all the other exception types are
-// derived. By default, it is set to ACEXML_Exception.
-
-#if !defined (ACEXML_EXCEPTION_TYPE)
-# define ACEXML_EXCEPTION_TYPE ACEXML_Exception
-#endif /* ACEXML_EXCEPTION_TYPE */
-
-// This is the exception caught by ACEXML_CATCHANY.
-#if !defined (ACEXML_ANY_EXCEPTION)
-# define ACEXML_ANY_EXCEPTION ex
-#endif /* ACEXML_ANY_EXCEPTION */
-
-// Declare a new environment variable on the stack. The type of the
-// environment variable is determined by ACEXML_ENV_TYPE.
-#define ACEXML_DECLARE_NEW_ENV \
- ACEXML_ENV_TYPE ACEXML_TRY_ENV
-
-#if defined (ACE_USES_NATIVE_EXCEPTIONS)
-// -----------------------------------------------------------------
-
-#define ACEXML_ADOPT_ENV (ENV)
-
-// No need to check. Native exceptions handle the control flow
-// automatically when an exception occurs.
-# define ACEXML_CHECK
-
-// Used when the function requires a return value.
-# define ACEXML_CHECK_RETURN(RETV)
-
-// ACEXML_THROW_R_INT should not be used by the user.
-# define ACEXML_THROW_R_INT(EXCEPTION) \
- throw EXCEPTION
-
-// Throwing an exception is easy. These two macros should _NOT_ be
-// used within try blocks.
-# define ACEXML_THROW(EXCEPTION) \
- throw EXCEPTION
-
-// Throwing an exception when the function reqires a return value.
-# if defined (WIN32) || defined (__HP_aCC)
-# define ACEXML_THROW_RETURN(EXCEPTION, RETV) \
- do \
- { \
- throw EXCEPTION; \
- return RETV; \
- } while (0)
-# else /* WIN32 */
-# define ACEXML_THROW_RETURN(EXCEPTION,RETV) \
- throw EXCEPTION
-# endif /* WIN32 */
-
-// For compilers with native exceptions, we can simply use try to try. ;-)
-// do {} while (0) is required to avoid compilation warnings.
-# define ACEXML_TRY \
- do \
- { \
- try \
- {
-# define ACEXML_TRY_NEW_ENV \
- do \
- { \
- ACEXML_ENV_TYPE ACEXML_TRY_ENV; \
- try \
- {
-# define ACEXML_TRY_EX(LABEL) \
- do \
- { \
- try \
- {
-
-// No need to check for exceptions within try block for compilers with
-// native exceptions.
-# define ACEXML_TRY_CHECK
-# define ACEXML_TRY_CHECK_EX(LABEL)
-
-// Likewise, throwing exceptions within try blocks is easy.
-# define ACEXML_TRY_THROW(EXCEPTION) throw EXCEPTION
-# define ACEXML_TRY_THROW_EX(EXCEPTION,LABEL) throw EXCEPTION
-
-// Same thing for catch.
-# define ACEXML_CATCH(EXCEPTION,VAR) \
- } \
- catch (EXCEPTION & VAR) \
- { \
- ACE_UNUSED_ARG (VAR);
-
-# define ACEXML_CATCHANY \
- ACEXML_CATCH(ACEXML_EXCEPTION_TYPE, ACEXML_ANY_EXCEPTION)
-
-# define ACEXML_CATCHALL \
- } \
- catch (...) \
- {
-
-// Rethrowing the exception from catch blocks.
-# define ACEXML_RE_THROW throw
-# define ACEXML_RE_THROW_EX(LABEL) throw
-
-// Close the catch block.
-# define ACEXML_ENDTRY \
- } \
- } while (0)
-
-#else /* ! ACEXML_USES_NATIVE_EXCEPTIONS */
-// -----------------------------------------------------------------
-
-// When handling compilers without native exceptions, things get a bit
-// hairy. Exceptions are simulated using ACEXML_ENV_TYPE. The trick here is to
-// make sure the flow-of-control can simulate the case when native
-// exceptions occur...
-
-# define ACEXML_ADOPT_ENV(ENV) ACEXML_ENV_TYPE &ACEXML_TRY_ENV = ENV
-
-// Follow every statement that could throw exceptions with ACEXML_CHECK or
-// ACEXML_CHECK_RETURN. These two macros should _NOT_ be used within try
-// blocks. Use ACEXML_TRY_CHECK or ACEXML_TRY_CHECK_EX instead.
-# define ACEXML_CHECK \
- if (ACEXML_TRY_ENV . exception () != 0) \
- return
-// When function requires a return value
-# define ACEXML_CHECK_RETURN(RETV) \
- if (ACEXML_TRY_ENV . exception () != 0) \
- return RETV
-
-// ACEXML_THROW_R_INT should not be used by the user.
-# define ACEXML_THROW_R_INT(EXCEPTION) ACEXML_TRY_ENV.exception (new EXCEPTION)
-
-// Throwing exceptions will inevitably cause a return from the current
-// function. These two macros should _NOT_ be used within try blocks. Use
-// ACEXML_TRY_THROW or ACEXML_TRY_THROW_EX instead.
-# define ACEXML_THROW(EXCEPTION) \
- do \
- { \
- ACEXML_TRY_ENV.exception (new EXCEPTION); \
- return; \
- } while (0)
-
-# define ACEXML_THROW_RETURN(EXCEPTION,RETV) \
- do \
- { \
- ACEXML_TRY_ENV.exception (new EXCEPTION); \
- return RETV; \
- } while (0)
-
-// ACEXML_TRY sets up flags to control program flow. ACEXML_TRY_FLAG acts
-// like a one-shot flip-flop. When an exception occurs (detected using
-// ACEXML_TRY_CHECK,) ACEXML_TRY_FLAG will be reset and the control goes
-// back into ACEXML_TRY_LABEL. Since ACEXML_TRY_FLAG is reset, the try
-// block won't get executed again and the control proceeds to the following
-// catch blocks. ACEXML_EXCEPTION_NOT_CAUGHT flag is used to prevent
-// catching an exception twice. This macro assumes there's already an
-// ACEXML_ENV_TYPE variable ACEXML_TRY_ENV defined (which should be the
-// case normally)
-# define ACEXML_TRY \
- do { \
- int ACEXML_TRY_FLAG = 1; \
- int ACEXML_EXCEPTION_NOT_CAUGHT = 1; \
- ACEXML_TRY_LABEL: \
- if (ACEXML_TRY_FLAG) \
- do {
-
-// ACEXML_TRY_NEW_ENV functions like the macro ACEXML_TRY but defines a new
-// ACEXML_ENV_TYPE variable ACEXML_TRY_ENV. It is most often used in the outer
-// most function where no ACEXML_TRY_ENV is available.
-# define ACEXML_TRY_NEW_ENV \
- do { \
- ACEXML_ENV_TYPE ACEXML_TRY_ENV;\
- int ACEXML_TRY_FLAG = 1; \
- int ACEXML_EXCEPTION_NOT_CAUGHT = 1; \
- ACEXML_TRY_LABEL: \
- if (ACEXML_TRY_FLAG) \
- do {
-
-// ACEXML_TRY_EX works exactly like ACEXML_TRY macro except the label used
-// in the try block is customizable to avoid name clashing. It should be
-// used when nested try blocks or multiple try blocks are required, in the
-// same function.
-# define ACEXML_TRY_EX(LABEL) \
- do { \
- int ACEXML_TRY_FLAG = 1; \
- int ACEXML_EXCEPTION_NOT_CAUGHT = 1; \
- ACEXML_TRY_LABEL ## LABEL: \
- if (ACEXML_TRY_FLAG) \
- do {
-
-// Check for exceptions within try blocks.
-# define ACEXML_TRY_CHECK \
- { \
- if (ACEXML_TRY_ENV.exception () != 0) \
- { \
- ACEXML_TRY_FLAG = 0; \
- goto ACEXML_TRY_LABEL; \
- } \
- }
-
-// Checking exception within EX try blocks.
-# define ACEXML_TRY_CHECK_EX(LABEL) \
- { \
- if (ACEXML_TRY_ENV.exception () != 0) \
- { \
- ACEXML_TRY_FLAG = 0; \
- goto ACEXML_TRY_LABEL ## LABEL; \
- } \
- }
-
-// Throwing exception within TRY blocks.
-# define ACEXML_TRY_THROW(EXCEPTION) \
- { \
- ACEXML_TRY_ENV.exception (new EXCEPTION); \
- ACEXML_TRY_FLAG = 0; \
- goto ACEXML_TRY_LABEL; \
- }
-
-# define ACEXML_TRY_THROW_EX(EXCEPTION,LABEL) \
- { \
- ACEXML_TRY_ENV.exception (new EXCEPTION); \
- ACEXML_TRY_FLAG = 0; \
- goto ACEXML_TRY_LABEL ## LABEL; \
- }
-
-// When exceptions occur or try block finishes execution without exception,
-// control will continue in the catch block. This macro first checks if
-// there's any uncaught exception left. If all the conditions are met, we
-// have caught an exception. It then resets ACEXML_EXCEPTION_NOT_CAUGHT to
-// prevent subsequent catch blocks from catching the same exception again,
-// and extracts out the underlying exception in ACEXML_TRY_ENV. We also make a
-// copy of ACEXML_TRY_ENV in ACEXML_CAUGHT_ENV, in case we want to rethrow the
-// exception. ACEXML_TRY_ENV is cleared out after the exception is caught so
-// you should not use ACEXML_TRY_ENV within the catch block(You should use the
-// exception directly).
-# define ACEXML_CATCH(TYPE,VAR) \
- } while (0); \
- do \
- if (ACEXML_TRY_ENV.exception () != 0 && ACEXML_EXCEPTION_NOT_CAUGHT && \
- TYPE::_downcast(ACEXML_TRY_ENV.exception ()) != 0) \
- { \
- ACEXML_ENV_TYPE ACEXML_CAUGHT_ENV = ACEXML_TRY_ENV;\
- ACEXML_EXCEPTION_NOT_CAUGHT = 0; \
- TYPE &VAR = *TYPE::_downcast (ACEXML_CAUGHT_ENV.exception ()); \
- ACE_UNUSED_ARG (VAR); \
- ACEXML_TRY_ENV.clear ();
-
-// ACEXML_CATCHANY uses ACEXML_CATCH to catch all exceptions derived from
-// ACEXML_EXCEPTION_TYPE
-# define ACEXML_CATCHANY ACEXML_CATCH (ACEXML_EXCEPTION_TYPE, ACEXML_ANY_EXCEPTION)
-
-// Since there's no other exception for compilers without exception
-// support, we simply catch all ACEXML_EXCEPTION_TYPE exceptions for
-// ACEXML_CATCHALL.
-# define ACEXML_CATCHALL ACEXML_CATCHANY
-
-// Rethrowing exception within catch blocks. Notice that we depend on the
-// ACEXML_CHECK/ACEXML_CHECK_RETURN following the ACEXML_ENDTRY, or
-// ACEXML_TRY_CHECK/ ACEXML_TRY_CHECK_EX following the ACEXML_ENDTRY when
-// the catch block is within another try block, to do the "Right
-// Thing[TM]."
-# define ACEXML_RE_THROW \
- do {\
- ACEXML_TRY_ENV = ACEXML_CAUGHT_ENV; \
- goto ACEXML_TRY_LABEL; \
- } while (0)
-# define ACEXML_RE_THROW_EX(LABEL) \
- do {\
- ACEXML_TRY_ENV = ACEXML_CAUGHT_ENV; \
- goto ACEXML_TRY_LABEL ## LABEL; \
- } while (0)
-
-// Close the try block. Since exceptions may not get caught, and exceptions
-// can also be rethrown from the catch block, it's always a good idea to
-// follow ACEXML_ENDTRY with ACEXML_CHECK or ACEXML_TRY_CHECK (depending on
-// the context.)
-# define ACEXML_ENDTRY \
- } while (0); \
- } while (0)
-
-#endif /* ! ACE_USES_NATIVE_EXCEPTIONS */
-
-// ACE_HAS_EXCEPTIONS is not the same as ACE_NEW_THROWS_EXCEPTIONS.
-#if defined(ACE_NEW_THROWS_EXCEPTIONS)
-
-# define ACEXML_NEW_THROW_EX(POINTER,CONSTRUCTOR,EXCEPTION) \
- do { try { POINTER = new CONSTRUCTOR; } \
- catch (ACE_bad_alloc) { errno = ENOMEM; ACEXML_THROW_R_INT (EXCEPTION); } \
- } while (0)
-
-#else /* ! ACE_NEW_THROWS_EXCEPTIONS */
-
-# define ACEXML_NEW_THROW_EX(POINTER,CONSTRUCTOR,EXCEPTION) \
- do { POINTER = new CONSTRUCTOR; \
- if (POINTER == 0) { errno = ENOMEM; ACEXML_THROW_R_INT (EXCEPTION); } \
- } while (0)
-
-#endif /* ACE_NEW_THROWS_EXCEPTIONS */
-
-# define ACEXML_GUARD_THROW_EX(MUTEX,OBJ,LOCK,EXCEPTION) \
- ACE_Guard< MUTEX > OBJ (LOCK); \
- if (OBJ.locked () == 0) ACEXML_THROW_R_INT (EXCEPTION);
-
-# define ACEXML_READ_GUARD_THROW_EX(MUTEX,OBJ,LOCK,EXCEPTION) \
- ACE_Read_Guard< MUTEX > OBJ (LOCK); \
- if (OBJ.locked () == 0) ACEXML_THROW_R_INT (EXCEPTION);
-
-# define ACEXML_WRITE_GUARD_THROW_EX(MUTEX,OBJ,LOCK,EXCEPTION) \
- ACE_Write_Guard< MUTEX > OBJ (LOCK); \
- if (OBJ.locked () == 0) ACEXML_THROW_R_INT (EXCEPTION);
-
-//@{
-/**
- * @name Native C++ exceptions portability macros.
- *
- * The following macros are used to write code portable between platforms
- * with and without native C++ exception support. Their main goal is to
- * hide the presence of the ACEXML_ENV_TYPE argument, but they collaborate
- * with the ACEXML_TRY_* macros to emulate the try/catch blocks.
- */
-
-/// Define a macro to emit code only when ACEXML_ENV_TYPE is used
-#if !defined (ACE_USES_NATIVE_EXCEPTIONS) || defined (ACEXML_ENV_BKWD_COMPAT)
-# define ACEXML_ENV_EMIT_CODE(X) X
-#else
-# define ACEXML_ENV_EMIT_CODE(X)
-#endif /* ACE_USES_NATIVE_EXCEPTIONS && ! ACEXML_ENV_BKWD_COMPAT */
-
-/// Another macro to emit code only when ACEXML_ENV_TYPE is used
-#if !defined (ACE_USES_NATIVE_EXCEPTIONS) || defined (ACEXML_ENV_BKWD_COMPAT)
-# define ACEXML_ENV_EMIT_CODE2(X,Y) X,Y
-#else
-# define ACEXML_ENV_EMIT_CODE2(X,Y)
-#endif /* ACE_USES_NATIVE_EXCEPTIONS && ! ACEXML_ENV_BKWD_COMPAT */
-
-/// Helper macro
-#define ACEXML_ENV_EMIT_DUMMY
-
-/// Declare a ACEXML_ENV_TYPE argument as the last argument of a
-/// function
-/**
- * Normally this macro is used as follows:
- *
- * <CODE>void my_funct (int x, int y ACEXML_ENV_ARG_DECL);</CODE>
- *
- * Its purpose is to provide developers (and users) with a mechanism to
- * write code that is portable to platforms with and without native C++
- * exceptions.
- */
-#define ACEXML_ENV_ARG_DECL \
- ACEXML_ENV_EMIT_CODE2(ACEXML_ENV_EMIT_DUMMY, \
- ACEXML_ENV_TYPE &ACEXML_TRY_ENV)
-
-/// Declare a ACEXML_ENV_TYPE argument that is not used by the
-/// function definition.
-/**
- * Similar to ACEXML_ENV_ARG_DECL, but the formal parameter name is dropped to
- * avoid warnings about unused parameters
- */
-#define ACEXML_ENV_ARG_DECL_NOT_USED \
- ACEXML_ENV_EMIT_CODE2(ACEXML_ENV_EMIT_DUMMY, \
- ACEXML_ENV_TYPE &)
-
-/// Declare a ACEXML_ENV_TYPE argument for methods that do not take any other
-/// parameters
-#define ACEXML_ENV_SINGLE_ARG_DECL \
- ACEXML_ENV_EMIT_CODE(ACEXML_ENV_TYPE &ACEXML_TRY_ENV)
-
-/// Declare a ACEXML_ENV_TYPE argument for methods which don't use it.
-#define ACEXML_ENV_SINGLE_ARG_DECL_NOT_USED \
- ACEXML_ENV_EMIT_CODE(ACEXML_ENV_TYPE &)
-
-/// Use the ACEXML_ENV_TYPE argument in a nested call
-#define ACEXML_ENV_ARG_PARAMETER \
- ACEXML_ENV_EMIT_CODE2(ACEXML_ENV_EMIT_DUMMY, \
- ACEXML_TRY_ENV)
-
-/// Use the ACEXML_ENV_TYPE argument in a nested call, assuming that the
-/// called function takes only the ACEXML_TRY_ENV argument.
-#define ACEXML_ENV_SINGLE_ARG_PARAMETER \
- ACEXML_ENV_EMIT_CODE(ACEXML_TRY_ENV)
-
-/// Eliminate unused argument warnings about ACEXML_TRY_ENV
-#define ACEXML_ENV_ARG_NOT_USED \
- ACEXML_ENV_EMIT_CODE(ACE_UNUSED_ARG(ACEXML_TRY_ENV))
-//@}
-
-#if !defined (ACE_USES_NATIVE_EXCEPTIONS)
-// This thing can be moved above when we drop ACEXML_ENV_BKWD_COMPAT.
-# define ACEXML_ENV_RAISE(ex) ACEXML_TRY_ENV.exception (ex)
-#else
-# define ACEXML_ENV_RAISE(ex) (ex)->_raise ()
-#endif /* ACEXML_CORBA_HAS_EXCEPTIONS */
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_MACROS_H */
diff --git a/ACEXML/common/XML_Types.h b/ACEXML/common/XML_Types.h
deleted file mode 100644
index 7761cc7f654..00000000000
--- a/ACEXML/common/XML_Types.h
+++ /dev/null
@@ -1,80 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file XML_Types.h
- *
- * This file collects the type definitions for data types
- * used in ACE XML parser.
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef _ACEXML_XML_TYPES_H_
-#define _ACEXML_XML_TYPES_H_
-
-#include "ace/pre.h"
-#include "ace/OS.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ace/SString.h"
-
-# if defined (ACE_HAS_WCHAR) && (ACE_SIZEOF_WCHAR == 2)
-typedef wchar_t ACEXML_UTF16;
-# else
-typedef ACE_USHORT16 ACEXML_UTF16;
-# endif /* ACE_HAS_WCHAR && ACE_SIZEOF_WCHAR == 2 */
-
-# if defined (ACE_HAS_WCHAR) && (ACE_SIZEOF_WCHAR == 4)
-typedef wchar_t ACEXML_UCS4;
-# else
-typedef ACE_UINT32 ACEXML_UCS4;
-# endif /* ACE_HAS_WCHAR && ACE_SIZEOF_WCHAR == 4 */
-
-typedef char ACEXML_UTF8;
-
-/**
- * @typedef ACEXML_Char
- * ACEXML_Char only maps to ACEXML_UTF16 when ACE_USES_WCHAR is defined.
- * Here we assume sizeof (wchar_t) is always 2 bytes.
- *
- * Default XML strings will use UTF-8 encoding. We would like to use
- * the string classes in standard C++ Library here. But they are not
- * very portable yet (as far as I know,) and I'll just use ACE_CString
- * for now, unless UNICODE support is turned on. Notice that you
- * should never convert strings between ACE_CString and ACE_WString
- * using the built-in conversion functions as they only perform simple
- * copy without any encoding conversion.
- */
-# if defined (ACE_USES_WCHAR)
-typedef ACEXML_UTF16 ACEXML_Char;
-typedef ACE_WString ACEXML_String;
-# else
-typedef ACEXML_UTF8 ACEXML_Char;
-typedef ACE_CString ACEXML_String;
-# endif /* ACE_USES_WCHAR */
-
-# if (!defined (ACEXML_HAS_INLINE) && defined (__ACE_INLINE__)) || (ACEXML_HAS_INLINE == 1)
-# define __ACEXML_INLINE__ inline
-# else
-# if defined (__ACEXML_INLINE__)
-# undef __ACEXML_INLINE__
-# endif /* __ACEXML_INLINE__ */
-# endif /* (!ACEXML_HAS_INLINE) && (__ACE_INLINE__) || (ACEXML_HAS_INLINE == 1) */
-
-# if defined (__ACEXML_INLINE__)
-# define ACEXML_INLINE inline
-# else
-# define ACEXML_INLINE
-# endif /* __ACEXML_INLINE */
-
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_XML_TYPE_H_ */
diff --git a/ACEXML/common/common.mpc b/ACEXML/common/common.mpc
deleted file mode 100644
index 814e10d88cc..00000000000
--- a/ACEXML/common/common.mpc
+++ /dev/null
@@ -1,4 +0,0 @@
-project(ACEXML): acelib {
- sharedname = ACEXML
- dllflags += ACEXML_BUILD_DLL
-}
diff --git a/ACEXML/docs/TODO.txt b/ACEXML/docs/TODO.txt
deleted file mode 100644
index e7e48ca67c4..00000000000
--- a/ACEXML/docs/TODO.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
-@page acexml_todo ACEXML TO-DO List
-
-<ul>
-
- <li>Add Schema parsing ability.
-
- <li>Add support for resolving external entities, such as a
- schema/namespace definition located on the web.
-
- <li>Add parameterized entity management class. See above.
-
- <li>Define validator building/calling interfaces.
-
-</ul>
-
-*/
diff --git a/ACEXML/docs/bugs.txt b/ACEXML/docs/bugs.txt
deleted file mode 100644
index 136e0cd7117..00000000000
--- a/ACEXML/docs/bugs.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
-@page acexml_bugs ACEXML Known Bugs
-
-<ul>
- <li>ACEXML currently do not validate an XML files. The validator
- hooks have not fully integrated into the parser yet.
-
- <li>Need to verify predefined entities are working correctly. Check
- out the SAXPrint example.
-
- <li>Currently, replacement of parameterized reference (PEReference) is
- not working.
-
-</ul>
-
-
-*/
diff --git a/ACEXML/docs/guidelines.txt b/ACEXML/docs/guidelines.txt
deleted file mode 100644
index 9d084924c2c..00000000000
--- a/ACEXML/docs/guidelines.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-// -*- HTML-Helper -*- $Id$
-
-/**
-@page acexml_guides ACEXML Programming Guidelines
-
-<ul>
- <li>A lot of class names under @c $(ACE_ROOT)/ACEXML/common do not
- follow the naming convention suggested in ACE-guidelines.html.
- The reason for that is because those classes were derived from
- the SAX2 API and we would like to keep them as similar as
- possible.
- <li>Character encoding: The default character encoding for ACEXML
- can be set at compile time. ACEXML uses UTF-8 encoding in most
- platforms where <code>ACEXML_Char</code> maps to
- <code>char</code> in this case. When ACE is configured to use
- <CODE>wchar</CODE> and <CODE>UNICODE</CODE>, ACEXML uses UTF-16
- encoding and <code>ACEXML_Char</code> maps to
- <code>wchar_t</code>. Notice that ACEXML assume
- <code>sizeof (wchar_t)</code> is of 2-byte long. For platforms
- using 4-byte <code>wchar_t</code>, ACEXML will not work
- correctly, but it should be trivial to fix.<p>
-
- <li>Currently, there's only an example showing how to use the parser
- under @c $(ACE_ROOT)/ACEXML/examples/SAXPrint/.
-
- <li><b>(Not supported yet)</b> To develop a new validator, one must
- create a DLL implementing
- @c ACEXML_Attributes_Def_Builder, @c
- ACEXML_Attribute_Def_Builder, @c ACEXML_Element_Def_Builder,
- @c ACEXML_Validator, and @c ACEXML_DTD_Manager. The DLL should
- also export a traditional C function called @c
- create_dtd_manager. The XML parser itself should also be
- modified to support and dynamically link with the new validator.
- See @c $(ACE_ROOT)/ACEXML/parser/debug_validator/ for an example.
-
-</ul>
-
-
-*/
diff --git a/ACEXML/docs/parser_features.txt b/ACEXML/docs/parser_features.txt
deleted file mode 100644
index c65930e32a2..00000000000
--- a/ACEXML/docs/parser_features.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-/** -*- HTML-Helper -*- $Id$
-@defgroup acexml_parser_features Configurable Special Features of ACEXML Parser
-@{
-
-There are special features in ACEXML Parser that can be
-activated/deactivated thru @c setFeature. Likewise, whether a feature
-has been activated or not can be queried using @c getFeature.
-
-@sa ACEXML_XMLReader::setFeature
-@sa ACEXML_XMLReader::getFeature
-
-Here is a list of supported features:
-
-<OL>
- <li> namespaces - When this feature is enabled, ACEXML parser allows
- access by namespace qualified names.
-
- <li> namespace_prefixes - Normally the list of attributes returned by the
- parser will not contain attributes used as namespace declarations
- (xmlns:foo="bar"). When this feature is enabled, the list of attributes
- contains the namespace declarations also.
-</OL>
-
-@}
-*/
diff --git a/ACEXML/docs/readme.txt b/ACEXML/docs/readme.txt
deleted file mode 100644
index f0de833b526..00000000000
--- a/ACEXML/docs/readme.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-/** -*- HTML-Helper -*- $Id$
-@mainpage ACEXML - A Small and Portable XML Parser
-
-@section acexml_synopsis Synopsis
-ACEXML is a small footprint and portable framework for integrating XML
-parsing ability into user applications. The framework is based on the
- <a href="http://www.saxproject.org/"> Simple API for XML
-(SAX 2.0) </A> by David Megginson. A simple non-conformant XML parser
-is also included in the framework. Since our original motivation was
-to use the parser for specifying software composition and
-configuration descriptors, at the current stage, the parser does not
-fully support all the features specified in the XML specification.
-
-We do, however, plan to add more features to the parser and will
-either release a more versatile parser or allow the current parser to
-dynamically load in the extra features in the future.
-
-@section acexml_features Features of ACEXML
-<ul>
- <li> ACEXML only recognize UNICODE documents, although they can be
- in various different encoding, such as UTF-8, UTF-16, or UCS-4.
- Therefore, it might be a problem to handle document containing
- multi-byte charatersets. They can, however, be translated into
- UNICODE before being parsed by ACEXML parser.
-</ul>
-
-
-@section acexml_others Other Topics
-<ol>
- <li>@ref acexml_parser_features
- <li>@ref acexml_guides
- <li>@ref acexml_bugs
- <li>@ref acexml_todo
-</ol>
-
-*/
diff --git a/ACEXML/examples/Makefile b/ACEXML/examples/Makefile
deleted file mode 100644
index a508ee1d096..00000000000
--- a/ACEXML/examples/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-#----------------------------------------------------------------------------
-# $Id$
-#
-# Makefile for the client programs that test the ACE network services
-#----------------------------------------------------------------------------
-
-DIRS = SAXPrint
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU
diff --git a/ACEXML/examples/Makefile.bor b/ACEXML/examples/Makefile.bor
deleted file mode 100644
index a2aa4f15bbb..00000000000
--- a/ACEXML/examples/Makefile.bor
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# Makefile for building the ACE XML examples
-#
-
-DIRS = \
- SAXPrint \
- svcconf
-
-!include <$(ACE_ROOT)\include\makeinclude\recurse.bor>
diff --git a/ACEXML/examples/SAXPrint/Makefile b/ACEXML/examples/SAXPrint/Makefile
deleted file mode 100644
index 728d6d7f1f5..00000000000
--- a/ACEXML/examples/SAXPrint/Makefile
+++ /dev/null
@@ -1,267 +0,0 @@
-#----------------------------------------------------------------------------
-# $Id$
-#
-# Makefile for repeating token client application
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-LDLIBS = -lACEXML_Parser -lACEXML
-FILES = Print_Handler \
- SAXPrint_Handler
-
-SRC = $(addsuffix .cpp,$(FILES))
-OBJ = $(LSRC:%.cpp=$(VDIR)%.o)
-
-BIN = main
-
-BUILD = $(VBIN)
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-
-#----------------------------------------------------------------------------
-# Local targets
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Dependencies
-#----------------------------------------------------------------------------
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-
-.obj/Print_Handler.o .obj/Print_Handler.so .shobj/Print_Handler.o .shobj/Print_Handler.so: Print_Handler.cpp Print_Handler.h \
- $(ACE_ROOT)/ACEXML/common/DefaultHandler.h \
- $(ACE_ROOT)/ace/pre.h \
- $(ACE_ROOT)/ACEXML/common/ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- $(ACE_ROOT)/ACEXML/common/ContentHandler.h \
- $(ACE_ROOT)/ACEXML/common/Env.h \
- $(ACE_ROOT)/ACEXML/common/XML_Macros.h \
- $(ACE_ROOT)/ace/Exception_Macros.h \
- $(ACE_ROOT)/ACEXML/common/Exception.h \
- $(ACE_ROOT)/ACEXML/common/XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ACEXML/common/Exception.i \
- $(ACE_ROOT)/ACEXML/common/Env.i \
- $(ACE_ROOT)/ACEXML/common/SAXExceptions.h \
- $(ACE_ROOT)/ACEXML/common/SAXExceptions.i \
- $(ACE_ROOT)/ACEXML/common/Locator.h \
- $(ACE_ROOT)/ACEXML/common/Attributes.h \
- $(ACE_ROOT)/ACEXML/common/DTDHandler.h \
- $(ACE_ROOT)/ACEXML/common/EntityResolver.h \
- $(ACE_ROOT)/ACEXML/common/InputSource.h \
- $(ACE_ROOT)/ACEXML/common/CharStream.h \
- $(ACE_ROOT)/ACEXML/common/ErrorHandler.h \
- $(ACE_ROOT)/ACEXML/common/DefaultHandler.i
-
-.obj/SAXPrint_Handler.o .obj/SAXPrint_Handler.so .shobj/SAXPrint_Handler.o .shobj/SAXPrint_Handler.so: SAXPrint_Handler.cpp SAXPrint_Handler.h \
- $(ACE_ROOT)/ACEXML/common/DefaultHandler.h \
- $(ACE_ROOT)/ace/pre.h \
- $(ACE_ROOT)/ACEXML/common/ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- $(ACE_ROOT)/ACEXML/common/ContentHandler.h \
- $(ACE_ROOT)/ACEXML/common/Env.h \
- $(ACE_ROOT)/ACEXML/common/XML_Macros.h \
- $(ACE_ROOT)/ace/Exception_Macros.h \
- $(ACE_ROOT)/ACEXML/common/Exception.h \
- $(ACE_ROOT)/ACEXML/common/XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ACEXML/common/Exception.i \
- $(ACE_ROOT)/ACEXML/common/Env.i \
- $(ACE_ROOT)/ACEXML/common/SAXExceptions.h \
- $(ACE_ROOT)/ACEXML/common/SAXExceptions.i \
- $(ACE_ROOT)/ACEXML/common/Locator.h \
- $(ACE_ROOT)/ACEXML/common/Attributes.h \
- $(ACE_ROOT)/ACEXML/common/DTDHandler.h \
- $(ACE_ROOT)/ACEXML/common/EntityResolver.h \
- $(ACE_ROOT)/ACEXML/common/InputSource.h \
- $(ACE_ROOT)/ACEXML/common/CharStream.h \
- $(ACE_ROOT)/ACEXML/common/ErrorHandler.h \
- $(ACE_ROOT)/ACEXML/common/DefaultHandler.i \
- SAXPrint_Handler.i
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/ACEXML/examples/SAXPrint/Makefile.bor b/ACEXML/examples/SAXPrint/Makefile.bor
deleted file mode 100644
index 89c1f051772..00000000000
--- a/ACEXML/examples/SAXPrint/Makefile.bor
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# $Id$
-# Makefile for building the SAXPrint example
-#
-
-NAME = SAXPrint
-
-OBJFILES = \
- $(OBJDIR)\Print_Handler.obj \
- $(OBJDIR)\SAXPrint_Handler.obj \
- $(OBJDIR)\main.obj
-
-CFLAGS = \
- $(ACE_CFLAGS) \
- $(ACE_XML_CFLAGS) \
- $(ACE_XML_PARSER_CFLAGS)
-
-CPPDIR = .
-
-LIBFILES = \
- $(ACE_LIB) \
- $(ACE_XML_LIB) \
- $(ACE_XML_PARSER_LIB)
-
-!include <$(ACE_ROOT)\include\makeinclude\build_exe.bor>
diff --git a/ACEXML/examples/SAXPrint/Print_Handler.cpp b/ACEXML/examples/SAXPrint/Print_Handler.cpp
deleted file mode 100644
index 19cfb44ba8d..00000000000
--- a/ACEXML/examples/SAXPrint/Print_Handler.cpp
+++ /dev/null
@@ -1,256 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "Print_Handler.h"
-#include "ace/ACE.h"
-#include "ace/Log_Msg.h"
-
-#if !defined (__ACEXML_INLINE__)
-# include "Print_Handler.i"
-#endif /* __ACEXML_INLINE__ */
-
-ACEXML_Print_Handler::ACEXML_Print_Handler (ACEXML_Char* fileName)
- : fileName_(ACE::strnew (fileName))
-{
-
-}
-
-ACEXML_Print_Handler::~ACEXML_Print_Handler (void)
-{
- delete[] this->fileName_;
-}
-
-void
-ACEXML_Print_Handler::characters (const ACEXML_Char *cdata,
- int start,
- int end ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("* Event characters () ** start: %d end: %d ***************\n%s\n- End event characters () ---------------\n"),
- start, end, cdata));
-}
-
-void
-ACEXML_Print_Handler::endDocument (ACEXML_ENV_SINGLE_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("* Event endDocument () ***************\n")));
-}
-
-void
-ACEXML_Print_Handler::endElement (const ACEXML_Char *uri,
- const ACEXML_Char *name,
- const ACEXML_Char *qName
- ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("* Event endElement (%s, %s, %s) ***************\n"),
- uri, name, qName));
-}
-
-void
-ACEXML_Print_Handler::endPrefixMapping (const ACEXML_Char *prefix
- ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("* Event endPrefixMapping (%s) ***************\n"),
- prefix));
-}
-
-void
-ACEXML_Print_Handler::ignorableWhitespace (const ACEXML_Char *,
- int,
- int
- ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("* Event ignorableWhitespace () ***************\n")));
-}
-
-void
-ACEXML_Print_Handler::processingInstruction (const ACEXML_Char *target,
- const ACEXML_Char *data
- ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("* Event processingInstruction (%s, %s) ***************\n"),
- target, data));
-}
-
-void
-ACEXML_Print_Handler::setDocumentLocator (ACEXML_Locator * locator)
-{
-
- this->locator_ = locator;
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("* Event setDocumentLocator () ***************\n")));
-}
-
-void
-ACEXML_Print_Handler::skippedEntity (const ACEXML_Char *name
- ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("* Event skippedEntity (%s) ***************\n"),
- name));
-}
-
-void
-ACEXML_Print_Handler::startDocument (ACEXML_ENV_SINGLE_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("* Event startDocument () ***************\n")));
-}
-
-void
-ACEXML_Print_Handler::startElement (const ACEXML_Char *uri,
- const ACEXML_Char *name,
- const ACEXML_Char *qName,
- ACEXML_Attributes *alist
- ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("* Event startElement (%s, %s, %s) ***************\n"),
- uri, name, qName));
-
- if (alist != 0)
- for (size_t i = 0; i < alist->getLength (); ++i)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT (" %s = \"%s\"\n"),
- alist->getQName (i), alist->getValue (i)));
- }
-}
-
-void
-ACEXML_Print_Handler::startPrefixMapping (const ACEXML_Char * prefix,
- const ACEXML_Char * uri ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("* Event startPrefixMapping () ***************\n")));
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("Prefix = %s, URI = %s\n"), prefix, uri));
-}
-
-// *** Methods inherit from ACEXML_DTDHandler.
-
-void
-ACEXML_Print_Handler::notationDecl (const ACEXML_Char *name,
- const ACEXML_Char *publicID,
- const ACEXML_Char *systemID ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("* Event notationDecl: (%s) "),
- name));
-
- if (publicID == 0)
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("SYSTEM %s\n"),
- systemID));
- else if (systemID == 0)
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("PUBLIC %s\n"),
- publicID));
- else
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("PUBLIC %s %s\n"),
- publicID, systemID));
-}
-
-void
-ACEXML_Print_Handler::unparsedEntityDecl (const ACEXML_Char *name,
- const ACEXML_Char *publicID,
- const ACEXML_Char *systemID,
- const ACEXML_Char *notationName ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("* Unparsed Entity: %s"),
- name));
-
- if (publicID == 0)
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT (" SYSTEM %s"),
- systemID));
- else
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT (" PUBLIC %s %s"),
- publicID, systemID));
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT (" NDATA %s\n"),
- notationName));
-}
-
-// Methods inherit from ACEXML_EnitityResolver.
-
-ACEXML_InputSource *
-ACEXML_Print_Handler::resolveEntity (const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
- return 0;
-}
-
-// Methods inherit from ACEXML_ErrorHandler.
-
- /*
- * Receive notification of a recoverable error.
- */
-void
-ACEXML_Print_Handler::error (ACEXML_SAXParseException & ex ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
- ACE_DEBUG ((LM_DEBUG, "%s:%d:%d ", this->fileName_,
- this->locator_->getLineNumber(),
- this->locator_->getColumnNumber()));
- ex.print();
-}
-
-void
-ACEXML_Print_Handler::fatalError (ACEXML_SAXParseException& ex ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
- ACE_DEBUG ((LM_DEBUG, "%s:%d:%d ", this->fileName_,
- this->locator_->getLineNumber(),
- this->locator_->getColumnNumber()));
- ex.print();
-}
-
-void
-ACEXML_Print_Handler::warning (ACEXML_SAXParseException & ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
diff --git a/ACEXML/examples/SAXPrint/Print_Handler.h b/ACEXML/examples/SAXPrint/Print_Handler.h
deleted file mode 100644
index 3f28e6d9165..00000000000
--- a/ACEXML/examples/SAXPrint/Print_Handler.h
+++ /dev/null
@@ -1,187 +0,0 @@
-// $Id$
-
-//=============================================================================
-/**
- * @file Print_Handler.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef ACEXML_PRINT_HANDLER_H
-#define ACEXML_PRINT_HANDLER_H
-
-#include "ACEXML/common/DefaultHandler.h"
-
-/**
- * @class ACEXML_Print_Handler
- *
- * @brief ACEXML_Print_Handler is an example SAX event handler.
- *
- * This SAX event handler prints out a detailed event report
- * on every event it receives.
- */
-class ACEXML_Print_Handler : public ACEXML_DefaultHandler
-{
-public:
- /*
- * Default constructor.
- */
- ACEXML_Print_Handler (ACEXML_Char* fileName);
-
- /*
- * Default destructor.
- */
- virtual ~ACEXML_Print_Handler (void);
-
- // Methods inherited from ACEXML_ContentHandler.
-
- /*
- * Receive notification of character data.
- */
- virtual void characters (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of the end of a document.
- */
- virtual void endDocument (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of the end of an element.
- */
- virtual void endElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * End the scope of a prefix-URI mapping.
- */
- virtual void endPrefixMapping (const ACEXML_Char *prefix ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of ignorable whitespace in element content.
- */
- virtual void ignorableWhitespace (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of a processing instruction.
- */
- virtual void processingInstruction (const ACEXML_Char *target,
- const ACEXML_Char *data ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive an object for locating the origin of SAX document events.
- */
- virtual void setDocumentLocator (ACEXML_Locator *locator) ;
-
- /*
- * Receive notification of a skipped entity.
- */
- virtual void skippedEntity (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of the beginning of a document.
- */
- virtual void startDocument (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of the beginning of an element.
- */
- virtual void startElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName,
- ACEXML_Attributes *atts ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Begin the scope of a prefix-URI Namespace mapping.
- */
- virtual void startPrefixMapping (const ACEXML_Char *prefix,
- const ACEXML_Char *uri ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- // *** Methods inherit from ACEXML_DTDHandler.
-
- /*
- * Receive notification of a notation declaration event.
- */
- virtual void notationDecl (const ACEXML_Char *name,
- const ACEXML_Char *publicId,
- const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of an unparsed entity declaration event.
- */
- virtual void unparsedEntityDecl (const ACEXML_Char *name,
- const ACEXML_Char *publicId,
- const ACEXML_Char *systemId,
- const ACEXML_Char *notationName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- // Methods inherit from ACEXML_EnitityResolver.
-
- /*
- * Allow the application to resolve external entities.
- */
- virtual ACEXML_InputSource *resolveEntity (const ACEXML_Char *publicId,
- const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- // Methods inherit from ACEXML_ErrorHandler.
-
- /*
- * Receive notification of a recoverable error.
- */
- virtual void error (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of a non-recoverable error.
- */
- virtual void fatalError (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of a warning.
- */
- virtual void warning (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-private:
-
- ACEXML_Char* fileName_;
- ACEXML_Locator* locator_;
-
-};
-
-#endif /* ACEXML_PRINT_HANDLER_H */
diff --git a/ACEXML/examples/SAXPrint/Print_Handler.i b/ACEXML/examples/SAXPrint/Print_Handler.i
deleted file mode 100644
index 77b4466a3cb..00000000000
--- a/ACEXML/examples/SAXPrint/Print_Handler.i
+++ /dev/null
@@ -1 +0,0 @@
-// -*- C++ -*- $Id$
diff --git a/ACEXML/examples/SAXPrint/SAXPrint.dsp b/ACEXML/examples/SAXPrint/SAXPrint.dsp
deleted file mode 100644
index 2d9a6cc4a98..00000000000
--- a/ACEXML/examples/SAXPrint/SAXPrint.dsp
+++ /dev/null
@@ -1,130 +0,0 @@
-# Microsoft Developer Studio Project File - Name="SAXPrint" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=SAXPrint - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "SAXPrint.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "SAXPrint.mak" CFG="SAXPrint - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "SAXPrint - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "SAXPrint - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "SAXPrint - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "../../.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib ACEXML.lib ACEXML_Parser.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\ace" /libpath:"..\..\Common" /libpath:"..\..\parser\parser"
-
-!ELSEIF "$(CFG)" == "SAXPrint - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../../.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib ACEXMLd.lib ACEXML_Parserd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\ace" /libpath:"..\..\Common" /libpath:"..\..\parser\parser"
-
-!ENDIF
-
-# Begin Target
-
-# Name "SAXPrint - Win32 Release"
-# Name "SAXPrint - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Print_Handler.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\SAXPrint_Handler.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# Begin Source File
-
-SOURCE=.\Print_Handler.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\SAXPrint_Handler.h
-# End Source File
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# End Group
-# Begin Group "Inline Files"
-
-# PROP Default_Filter "i"
-# Begin Source File
-
-SOURCE=.\Print_Handler.i
-# End Source File
-# Begin Source File
-
-SOURCE=.\SAXPrint_Handler.i
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/ACEXML/examples/SAXPrint/SAXPrint.dsw b/ACEXML/examples/SAXPrint/SAXPrint.dsw
deleted file mode 100644
index 3ec5cb65624..00000000000
--- a/ACEXML/examples/SAXPrint/SAXPrint.dsw
+++ /dev/null
@@ -1,29 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "SAXPrint"=.\SAXPrint.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/ACEXML/examples/SAXPrint/SAXPrint.mpc b/ACEXML/examples/SAXPrint/SAXPrint.mpc
deleted file mode 100644
index fb64bc80fcd..00000000000
--- a/ACEXML/examples/SAXPrint/SAXPrint.mpc
+++ /dev/null
@@ -1,2 +0,0 @@
-project(SAXPrint): aceexe, acexml {
-}
diff --git a/ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp b/ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp
deleted file mode 100644
index 66d96dca47b..00000000000
--- a/ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp
+++ /dev/null
@@ -1,243 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "SAXPrint_Handler.h"
-#include "ace/ACE.h"
-#include "ace/Log_Msg.h"
-
-#if !defined (__ACEXML_INLINE__)
-# include "SAXPrint_Handler.i"
-#endif /* __ACEXML_INLINE__ */
-
-ACEXML_SAXPrint_Handler::ACEXML_SAXPrint_Handler (const ACEXML_Char* filename)
- : indent_ (0), fileName_(ACE::strnew (filename)), locator_ (0)
-{
- // no-op
-}
-
-ACEXML_SAXPrint_Handler::~ACEXML_SAXPrint_Handler (void)
-{
- delete [] this->fileName_;
-}
-
-void
-ACEXML_SAXPrint_Handler::characters (const ACEXML_Char *cdata,
- int start,
- int end ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
- ACE_UNUSED_ARG (start);
- ACE_UNUSED_ARG (end);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("%s"),
- cdata));
-}
-
-void
-ACEXML_SAXPrint_Handler::endDocument (ACEXML_ENV_SINGLE_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
-
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("\n")));
-}
-
-void
-ACEXML_SAXPrint_Handler::endElement (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char *qName
- ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
-
- this->dec_indent ();
- this->print_indent ();
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("</%s>"),
- qName));
-}
-
-void
-ACEXML_SAXPrint_Handler::endPrefixMapping (const ACEXML_Char *prefix
- ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("* Event endPrefixMapping (%s) ***************\n"),
- prefix));
-}
-
-void
-ACEXML_SAXPrint_Handler::ignorableWhitespace (const ACEXML_Char *,
- int,
- int ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("* Event ignorableWhitespace () ***************\n")));
-}
-
-void
-ACEXML_SAXPrint_Handler::processingInstruction (const ACEXML_Char *target,
- const ACEXML_Char *data
- ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
-
- this->print_indent ();
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("<?%s %s>\n"),
- target, data));
-}
-
-void
-ACEXML_SAXPrint_Handler::setDocumentLocator (ACEXML_Locator * locator)
-{
-
- this->locator_ = locator;
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("* Event setDocumentLocator () ***************\n")));
-}
-
-void
-ACEXML_SAXPrint_Handler::skippedEntity (const ACEXML_Char *name
- ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("* Event skippedEntity (%s) ***************\n"),
- name));
-}
-
-void
-ACEXML_SAXPrint_Handler::startDocument (ACEXML_ENV_SINGLE_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("* Event startDocument () ***************\n")));
-}
-
-void
-ACEXML_SAXPrint_Handler::startElement (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char *qName,
- ACEXML_Attributes *alist
- ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
-
- this->print_indent ();
-
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("<%s"),
- qName));
- if (alist != 0)
- for (size_t i = 0; i < alist->getLength (); ++i)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT (" %s = \"%s\""),
- alist->getQName (i), alist->getValue (i)));
- }
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT (">")));
- this->inc_indent ();
-}
-
-void
-ACEXML_SAXPrint_Handler::startPrefixMapping (const ACEXML_Char * prefix,
- const ACEXML_Char * uri ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("* Event startPrefixMapping () ***************\n")));
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("Prefix = %s, URI = %s\n"), prefix, uri));
-
-}
-
-// *** Methods inherited from ACEXML_DTDHandler.
-
-void
-ACEXML_SAXPrint_Handler::notationDecl (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-void
-ACEXML_SAXPrint_Handler::unparsedEntityDecl (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-// Methods inherited from ACEXML_EnitityResolver.
-
-ACEXML_InputSource *
-ACEXML_SAXPrint_Handler::resolveEntity (const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
- return 0;
-}
-
-// Methods inherited from ACEXML_ErrorHandler.
-
- /*
- * Receive notification of a recoverable error.
- */
-void
-ACEXML_SAXPrint_Handler::error (ACEXML_SAXParseException & ex
- ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- ACE_DEBUG ((LM_DEBUG, "%s: line :%d col: %d ", this->fileName_,
- this->locator_->getLineNumber(),
- this->locator_->getColumnNumber()));
- ex.print();
-}
-
-void
-ACEXML_SAXPrint_Handler::fatalError (ACEXML_SAXParseException & ex
- ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- ACE_DEBUG ((LM_DEBUG, "%s: line :%d col: %d ", this->fileName_,
- this->locator_->getLineNumber(),
- this->locator_->getColumnNumber()));
- ex.print();
-}
-
-void
-ACEXML_SAXPrint_Handler::warning (ACEXML_SAXParseException & ex
- ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- ACE_DEBUG ((LM_DEBUG, "%s: line :%d col: %d ", this->fileName_,
- this->locator_->getLineNumber(),
- this->locator_->getColumnNumber()));
- ex.print();
-}
-
-void
-ACEXML_SAXPrint_Handler::print_indent (void)
-{
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("\n")));
- for (size_t i = 0; i < this->indent_; ++i)
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT (" ")));
-}
diff --git a/ACEXML/examples/SAXPrint/SAXPrint_Handler.h b/ACEXML/examples/SAXPrint/SAXPrint_Handler.h
deleted file mode 100644
index 612dd406c06..00000000000
--- a/ACEXML/examples/SAXPrint/SAXPrint_Handler.h
+++ /dev/null
@@ -1,195 +0,0 @@
-// $Id$
-
-//=============================================================================
-/**
- * @file SAXPrint_Handler.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef ACEXML_SAXPRINT_HANDLER_H
-#define ACEXML_SAXPRINT_HANDLER_H
-
-#include "ACEXML/common/DefaultHandler.h"
-
-/**
- * @class ACEXML_SAXPrint_Handler
- *
- * @brief ACEXML_SAXPrint_Handler is an example SAX event handler.
- *
- * This SAX event handler try to regenerate the XML document it
- * reads with correct indentation.
- */
-class ACEXML_SAXPrint_Handler : public ACEXML_DefaultHandler
-{
-public:
- /*
- * Default constructor.
- */
- ACEXML_SAXPrint_Handler (const ACEXML_Char* name);
-
- /*
- * Default destructor.
- */
- virtual ~ACEXML_SAXPrint_Handler (void);
-
- // Methods inherit from ACEXML_ContentHandler.
-
- /*
- * Receive notification of character data.
- */
- virtual void characters (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of the end of a document.
- */
- virtual void endDocument (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of the end of an element.
- */
- virtual void endElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * End the scope of a prefix-URI mapping.
- */
- virtual void endPrefixMapping (const ACEXML_Char *prefix ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of ignorable whitespace in element content.
- */
- virtual void ignorableWhitespace (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of a processing instruction.
- */
- virtual void processingInstruction (const ACEXML_Char *target,
- const ACEXML_Char *data ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive an object for locating the origin of SAX document events.
- */
- virtual void setDocumentLocator (ACEXML_Locator *locator) ;
-
- /*
- * Receive notification of a skipped entity.
- */
- virtual void skippedEntity (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of the beginning of a document.
- */
- virtual void startDocument (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of the beginning of an element.
- */
- virtual void startElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName,
- ACEXML_Attributes *atts ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Begin the scope of a prefix-URI Namespace mapping.
- */
- virtual void startPrefixMapping (const ACEXML_Char *prefix,
- const ACEXML_Char *uri ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- // *** Methods inherit from ACEXML_DTDHandler.
-
- /*
- * Receive notification of a notation declaration event.
- */
- virtual void notationDecl (const ACEXML_Char *name,
- const ACEXML_Char *publicId,
- const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of an unparsed entity declaration event.
- */
- virtual void unparsedEntityDecl (const ACEXML_Char *name,
- const ACEXML_Char *publicId,
- const ACEXML_Char *systemId,
- const ACEXML_Char *notationName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- // Methods inherit from ACEXML_EnitityResolver.
-
- /*
- * Allow the application to resolve external entities.
- */
- virtual ACEXML_InputSource *resolveEntity (const ACEXML_Char *publicId,
- const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- // Methods inherit from ACEXML_ErrorHandler.
-
- /*
- * Receive notification of a recoverable error.
- */
- virtual void error (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of a non-recoverable error.
- */
- virtual void fatalError (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of a warning.
- */
- virtual void warning (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- void inc_indent ();
- void dec_indent ();
- void print_indent ();
-
-private:
-
- size_t indent_;
- ACEXML_Char* fileName_;
- ACEXML_Locator* locator_;
-};
-
-#if defined (__ACEXML_INLINE__)
-# include "SAXPrint_Handler.i"
-#endif /* __ACEXML_INLINE__ */
-#endif /* ACEXML_SAXPRINT_HANDLER_H */
diff --git a/ACEXML/examples/SAXPrint/SAXPrint_Handler.i b/ACEXML/examples/SAXPrint/SAXPrint_Handler.i
deleted file mode 100644
index 2102291ea68..00000000000
--- a/ACEXML/examples/SAXPrint/SAXPrint_Handler.i
+++ /dev/null
@@ -1,13 +0,0 @@
-// -*- C++ -*- $Id$
-
-ACEXML_INLINE void
-ACEXML_SAXPrint_Handler::inc_indent (void)
-{
- this->indent_ += 1;
-}
-
-ACEXML_INLINE void
-ACEXML_SAXPrint_Handler::dec_indent (void)
-{
- this->indent_ -= 1;
-}
diff --git a/ACEXML/examples/SAXPrint/broken.xml b/ACEXML/examples/SAXPrint/broken.xml
deleted file mode 100644
index fc8432680e8..00000000000
--- a/ACEXML/examples/SAXPrint/broken.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0"?>
-<!-- This is a broken XML file. Most of the stuff here don't make any sense at all -->
-
-<root>
- <child> kid </child> \ No newline at end of file
diff --git a/ACEXML/examples/SAXPrint/main.cpp b/ACEXML/examples/SAXPrint/main.cpp
deleted file mode 100644
index 64ce0125fe4..00000000000
--- a/ACEXML/examples/SAXPrint/main.cpp
+++ /dev/null
@@ -1,142 +0,0 @@
-// $Id$
-
-#include "ACEXML/common/FileCharStream.h"
-#include "ACEXML/common/HttpCharStream.h"
-#include "ACEXML/common/StrCharStream.h"
-#include "ACEXML/parser/parser/Parser.h"
-#include "Print_Handler.h"
-#include "SAXPrint_Handler.h"
-#include "ace/Get_Opt.h"
-#include "ace/Auto_Ptr.h"
-
-static const ACEXML_Char *test_string =
-ACE_TEXT ("<?xml version='1.0'?> <ACE_Svc_Conf> <static id=\"ACE_Service_Manager\" params='-d -p 4911'/> <dynamic id=\"Test_Task\" type=\"service_object\"> &#65; &amp; <initializer path=\"CCM_App\" init='_make_Test_Task' params='-p 3000'/> </dynamic> </ACE_Svc_Conf>");
-
-static void
-usage (const ACE_TCHAR* program)
-{
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT ("Usage: %s [-sl] [-f <filename> | -u <url>]\n")
- ACE_TEXT (" -s: Use SAXPrint_Handler (Default is Print_Handler)\n")
- ACE_TEXT (" -l: Parse the internal strings (test the StrCharStream class)\n")
- ACE_TEXT (" -f: Specify the filename when -l is not specified\n")
- ACE_TEXT (" -n: Use the \"Simple\" parsing feature\n")
- ACE_TEXT (" -u: URL specifying the path to the file\n"),
- program));
-}
-
-int
-ACE_TMAIN (int argc, ACE_TCHAR *argv[])
-{
- ACEXML_Char* filename = 0;
- int sax = 0; // Use SAXPrint handler or not.
- int str = 0;
- int simple = 0;
- ACEXML_Char* url = 0;
-
- ACE_Get_Opt get_opt (argc, argv, ACE_TEXT ("snf:lu:"));
- int c;
-
- while ((c = get_opt ()) != EOF)
- {
- switch (c)
- {
- case 's':
- sax = 1;
- break;
- case 'l':
- str = 1;
- break;
- case 'f':
- filename = get_opt.opt_arg ();
- break;
- case 'n':
- simple = 1;
- break;
- case 'u':
- url = get_opt.opt_arg();
- break;
- default:
- usage(argv[0]);
- return -1;
- }
- }
-
- if (str == 0 && filename == 0 && url == 0) {
- usage(argv[0]);
- return -1;
- }
-
- ACEXML_DefaultHandler *handler = 0;
- auto_ptr<ACEXML_DefaultHandler> cleanup_handler (handler);
- ACEXML_CharStream *stm = 0;
- ACEXML_FileCharStream *fstm = 0;
- ACEXML_HttpCharStream *ustm = 0;
- if (filename != 0)
- {
- ACE_NEW_RETURN (fstm,
- ACEXML_FileCharStream (),
- -1);
-
- if (fstm->open (filename) != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- ACE_TEXT ("Failed to open XML file: %s\n"),
- filename),
- -1);
- stm = fstm;
- }
- else if (url != 0)
- {
-
- ACE_NEW_RETURN (ustm,
- ACEXML_HttpCharStream (),
- -1);
- if (ustm->open (url) != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- ACE_TEXT ("Failed to open URL : %s\n"),
- url),
- -1);
- stm = ustm;
- }
- else {
- ACE_NEW_RETURN (stm,
- ACEXML_StrCharStream (test_string),
- -1);
- }
-
- ACEXML_Char* name = (filename == 0) ? url : filename;
- if (sax == 0)
- ACE_NEW_RETURN (handler,
- ACEXML_Print_Handler (name),
- -1);
- else
- ACE_NEW_RETURN (handler,
- ACEXML_SAXPrint_Handler (name),
- -1);
-
- ACEXML_TRY_NEW_ENV
- {
- ACEXML_Parser parser;
- if (simple != 0)
- {
- parser.setFeature (ACE_TEXT ("Simple"), 1 ACEXML_ENV_ARG_PARAMETER);
- ACEXML_TRY_CHECK;
- }
- ACEXML_InputSource input(stm);
-
- parser.setContentHandler (handler);
- parser.setDTDHandler (handler);
- parser.setErrorHandler (handler);
- parser.setEntityResolver (handler);
-
- parser.parse (&input ACEXML_ENV_ARG_PARAMETER);
- ACEXML_TRY_CHECK;
- }
- ACEXML_CATCH (ACEXML_SAXException, ex)
- {
- ACE_UNUSED_ARG (ex);
- ACE_DEBUG ((LM_ERROR, ACE_TEXT ("Exception occurred. Exiting...\n")));
- }
- ACEXML_ENDTRY;
- return 0;
-}
diff --git a/ACEXML/examples/SAXPrint/ns.svc.conf.xml b/ACEXML/examples/SAXPrint/ns.svc.conf.xml
deleted file mode 100644
index db1821d7ac0..00000000000
--- a/ACEXML/examples/SAXPrint/ns.svc.conf.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0"?>
-<ace:ACE_Svc_Conf xmlns="http://ace.doc.wustl.edu/svcconf" xmlns:ace="http://ace.doc.wustl.edu/svcconf">
-<static id="ACE_Service_Manager">
- <params>-d</params>
- <params>-p 4911</params>
-</static>
-
-<dynamic id="Test_Task" type="service_object"> &#65; &amp;
- <initializer path="CCM_App" init="_make_Test_Task">
- <params>-p 3000</params>
- </initializer>
-</dynamic>
-
-<ace:streamdef>
- <dynamic id="CCM_App" type="stream" status="active">
- <initializer path="CCM_App" init="make_stream"/>
- </dynamic>
- <module>
- <dynamic id="Device_Adapter" type="module">
- <initializer path="CCM_App" init="make_da"/>
- </dynamic>
- <dynamic id="Event_Analyzer" type="module">
- <initializer path="CCM_App" init="make_ea"/>
- </dynamic>
- <dynamic id="Multicast_Router" type="module">
- <initializer path="CCM_App" init="make_mr">
- <params>-p</params>
- <params>3001</params>
- </initializer>
- </dynamic>
- </module>
-</ace:streamdef>
-
-<stream id="CCM_App">
- <module>
- <remove id="Device_Adapter"/>
- <!-- <remove id="Event_Analyzer"/> -->
- <!-- <remove id="Multicast_Router"/> -->
- <![CDATA[Only a text string.
-Do you &amp;expect something more?]]>
- </module>
-</stream>
-
-<!-- remove CCM_App -->
-<remove id="Test_&amp;Task&#x65;bc"/>
-</ace:ACE_Svc_Conf>
diff --git a/ACEXML/examples/SAXPrint/simple.svcconf.xml b/ACEXML/examples/SAXPrint/simple.svcconf.xml
deleted file mode 100644
index 32afe359fdb..00000000000
--- a/ACEXML/examples/SAXPrint/simple.svcconf.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<ACE_Svc_Conf>
-<static id="ACE_Service_Manager" params="-d -p 4911"/>
-
-<dynamic id="Test_Task" type="service_object"> &#65; &amp;
- <initializer path="CCM_App" init="_make_Test_Task" params="-p 3000" />
-</dynamic>
-
-<streamdef>
- <dynamic id="CCM_App" type="stream" status="active">
- <initializer path="CCM_App" init="make_stream"/>
- </dynamic>
- <module>
- <dynamic id="Device_Adapter" type="module">
- <initializer path="CCM_App" init="make_da"/>
- </dynamic>
- <dynamic id="Event_Analyzer" type="module">
- <initializer path="CCM_App" init="make_ea"/>
- </dynamic>
- <dynamic id="Multicast_Router" type="module">
- <initializer path="CCM_App" init="make_mr" params="-p 3001"/>
- </dynamic>
- </module>
-</streamdef>
-
-<stream id="&ccm;">
- <module>
- <remove id="Device_Adapter"/>
- <!-- <remove id="Event_Analyzer"/> -->
- <!-- <remove id="Multicast_Router"/> -->
- <![CDATA[Only a text string.
-Do you &amp;expect something more? &#65;]]>
-<!-- Noticed that the "&amp;" in the above CDATA section can not be escaped. -->
- </module>
-</stream>
-
-<!-- remove CCM_App -->
-<remove id="Test_&amp;Task&#x61;bc"/>
-</ACE_Svc_Conf>
diff --git a/ACEXML/examples/SAXPrint/svc.conf.xml b/ACEXML/examples/SAXPrint/svc.conf.xml
deleted file mode 100644
index 152f3b44406..00000000000
--- a/ACEXML/examples/SAXPrint/svc.conf.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0"?>
-<!-- This is a test XML file. Most of the stuff here don't make any sense at all -->
-<!DOCTYPE ACE_Svc_Conf PUBLIC 'GOODSAM' 'http://ace.cs.wustl.edu/dtd/ACE_SVCCONF.DTD'
- [
- <!NOTATION goody PUBLIC 'NBC' 'http://hardcoreace.com/'>
- <!NOTATION frodo PUBLIC 'ABC'>
- <!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/'>
- <!ENTITY gandolf SYSTEM 'D:/RINGS.DOT'>
- <!ELEMENT GOOBEGONE EMPTY>
- <!ELEMENT POOPOO ANY>
- <!ELEMENT HOHOHO ((BOOBOO, GOOBEGONE)?, (GOOBEGONE|POOPOO)*)+>
- <!ELEMENT BOOBOO (#PCDATA | BOOBOO)*>
- <!ATTLIST GOOBEGONE
- ohmy CDATA #REQUIRED
- testing IDREF #IMPLIED>
- ]>
-
-<ACE_Svc_Conf>
-<static id="ACE_Service_Manager" params="-d -p 4911"/>
-
-<dynamic id="Test_Task" type="service_object"> &#65; &amp;
- <initializer path="CCM_App" init="_make_Test_Task" params="-p 3000" />
-</dynamic>
-
-<streamdef>
- <dynamic id="CCM_App" type="stream" status="active">
- <initializer path="CCM_App" init="make_stream"/>
- </dynamic>
- <module>
- <dynamic id="Device_Adapter" type="module">
- <initializer path="CCM_App" init="make_da"/>
- </dynamic>
- <dynamic id="Event_Analyzer" type="module">
- <initializer path="CCM_App" init="make_ea"/>
- </dynamic>
- <dynamic id="Multicast_Router" type="module">
- <initializer path="CCM_App" init="make_mr" params="-p 3001"/>
- </dynamic>
- </module>
-</streamdef>
-
-<stream id="&ccm;">
- <module>
- <remove id="Device_Adapter"/>
- <!-- <remove id="Event_Analyzer"/> -->
- <!-- <remove id="Multicast_Router"/> -->
- <![CDATA[Only a text string.
-Do you &amp;expect something more? &#65;]]>
-<!-- Noticed that the "&amp;" in the above CDATA section can not be escaped. -->
- </module>
-</stream>
-
-<!-- remove CCM_App -->
-<remove id="Test_&amp;Task&#x61;bc"/>
-</ACE_Svc_Conf>
diff --git a/ACEXML/examples/svcconf/Makefile.bor b/ACEXML/examples/svcconf/Makefile.bor
deleted file mode 100644
index 91b14f910cb..00000000000
--- a/ACEXML/examples/svcconf/Makefile.bor
+++ /dev/null
@@ -1,24 +0,0 @@
-#
-# $Id$
-# Makefile for building the svcconf example
-#
-
-NAME = Svcconf
-
-OBJFILES = \
- $(OBJDIR)\Svcconf_Handler.obj \
- $(OBJDIR)\main.obj
-
-CFLAGS = \
- $(ACE_CFLAGS) \
- $(ACE_XML_CFLAGS) \
- $(ACE_XML_PARSER_CFLAGS)
-
-CPPDIR = .
-
-LIBFILES = \
- $(ACE_LIB) \
- $(ACE_XML_LIB) \
- $(ACE_XML_PARSER_LIB)
-
-!include <$(ACE_ROOT)\include\makeinclude\build_exe.bor>
diff --git a/ACEXML/examples/svcconf/README b/ACEXML/examples/svcconf/README
deleted file mode 100644
index 7463c7e9572..00000000000
--- a/ACEXML/examples/svcconf/README
+++ /dev/null
@@ -1,3 +0,0 @@
-$Id$
-
-A test workspace for svc.conf handler. \ No newline at end of file
diff --git a/ACEXML/examples/svcconf/Svcconf.dsp b/ACEXML/examples/svcconf/Svcconf.dsp
deleted file mode 100644
index 15911671e1c..00000000000
--- a/ACEXML/examples/svcconf/Svcconf.dsp
+++ /dev/null
@@ -1,110 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Svcconf" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Svcconf - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "Svcconf.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "Svcconf.mak" CFG="Svcconf - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Svcconf - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "Svcconf - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Svcconf - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\\" /I "..\..\..\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib ACEXML.lib ACEXML_Parser.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\ace" /libpath:"..\..\Common" /libpath:"..\..\parser\parser"
-
-!ELSEIF "$(CFG)" == "Svcconf - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 1
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\\" /I "..\..\..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib ACEXMLd.lib ACEXML_Parserd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\ace" /libpath:"..\..\Common" /libpath:"..\..\parser\parser"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Svcconf - Win32 Release"
-# Name "Svcconf - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Svcconf_Handler.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# Begin Source File
-
-SOURCE=.\Svcconf_Handler.h
-# End Source File
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# End Group
-# End Target
-# End Project
diff --git a/ACEXML/examples/svcconf/Svcconf.dsw b/ACEXML/examples/svcconf/Svcconf.dsw
deleted file mode 100644
index f25a54a4e72..00000000000
--- a/ACEXML/examples/svcconf/Svcconf.dsw
+++ /dev/null
@@ -1,29 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "Svcconf"=.\Svcconf.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/ACEXML/examples/svcconf/Svcconf_Handler.cpp b/ACEXML/examples/svcconf/Svcconf_Handler.cpp
deleted file mode 100644
index f2bc70292cf..00000000000
--- a/ACEXML/examples/svcconf/Svcconf_Handler.cpp
+++ /dev/null
@@ -1,486 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "Svcconf_Handler.h"
-#include "ace/ACE.h"
-#include "ace/Log_Msg.h"
-
-#if !defined (__ACEXML_INLINE__)
-# include "Svcconf_Handler.i"
-#endif /* __ACEXML_INLINE__ */
-
-ACEXML_Svcconf_Handler::ACEXML_Svcconf_Handler (void)
- : in_stream_def_ (0),
- in_module_ (0)
-{
- // no-op
-}
-
-ACEXML_Svcconf_Handler::~ACEXML_Svcconf_Handler (void)
-{
- // no-op
-}
-
-void
-ACEXML_Svcconf_Handler::characters (const ACEXML_Char *,
- int,
- int ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // no-op
-}
-
-void
-ACEXML_Svcconf_Handler::endDocument (ACEXML_ENV_SINGLE_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // no-op
-}
-
-void
-ACEXML_Svcconf_Handler::endElement (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
-
-
- if (ACE_OS_String::strcmp (qName, ACE_TEXT ("dynamic")) == 0)
- {
- if (this->in_stream_def_)
- {
- ACE_DEBUG ((LM_INFO, ACE_TEXT ("Create dynamic %s for stream\n"),
- this->stream_info_.name ()));
- }
- else
- {
- if (this->in_module_)
- {
- ACE_DEBUG ((LM_INFO, ACE_TEXT ("Push dynamic %s into stream %s\n"),
- this->parsed_info_.name (),
- this->stream_info_.name ()));
- }
- else
- {
- ACE_DEBUG ((LM_INFO, ACE_TEXT ("Apply dynamic %s\n"),
- this->parsed_info_.name ()));
- }
- this->parsed_info_.reset ();
- }
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("static")) == 0)
- {
- if (this->in_stream_def_)
- {
- ACE_DEBUG ((LM_INFO, ACE_TEXT ("Create sttaic %s for stream\n"),
- this->stream_info_.name ()));
- }
- else
- {
- if (this->in_module_)
- {
- ACE_DEBUG ((LM_INFO, ACE_TEXT ("Push static %s into stream %s\n"),
- this->parsed_info_.name (),
- this->stream_info_.name ()));
- }
- else
- {
- ACE_DEBUG ((LM_INFO, ACE_TEXT ("Apply static %s\n"),
- this->parsed_info_.name ()));
- }
- this->parsed_info_.reset ();
- }
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("module")) == 0)
- {
- this->in_module_ = 0;
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("streamdef")) == 0 ||
- ACE_OS_String::strcmp (qName, ACE_TEXT ("stream")) == 0)
- {
- ACE_DEBUG ((LM_INFO, ACE_TEXT ("Apply stream %s of type %s\n"),
- this->stream_info_.name (),
- this->stream_info_.name ()));
- this->stream_info_.reset ();
- }
- else
- {
- }
-}
-
-void
-ACEXML_Svcconf_Handler::endPrefixMapping (const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // no-op
-}
-
-void
-ACEXML_Svcconf_Handler::ignorableWhitespace (const ACEXML_Char *,
- int,
- int ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // no-op
-}
-
-void
-ACEXML_Svcconf_Handler::processingInstruction (const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // no-op
-}
-
-void
-ACEXML_Svcconf_Handler::setDocumentLocator (ACEXML_Locator* )
-{
-}
-
-void
-ACEXML_Svcconf_Handler::skippedEntity (const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // no-op
-}
-
-void
-ACEXML_Svcconf_Handler::startDocument (ACEXML_ENV_SINGLE_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // no-op
-}
-
-void
-ACEXML_Svcconf_Handler::startElement (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char *qName,
- ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (ACE_OS_String::strcmp (qName, ACE_TEXT ("dynamic")) == 0)
- {
- this->get_dynamic_attrs (alist ACEXML_ENV_ARG_PARAMETER);
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("initializer")) == 0)
- {
- this->get_initializer_attrs (alist ACEXML_ENV_ARG_PARAMETER);
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("static")) == 0)
- {
- this->get_static_attrs (alist ACEXML_ENV_ARG_PARAMETER);
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("stream")) == 0)
- {
- this->get_stream_id (alist ACEXML_ENV_ARG_PARAMETER);
- ACE_DEBUG ((LM_INFO, ACE_TEXT ("Retrieve stream %s from repository\n"),
- this->stream_info_.name ()));
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("streamdef")) == 0)
- {
- this->in_stream_def_ = 1;
- // @@ Set up stream service object
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("module")) == 0)
- {
- this->in_stream_def_ = 0;
- this->in_module_ = 1;
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("resume")) == 0)
- {
- this->get_id (alist ACEXML_ENV_ARG_PARAMETER);
- if (this->in_module_)
- {
- ACE_DEBUG ((LM_INFO, ACE_TEXT ("Resume %s in stream %s\n"),
- this->parsed_info_.name (),
- this->stream_info_.name ()));
- }
- else
- {
- ACE_DEBUG ((LM_INFO, ACE_TEXT ("Resume %s\n"),
- this->parsed_info_.name ()));
- }
- this->parsed_info_.reset ();
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("suspend")) == 0)
- {
- this->get_id (alist ACEXML_ENV_ARG_PARAMETER);
- if (this->in_module_)
- {
- ACE_DEBUG ((LM_INFO, ACE_TEXT ("Suspend %s in stream %s\n"),
- this->parsed_info_.name (),
- this->stream_info_.name ()));
- }
- else
- {
- ACE_DEBUG ((LM_INFO, ACE_TEXT ("Suspend %s\n"),
- this->parsed_info_.name ()));
- }
- this->parsed_info_.reset ();
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("remove")) == 0)
- {
- this->get_id (alist ACEXML_ENV_ARG_PARAMETER);
- if (this->in_module_)
- {
- ACE_DEBUG ((LM_INFO, ACE_TEXT ("Remove %s in stream %s\n"),
- this->parsed_info_.name (),
- this->stream_info_.name ()));
- }
- else
- {
- ACE_DEBUG ((LM_INFO, ACE_TEXT ("Remove %s\n"),
- this->parsed_info_.name ()));
- }
- this->parsed_info_.reset ();
- }
- else if (ACE_OS_String::strcmp (qName, ACE_TEXT ("ACE_Svc_Conf")) == 0)
- {
- // Main document tag. no-op.
- ACE_DEBUG ((LM_INFO, ACE_TEXT ("ACE_Svc_Conf tag\n")));
- }
- else
- {
- // @@ Error. Perhaps we should relay to user event handler here, if available.
- }
-
- return;
-
- if (alist != 0)
- for (size_t i = 0; i < alist->getLength (); ++i)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT (" %s = \"%s\""),
- alist->getQName (i), alist->getValue (i)));
- }
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT (">")));
-}
-
-void
-ACEXML_Svcconf_Handler::startPrefixMapping (const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-// *** Methods inherit from ACEXML_DTDHandler.
-
-void
-ACEXML_Svcconf_Handler::notationDecl (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-void
-ACEXML_Svcconf_Handler::unparsedEntityDecl (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-// Methods inherit from ACEXML_EnitityResolver.
-
-ACEXML_InputSource *
-ACEXML_Svcconf_Handler::resolveEntity (const ACEXML_Char *,
- const ACEXML_Char * ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
- return 0;
-}
-
-// Methods inherit from ACEXML_ErrorHandler.
-
- /*
- * Receive notification of a recoverable error.
- */
-void
-ACEXML_Svcconf_Handler::error (ACEXML_SAXParseException & ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-void
-ACEXML_Svcconf_Handler::fatalError (ACEXML_SAXParseException & ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-void
-ACEXML_Svcconf_Handler::warning (ACEXML_SAXParseException & ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // No-op.
-}
-
-int
-ACEXML_Svcconf_Handler::get_stream_id (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL)
-{
-
-
- if (alist != 0)
- for (size_t i = 0; i < alist->getLength (); ++i)
- {
- if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("id")) == 0)
- {
- this->stream_info_.name (alist->getValue (i));
- }
- else
- {
- // @@ Exception...
- return -1;
- }
- }
- return 0;
-}
-
-int
-ACEXML_Svcconf_Handler::get_id (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL)
-{
-
-
- if (alist != 0)
- for (size_t i = 0; i < alist->getLength (); ++i)
- {
- if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("id")) == 0)
- {
- this->parsed_info_.name (alist->getValue (i));
- }
- else
- {
- // @@ Exception...
- return -1;
- }
- }
- return 0;
-}
-
-int
-ACEXML_Svcconf_Handler::get_dynamic_attrs (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL)
-{
-
-
- if (alist != 0)
- {
- ACE_Parsed_Info *info = (this->in_stream_def_ == 0 ?
- &this->parsed_info_ :
- &this->stream_info_);
- for (size_t i = 0; i < alist->getLength (); ++i)
- {
- if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("id")) == 0)
- {
- info->name (alist->getValue (i));
- }
- else if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("status")) == 0)
- {
- if (ACE_OS_String::strcmp (alist->getValue (i), ACE_TEXT ("inactive")) == 0)
- {
- }
- else if (ACE_OS_String::strcmp (alist->getValue (i), ACE_TEXT ("active")) == 0)
- {
- }
- else
- {
- // @@ error, invalid 'status' value.
- }
- }
- else if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("type")) == 0)
- {
- if (ACE_OS_String::strcmp (alist->getValue (i), ACE_TEXT ("service_object")) == 0)
- {
- info->service_type (ACE_Parsed_Info::SERVICE_OBJECT_TYPE);
- }
- else if (ACE_OS_String::strcmp (alist->getValue (i), ACE_TEXT ("stream")) == 0)
- {
- info->service_type (ACE_Parsed_Info::STREAM_TYPE);
- }
- else if (ACE_OS_String::strcmp (alist->getValue (i), ACE_TEXT ("module")) == 0)
- {
- info->service_type (ACE_Parsed_Info::MODULE_TYPE);
- }
- else
- {
- // @@ error, invalid 'type' value.
- }
- }
- else
- {
- // @@ Exception...
- return -1;
- }
- }
- }
- return 0;
-}
-
-int
-ACEXML_Svcconf_Handler::get_initializer_attrs (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL)
-{
-
-
- if (alist != 0)
- {
- ACE_Parsed_Info *info = (this->in_stream_def_ == 0 ?
- &this->parsed_info_ :
- &this->stream_info_);
- for (size_t i = 0; i < alist->getLength (); ++i)
- {
- if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("init")) == 0)
- {
- info->init_func (alist->getValue (i));
- }
- else if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("path")) == 0)
- {
- info->path (alist->getValue (i));
- }
- else if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("params")) == 0)
- {
- info->init_params (alist->getValue (i));
- }
- else
- {
- // @@ Exception...
- return -1;
- }
- }
- }
- return 0;
-}
-
-int
-ACEXML_Svcconf_Handler::get_static_attrs (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL)
-{
-
-
- if (alist != 0)
- {
- ACE_Parsed_Info *info = (this->in_stream_def_ == 0 ?
- &this->parsed_info_ :
- &this->stream_info_);
- for (size_t i = 0; i < alist->getLength (); ++i)
- {
- if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("id")) == 0)
- {
- info->name (alist->getValue (i));
- }
- else if (ACE_OS_String::strcmp (alist->getQName (i), ACE_TEXT ("params")) == 0)
- {
- info->init_params (alist->getValue (i));
- }
- else
- {
- // @@ Exception...
- return -1;
- }
- }
- }
- return 0;
-}
diff --git a/ACEXML/examples/svcconf/Svcconf_Handler.h b/ACEXML/examples/svcconf/Svcconf_Handler.h
deleted file mode 100644
index 3c02f9e9d4a..00000000000
--- a/ACEXML/examples/svcconf/Svcconf_Handler.h
+++ /dev/null
@@ -1,285 +0,0 @@
-// $Id$
-
-//=============================================================================
-/**
- * @file Svcconf_Handler.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef ACEXML_SVCCONF_HANDLER_H
-#define ACEXML_SVCCONF_HANDLER_H
-
-#include "ACEXML/common/DefaultHandler.h"
-
-class ACE_Parsed_Info
-{
-public:
- typedef enum {
- MODULE_TYPE,
- SERVICE_OBJECT_TYPE,
- STREAM_TYPE,
- INVALID_TYPE
- } Service_Type;
-
- ACE_Parsed_Info ();
- ~ACE_Parsed_Info ();
-
- /**
- * Set/get name of a parsed entity.
- */
- int name (const ACEXML_Char *n);
- const ACEXML_Char *name (void);
-
- /**
- * Set/get type of a dynamic node.
- */
- int service_type (Service_Type type);
- Service_Type service_type (void);
-
- /**
- * Set/Get active status.
- */
- int active (int a);
- int active (void);
-
- /**
- * Set/get initializer path.
- */
- int path (const ACEXML_Char *n);
- const ACEXML_Char *path (void);
-
- /**
- * Set/get initializer init function.
- */
- int init_func (const ACEXML_Char *n);
- const ACEXML_Char *init_func (void);
-
- /**
- * Set/get initializer init parameter.
- */
- int init_params (const ACEXML_Char *n);
- const ACEXML_Char *init_params (void);
-
- /**
- * Reset Parsed_Info.
- */
- void reset (void);
-
-protected:
- ACEXML_Char *name_;
- Service_Type service_type_;
- int active_;
- ACEXML_Char *path_;
- ACEXML_Char *init_func_;
- ACEXML_Char *init_params_;
-};
-
-/**
- * @class ACEXML_Svcconf_Handler
- *
- * @brief ACEXML_Svcconf_Handler is an example SAX event handler.
- *
- * This SAX event handler try to regenerate the XML document it
- * reads with correct indentation.
- */
-class ACEXML_Svcconf_Handler : public ACEXML_DefaultHandler
-{
-public:
- /*
- * Default constructor.
- */
- ACEXML_Svcconf_Handler (void);
-
- /*
- * Default destructor.
- */
- virtual ~ACEXML_Svcconf_Handler (void);
-
- // Methods inherit from ACEXML_ContentHandler.
-
- /*
- * Receive notification of character data.
- */
- virtual void characters (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of the end of a document.
- */
- virtual void endDocument (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of the end of an element.
- */
- virtual void endElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * End the scope of a prefix-URI mapping.
- */
- virtual void endPrefixMapping (const ACEXML_Char *prefix ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of ignorable whitespace in element content.
- */
- virtual void ignorableWhitespace (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of a processing instruction.
- */
- virtual void processingInstruction (const ACEXML_Char *target,
- const ACEXML_Char *data ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive an object for locating the origin of SAX document events.
- */
- virtual void setDocumentLocator (ACEXML_Locator *) ;
-
- /*
- * Receive notification of a skipped entity.
- */
- virtual void skippedEntity (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of the beginning of a document.
- */
- virtual void startDocument (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of the beginning of an element.
- */
- virtual void startElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName,
- ACEXML_Attributes *atts ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Begin the scope of a prefix-URI Namespace mapping.
- */
- virtual void startPrefixMapping (const ACEXML_Char *prefix,
- const ACEXML_Char *uri ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- // *** Methods inherit from ACEXML_DTDHandler.
-
- /*
- * Receive notification of a notation declaration event.
- */
- virtual void notationDecl (const ACEXML_Char *name,
- const ACEXML_Char *publicId,
- const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of an unparsed entity declaration event.
- */
- virtual void unparsedEntityDecl (const ACEXML_Char *name,
- const ACEXML_Char *publicId,
- const ACEXML_Char *systemId,
- const ACEXML_Char *notationName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- // Methods inherit from ACEXML_EnitityResolver.
-
- /*
- * Allow the application to resolve external entities.
- */
- virtual ACEXML_InputSource *resolveEntity (const ACEXML_Char *publicId,
- const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- // Methods inherit from ACEXML_ErrorHandler.
-
- /*
- * Receive notification of a recoverable error.
- */
- virtual void error (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of a non-recoverable error.
- */
- virtual void fatalError (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Receive notification of a warning.
- */
- virtual void warning (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
-protected:
- /**
- * Get the only attribute in <stream> or <streamdef>.
- */
- int get_stream_id (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL);
-
- /**
- * Get the only attribute in <resume>, <suspend>, <remove>
- */
- int get_id (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL);
-
- /**
- * Get the dynamic tag attributes.
- */
- int get_dynamic_attrs (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL);
-
- /**
- * Get the initializer tag attributes.
- */
- int get_initializer_attrs (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL);
-
- /**
- * Get the static tag attributes.
- */
- int get_static_attrs (ACEXML_Attributes *alist ACEXML_ENV_ARG_DECL);
-
-private:
- /// We are parsing a stream definition
- int in_stream_def_;
-
- /// We are defining a steam module
- int in_module_;
-
- ACE_Parsed_Info parsed_info_;
-
- ACE_Parsed_Info stream_info_;
-};
-
-#if defined (__ACEXML_INLINE__)
-# include "Svcconf_Handler.i"
-#endif /* __ACEXML_INLINE__ */
-#endif /* ACEXML_SVCCONF_HANDLER_H */
diff --git a/ACEXML/examples/svcconf/Svcconf_Handler.i b/ACEXML/examples/svcconf/Svcconf_Handler.i
deleted file mode 100644
index fb6ea3db2ce..00000000000
--- a/ACEXML/examples/svcconf/Svcconf_Handler.i
+++ /dev/null
@@ -1,133 +0,0 @@
-// -*- C++ -*- $Id$
-
-ACE_INLINE
-ACE_Parsed_Info::ACE_Parsed_Info ()
- : name_ (0),
- service_type_ (INVALID_TYPE),
- active_ (1),
- path_ (0),
- init_func_ (0),
- init_params_ (0)
-{
-}
-
-ACE_INLINE
-ACE_Parsed_Info::~ACE_Parsed_Info ()
-{
- delete this->name_;
- delete this->path_;
- delete this->init_func_;
- delete this->init_params_;
-}
-
-ACE_INLINE int
-ACE_Parsed_Info::name (const ACEXML_Char *n)
-{
- if (this->name_ == 0)
- {
- this->name_ = ACE::strnew (n);
- return 0;
- }
- return -1;
-}
-
-ACE_INLINE const ACEXML_Char *
-ACE_Parsed_Info::name (void)
-{
- return this->name_;
-}
-
-ACE_INLINE int
-ACE_Parsed_Info::service_type (Service_Type type)
-{
- if (this->service_type_ == INVALID_TYPE)
- {
- this->service_type_ = type;
- return 0;
- }
- return -1;
-}
-
-ACE_INLINE ACE_Parsed_Info::Service_Type
-ACE_Parsed_Info::service_type (void)
-{
- return this->service_type_;
-}
-
-ACE_INLINE int
-ACE_Parsed_Info::active (int a)
-{
- this->active_ = a;
- return 0;
-}
-
-ACE_INLINE int
-ACE_Parsed_Info::active (void)
-{
- return this->active_;
-}
-
-ACE_INLINE int
-ACE_Parsed_Info::path (const ACEXML_Char *p)
-{
- if (this->path_ == 0)
- {
- this->path_ = ACE::strnew (p);
- return 0;
- }
- return -1;
-}
-
-ACE_INLINE const ACEXML_Char *
-ACE_Parsed_Info::path (void)
-{
- return this->path_;
-}
-
-ACE_INLINE int
-ACE_Parsed_Info::init_func (const ACEXML_Char *n)
-{
- if (this->init_func_ == 0)
- {
- this->init_func_ = ACE::strnew (n);
- return 0;
- }
- return -1;
-}
-
-ACE_INLINE const ACEXML_Char *
-ACE_Parsed_Info::init_func (void)
-{
- return this->init_func_;
-}
-
-ACE_INLINE int
-ACE_Parsed_Info::init_params (const ACEXML_Char *n)
-{
- if (this->init_params_ == 0)
- {
- this->init_params_ = ACE::strnew (n);
- return 0;
- }
- return -1;
-}
-
-ACE_INLINE const ACEXML_Char *
-ACE_Parsed_Info::init_params (void)
-{
- return this->init_params_;
-}
-
-ACE_INLINE void
-ACE_Parsed_Info::reset (void)
-{
- delete this->name_;
- this->name_ = 0;
- this->service_type_ = INVALID_TYPE;
- delete this->path_;
- this->path_ = 0;
- delete this->init_func_;
- this->init_func_ = 0;
- delete this->init_params_;
- this->init_params_ = 0;
-}
diff --git a/ACEXML/examples/svcconf/main.cpp b/ACEXML/examples/svcconf/main.cpp
deleted file mode 100644
index d23ffcbe91a..00000000000
--- a/ACEXML/examples/svcconf/main.cpp
+++ /dev/null
@@ -1,76 +0,0 @@
-// $Id$
-
-#include "ACEXML/common/FileCharStream.h"
-#include "ACEXML/common/StrCharStream.h"
-#include "ACEXML/parser/parser/Parser.h"
-#include "Svcconf_Handler.h"
-#include "ace/Get_Opt.h"
-#include "ace/Auto_Ptr.h"
-
-int
-ACE_TMAIN (int argc, ACE_TCHAR *argv[])
-{
- ACE_TCHAR *filename = 0;
-
- ACE_Get_Opt get_opt (argc, argv, ACE_TEXT ("f:"));
- ACE_TCHAR c;
-
- while ((c = get_opt ()) != -1)
- {
- switch (c)
- {
- case 'f':
- filename = get_opt.opt_arg ();
- break;
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- ACE_TEXT ("Usage: %s [-f <filename>]\n")
- ACE_TEXT (" -f: Specify the svcconf filename\n"),
- argv[0]),
- -1);
- }
- };
-
- if (filename == 0)
- ACE_ERROR_RETURN ((LM_ERROR, "No filename specified\n"), -1);
-
- ACEXML_DefaultHandler *handler = 0;
- auto_ptr<ACEXML_DefaultHandler> cleanup_handler (handler);
- ACEXML_CharStream *stm = 0;
- ACEXML_FileCharStream *fstm = 0;
- ACE_NEW_RETURN (fstm,
- ACEXML_FileCharStream (),
- 1);
-
- if (fstm->open (filename) != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- ACE_TEXT ("Fail to open XML file: %s\n"),
- filename),
- -1);
- stm = fstm;
-
- ACE_NEW_RETURN (handler,
- ACEXML_Svcconf_Handler (),
- -1);
-
- ACEXML_Parser parser;
- ACEXML_InputSource input(stm);
-
- parser.setContentHandler (handler);
- parser.setDTDHandler (handler);
- parser.setErrorHandler (handler);
- parser.setEntityResolver (handler);
-
- ACEXML_TRY_NEW_ENV
- {
- parser.parse (&input ACEXML_ENV_ARG_PARAMETER);
- ACEXML_TRY_CHECK;
- }
- ACEXML_CATCH (ACEXML_SAXException, ex)
- {
- ex.print ();
- return -1;
- }
- ACEXML_ENDTRY;
- return 0;
-}
diff --git a/ACEXML/examples/test_docs/svcconf.dtd b/ACEXML/examples/test_docs/svcconf.dtd
deleted file mode 100644
index b9e6cc41c8e..00000000000
--- a/ACEXML/examples/test_docs/svcconf.dtd
+++ /dev/null
@@ -1,60 +0,0 @@
-<!-- $Id$ -->
-<!-- Document Type Definition for XML ACE Service Config files -->
-
-<!-- An ACE_Svc_Conf document contains zero or more entries -->
-<!-- The entries are processed in the order they appear -->
-<!-- in the ACE_Svc_Conf file. -->
-<!ELEMENT ACE_Svc_Conf (dynamic|static|suspend|resume|remove|stream|streamdef)*>
-
-<!-- Streams are separate into two elements. One defines how -->
-<!-- the stream should be constructed and the other defines -->
-<!-- what to do with it. The identity of a stream is defined -->
-<!-- in the first dynamic/static element. -->
-<!ELEMENT streamdef ((dynamic|static),module)>
-<!-- @@ Do we ever need to suspend/resume/remove modules when -->
-<!-- constructing a stream? Should we leave only dynamic -->
-<!-- and static here? -->
-<!ELEMENT module (dynamic|static|suspend|resume|remove)+>
-
-<!-- A 'stream' element controls the stream object -->
-<!-- @@ Likewise, we are reusing the 'module' element here. -->
-<!-- Do we ever need to insert new modules into a stream? -->
-<!-- Nanbor: I guess we can do that. -->
-<!ELEMENT stream (module)>
-<!ATTLIST stream id IDREF #REQUIRED>
-
-<!-- A 'dynamic' entry. -->
-<!-- @@ The kind of attributes the corresponding initializer -->
-<!-- should take seems to be determined by the 'type' -->
-<!-- attribute. Should we further partition the dynamic -->
-<!-- element definition into several elements? E.g. into -->
-<!-- dyn_service_object/dyn_module/dyn_stream? -->
-<!-- Nanbor: Will that be too confusing? -->
-<!ELEMENT dynamic (initializer)>
-<!ATTLIST dynamic id ID #REQUIRED
- status (active|inactive) "active"
- type (module|service_object|stream) #REQUIRED>
-
-<!-- Initializing function for dynamic entry. -->
-<!ELEMENT initializer EMPTY>
-<!ATTLIST initializer init CDATA #REQUIRED
- path CDATA #IMPLIED
- params CDATA #IMPLIED>
-
-<!-- A 'static' entry takes an ID attribute and an optional -->
-<!-- parameter lists. -->
-<!ELEMENT static EMPTY>
-<!ATTLIST static id ID #REQUIRED
- params CDATA #IMPLIED>
-
-<!-- A 'suspend' entry takes an ID attribute. -->
-<!ELEMENT suspend EMPTY>
-<!ATTLIST suspend id IDREF #REQUIRED>
-
-<!-- A 'resume' entry takes an ID attribute. -->
-<!ELEMENT resume EMPTY>
-<!ATTLIST resume id IDREF #REQUIRED>
-
-<!-- A 'remove' entry takes an ID attribute. -->
-<!ELEMENT remove EMPTY>
-<!ATTLIST remove id IDREF #REQUIRED>
diff --git a/ACEXML/parser/Makefile b/ACEXML/parser/Makefile
deleted file mode 100644
index 9a519bc492b..00000000000
--- a/ACEXML/parser/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-#----------------------------------------------------------------------------
-# $Id$
-#
-# Makefile for the client programs that test the ACE network services
-#----------------------------------------------------------------------------
-
-DIRS = parser
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU
diff --git a/ACEXML/parser/Makefile.bor b/ACEXML/parser/Makefile.bor
deleted file mode 100644
index cb61c1c99dd..00000000000
--- a/ACEXML/parser/Makefile.bor
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# Makefile for building the ACE XML parser Library
-#
-
-DIRS = \
- debug_validator \
- parser
-
-!include <$(ACE_ROOT)\include\makeinclude\recurse.bor>
diff --git a/ACEXML/parser/debug_validator/Debug_Attributes_Builder.cpp b/ACEXML/parser/debug_validator/Debug_Attributes_Builder.cpp
deleted file mode 100644
index 2ad9e7183bf..00000000000
--- a/ACEXML/parser/debug_validator/Debug_Attributes_Builder.cpp
+++ /dev/null
@@ -1,215 +0,0 @@
-// $Id$
-
-#include "ACEXML/common/SAXExceptions.h"
-#include "ACEXML/parser/debug_validator/Debug_Attributes_Builder.h"
-
-ACEXML_Debug_Attribute_Builder::ACEXML_Debug_Attribute_Builder ()
- : type_ (ERROR_TYPE),
- default_decl_ (INVALID)
-{
-}
-
-ACEXML_Debug_Attribute_Builder::ACEXML_Debug_Attribute_Builder (const ACEXML_Debug_Attribute_Builder &rhs)
- : name_ (rhs.name_),
- type_ (rhs.type_),
- default_decl_ (rhs.default_decl_),
- default_value_ (rhs.default_value_),
- att_value_queue_ (rhs.att_value_queue_)
-{
-}
-
-ACEXML_Debug_Attribute_Builder::~ACEXML_Debug_Attribute_Builder ()
-{
-}
-
-int
-ACEXML_Debug_Attribute_Builder::setName (const ACEXML_Char *n)
-{
- this->name_.set (n, 0);
- return 0;
-}
-
-const ACEXML_Char *
-ACEXML_Debug_Attribute_Builder::getName (void)
-{
- return this->name_.fast_rep ();
-}
-
-int
-ACEXML_Debug_Attribute_Builder::setAttType (const ATT_TYPE type
- ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->type_ == ERROR_TYPE)
- {
- this->type_ = type;
- return 0;
- }
- ACEXML_THROW_RETURN (ACEXML_SAXParseException (ACE_TEXT("Attribute type redefinition in Debug Validator")), -1);
-
-}
-
-int
-ACEXML_Debug_Attribute_Builder::insertList (const ACEXML_Char *n
- ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- ACEXML_String str (n, 0, 0);
-
- this->att_value_queue_.enqueue_tail (str);
- return 0;
-}
-
-int
-ACEXML_Debug_Attribute_Builder::setDefault (const DEFAULT_DECL def,
- const ACEXML_Char *value
- ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- this->default_decl_ = def;
- this->default_value_.set (value, 0);
- return 0;
-}
-
-int
-ACEXML_Debug_Attribute_Builder::validAttr (void)
-{
- // @@ Not implemented. Always return 1 (true) for now.
- return 1;
-}
-
-void
-ACEXML_Debug_Attribute_Builder::dump (void)
-{
- cout << this->name_ << " ";
-
- switch (this->type_)
- {
- case CDATA:
- cout << "CDATA ";
- break;
- case ID:
- cout << "ID ";
- break;
- case IDREF:
- cout << "IDREF ";
- break;
- case IDREFS:
- cout << "IDREFS ";
- break;
- case ENTITY:
- cout << "ENTITY ";
- break;
- case ENTITIES:
- cout << "ENTITIES ";
- break;
- case NMTOKEN:
- cout << "NMTOKEN ";
- break;
- case NMTOKENS:
- cout << "NMTOKENS ";
- break;
- case NOTATION:
- cout << "NOTATION ";
- // Fall thru
- case ENUMERATION:
- {
- cout << "(";
- ACEXML_STRING_QUEUE_ITERATOR iter (this->att_value_queue_);
- ACEXML_String *n = 0;
-
- while (iter.advance () != 0)
- {
- if (n == 0)
- cout << " | ";
- iter.next (n);
- cout << *n;
- }
- cout << ") ";
- }
- break;
- default:
- cout << "*** UNKNOWN TYPE ***";
- break;
- }
-
- switch (this->default_decl_)
- {
- case REQUIRED:
- cout << "#REQUIRED";
- break;
- case IMPLIED:
- cout << "#IMPLIED";
- break;
- case FIXED:
- cout << "#FIXED " << this->default_value_;
- break;
- default:
- cout << "**** UNDEFINED DEFAULT DECL ****";
- break;
- }
-}
-// ========================================
-
-ACEXML_Debug_Attributes_Builder::ACEXML_Debug_Attributes_Builder ()
-{
-}
-
-ACEXML_Debug_Attributes_Builder::~ACEXML_Debug_Attributes_Builder ()
-{
-}
-
-int
-ACEXML_Debug_Attributes_Builder::setElement (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- this->element_name_.set (qName, 0);
- return 0;
-}
-
-ACEXML_Attribute_Def_Builder *
-ACEXML_Debug_Attributes_Builder::getAttribute_Def_Builder ()
-{
- ACEXML_Attribute_Def_Builder *tmp;
-
- ACE_NEW_RETURN (tmp,
- ACEXML_Debug_Attribute_Builder (),
- 0);
- return tmp;
-}
-
-int
-ACEXML_Debug_Attributes_Builder::insertAttribute (ACEXML_Attribute_Def_Builder *def ACEXML_ENV_ARG_DECL)
-{
- ACEXML_Attribute_Def_Builder::VAR ptr (def);
-
- if (def != 0)
- {
- ACEXML_String attname (def->getName (), 0, 0);
- ACEXML_Debug_Attribute_Builder *ptr =
- ACE_dynamic_cast (ACEXML_Debug_Attribute_Builder *, def);
- this->attributes_.bind (attname, *ptr);
- return 0;
- }
- ACEXML_THROW_RETURN (ACEXML_SAXParseException (ACE_TEXT("ACEXML_Debug_Attributes_Builder internal error")), -1);
-}
-
-void
-ACEXML_Debug_Attributes_Builder::dump (void)
-{
- // @@ Print print.
- cout << "<!ATTLIST " << this->element_name_ << endl;
-
- ACEXML_ATT_MAP_ITER iter (this->attributes_);
- ACEXML_ATT_MAP_ENTRY *item;
-
- while (iter.advance () != 0)
- {
- iter.next (item);
- cout << "\n\t";
- item->int_id_.dump ();
- }
- cout << ">" << endl;
-}
diff --git a/ACEXML/parser/debug_validator/Debug_Attributes_Builder.h b/ACEXML/parser/debug_validator/Debug_Attributes_Builder.h
deleted file mode 100644
index 82f7b1b4f65..00000000000
--- a/ACEXML/parser/debug_validator/Debug_Attributes_Builder.h
+++ /dev/null
@@ -1,170 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Debug_Attributes_Builder.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-#ifndef _ACEXML_DEBUG_ATTRIBUTES_BUILDER_H_
-#define _ACEXML_DEBUG_ATTRIBUTES_BUILDER_H_
-
-#include "ace/pre.h"
-#include "ACEXML/parser/debug_validator/Debug_DTD_Manager_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/Attributes_Def_Builder.h"
-#include "ace/Hash_Map_Manager.h"
-#include "ace/Unbounded_Queue.h"
-
-typedef ACE_Unbounded_Queue<ACEXML_String> ACEXML_STRING_QUEUE;
-typedef ACE_Unbounded_Queue_Iterator<ACEXML_String> ACEXML_STRING_QUEUE_ITERATOR;
-
-/**
- * @class ACEXML_Debug_Attribute_Builder Debug_Attributes_Builder.h "parser/debug_validator/Debug_Attributes_Builder.h"
- *
- * This class prints out the Attribute definition for debugging purpose.
- */
-class ACEXML_DEBUG_DTD_MANAGER_Export ACEXML_Debug_Attribute_Builder
- : public ACEXML_Attribute_Def_Builder
-{
-public:
- ACEXML_Debug_Attribute_Builder ();
-
- ACEXML_Debug_Attribute_Builder (const ACEXML_Debug_Attribute_Builder &rhs);
-
- virtual ~ACEXML_Debug_Attribute_Builder ();
-
- /**
- * Specify the name of the attribute.
- */
- virtual int setName (const ACEXML_Char *n);
- virtual const ACEXML_Char *getName (void);
-
- /**
- * Set the attribute type.
- */
- virtual int setAttType (const ATT_TYPE type ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /**
- * Insert an element for NOTATION or ENUMERATION type attribute.
- */
- virtual int insertList (const ACEXML_Char *Name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /**
- * Set default attribute declaration.
- */
- virtual int setDefault (const DEFAULT_DECL def,
- const ACEXML_Char *value ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /**
- * Check validity of the current attribute definition being built.
- *
- * @retval 0 if the attribute is not a valid combo.
- */
- virtual int validAttr (void);
-
-
- /**
- * Dump the content of the attribute definition.
- */
- virtual void dump (void);
-private:
- /// Attribute name.
- ACEXML_String name_;
-
- /// Type of attribute.
- ATT_TYPE type_;
-
- /// Default value type.
- DEFAULT_DECL default_decl_;
-
- /// Default attribute value.
- ACEXML_String default_value_;
-
- /// Holds a queue of enumerated attribute values.
- ACEXML_STRING_QUEUE att_value_queue_;
-};
-
-typedef ACE_Hash_Map_Entry<ACEXML_String,
- ACEXML_Debug_Attribute_Builder> ACEXML_ATT_MAP_ENTRY;
-
-typedef ACE_Hash_Map_Manager_Ex <ACEXML_String,
- ACEXML_Debug_Attribute_Builder,
- ACE_Hash<ACEXML_String>,
- ACE_Equal_To<ACEXML_String>,
- ACE_Null_Mutex> ACEXML_ATT_MAP;
-
-typedef ACE_Hash_Map_Iterator_Ex<ACEXML_String,
- ACEXML_Debug_Attribute_Builder,
- ACE_Hash<ACEXML_String>,
- ACE_Equal_To<ACEXML_String>,
- ACE_Null_Mutex> ACEXML_ATT_MAP_ITER;
-
-typedef ACE_Hash_Map_Reverse_Iterator_Ex<ACEXML_String,
- ACEXML_Debug_Attribute_Builder,
- ACE_Hash<ACEXML_String>,
- ACE_Equal_To<ACEXML_String>,
- ACE_Null_Mutex> ACEXML_ATT_MAP_REVERSE_ITER;
-
-/**
- * @class ACEXML_Debug_Attributes_Builder Debug_Attributes_Builder.h "parser/debug_validator/Debug_Attributes_Builder.h"
- *
- * This class prints out Attribute definitions for debugging purpose.
- */
-class ACEXML_DEBUG_DTD_MANAGER_Export ACEXML_Debug_Attributes_Builder
- : public ACEXML_Attributes_Def_Builder
-{
-public:
- ACEXML_Debug_Attributes_Builder ();
-
- virtual ~ACEXML_Debug_Attributes_Builder ();
-
- /**
- * Set the element name that the attribute builder applies.
- *
- * @retval 0 if valid, -1 otherwise.
- */
- virtual int setElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /**
- * Acquire an Attribute_Builder.
- */
- virtual ACEXML_Attribute_Def_Builder *getAttribute_Def_Builder ();
-
- /**
- * Add a definition for one attribute.
- */
- virtual int insertAttribute (ACEXML_Attribute_Def_Builder *def ACEXML_ENV_ARG_DECL);
-
-
- /**
- * Dump the content of the attribute definition.
- */
- virtual void dump (void);
-protected:
- /// The name of the element type these attributes applied.
- ACEXML_String element_name_;
-
- /// Collection of attributes.
- ACEXML_ATT_MAP attributes_;
-};
-
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_DEBUG_ATTRIBUTES_BUILDER_H_ */
diff --git a/ACEXML/parser/debug_validator/Debug_DTD_Manager.cpp b/ACEXML/parser/debug_validator/Debug_DTD_Manager.cpp
deleted file mode 100644
index d0745d13bfc..00000000000
--- a/ACEXML/parser/debug_validator/Debug_DTD_Manager.cpp
+++ /dev/null
@@ -1,71 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ACEXML/common/SAXExceptions.h"
-#include "ACEXML/parser/debug_validator/Debug_DTD_Manager.h"
-#include "ACEXML/parser/debug_validator/Debug_Element_Builder.h"
-#include "ACEXML/parser/debug_validator/Debug_Attributes_Builder.h"
-
-ACEXML_Debug_DTD_Manager::ACEXML_Debug_DTD_Manager ()
-{
-
-}
-
-ACEXML_Debug_DTD_Manager::~ACEXML_Debug_DTD_Manager ()
-{
-
-}
-
-ACEXML_Element_Def_Builder *
-ACEXML_Debug_DTD_Manager::getElement_Def_Builder ()
-{
- return new ACEXML_Debug_Element_Builder ();
-}
-
-int
-ACEXML_Debug_DTD_Manager::insertElement_Definition (ACEXML_Element_Def_Builder *def ACEXML_ENV_ARG_DECL)
-{
- ACEXML_Element_Def_Builder::VAR ptr (def);
-
- if (def != 0)
- {
- ptr->dump ();
- return 0;
- }
-
- ACEXML_THROW_RETURN (ACEXML_SAXParseException (ACE_TEXT("ACEXML_Debug_Attributes_Builder internal error")), -1);
-}
-
-ACEXML_Attributes_Def_Builder *
-ACEXML_Debug_DTD_Manager::getAttribute_Def_Builder ()
-{
- ACEXML_Attributes_Def_Builder *tmp;
- ACE_NEW_RETURN (tmp,
- ACEXML_Debug_Attributes_Builder (),
- 0);
- return tmp;
-}
-
-int
-ACEXML_Debug_DTD_Manager::insertAttributes_Definition (ACEXML_Attributes_Def_Builder *def ACEXML_ENV_ARG_DECL)
-{
- ACEXML_Attributes_Def_Builder::VAR ptr (def);
- if (def != 0)
- {
- ptr->dump ();
- return 0;
- }
-
- ACEXML_THROW_RETURN (ACEXML_SAXParseException (ACE_TEXT("ACEXML_Debug_Attributes_Builder internal error")), -1);
-}
-
-ACEXML_Validator *
-ACEXML_Debug_DTD_Manager::getValidator (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
-{
- ACE_UNUSED_ARG (namespaceURI);
- ACE_UNUSED_ARG (localName);
- ACE_UNUSED_ARG (qName);
-
- ACEXML_THROW_RETURN (ACEXML_SAXNotSupportedException (ACE_TEXT ("getValidator()")), 0);
-}
diff --git a/ACEXML/parser/debug_validator/Debug_DTD_Manager.h b/ACEXML/parser/debug_validator/Debug_DTD_Manager.h
deleted file mode 100644
index e493477d0d9..00000000000
--- a/ACEXML/parser/debug_validator/Debug_DTD_Manager.h
+++ /dev/null
@@ -1,76 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Debug_DTD_Manager.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-#ifndef _ACEXML_DEBUG_DTD_Manager_H_
-#define _ACEXML_DEBUG_DTD_Manager_H_
-
-#include "ace/pre.h"
-#include "ACEXML/parser/debug_validator/Debug_DTD_Manager_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/DTD_Manager.h"
-
-class ACEXML_DEBUG_DTD_MANAGER_Export ACEXML_Debug_DTD_Manager : public ACEXML_DTD_Manager
-{
-public:
- ACEXML_Debug_DTD_Manager ();
-
- virtual ~ACEXML_Debug_DTD_Manager ();
-
- /**
- * Acquire a pointer to an element definition builder. The XML parser use
- * this interface to acquire the definition builder and use the builder
- * to create the DTD element definition. The resulting builder is then
- * registered with the DTD Manager or destroyed if error occured when the
- * builder encountered errors.
- *
- * @retval 0 if error occurs creating the builder.
- */
- virtual ACEXML_Element_Def_Builder *getElement_Def_Builder ();
-
- /**
- * Insert a new element definition into the DTD Manager.
- *
- * @retval 0 if success, -1 if error.
- */
- virtual int insertElement_Definition (ACEXML_Element_Def_Builder *def ACEXML_ENV_ARG_DECL);
-
- /**
- * Acquire a pointer to an attributes definition builder.
- *
- */
- virtual ACEXML_Attributes_Def_Builder *getAttribute_Def_Builder ();
-
- /**
- * Insert a new attributes definition into the DTD Manager.
- *
- * @retval 0 if success, -1 otherwise.
- */
- virtual int insertAttributes_Definition (ACEXML_Attributes_Def_Builder *def ACEXML_ENV_ARG_DECL);
-
- /**
- * Acquire an element validator to validate an XML element.
- *
- * @todo I haven't figured out what memory management scheme
- * we should use for the acquired validator.
- */
- virtual ACEXML_Validator *getValidator (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL);
-};
-
-#include "ace/post.h"
-
-
-#endif /* _ACEXML_DTD_Manager_H_ */
diff --git a/ACEXML/parser/debug_validator/Debug_DTD_Manager_Export.h b/ACEXML/parser/debug_validator/Debug_DTD_Manager_Export.h
deleted file mode 100644
index b4cf1c8a536..00000000000
--- a/ACEXML/parser/debug_validator/Debug_DTD_Manager_Export.h
+++ /dev/null
@@ -1,38 +0,0 @@
-
-// -*- C++ -*-
-// $Id$
-// Definition for Win32 Export directives.
-// This file is generated automatically by generate_export_file.pl -s ACEXML_DEBUG_DTD_MANAGER
-// ------------------------------
-#ifndef ACEXML_DEBUG_DTD_MANAGER_EXPORT_H
-#define ACEXML_DEBUG_DTD_MANAGER_EXPORT_H
-
-#include "ace/config-all.h"
-
-#if defined (ACE_AS_STATIC_LIBS) && !defined (ACEXML_DEBUG_DTD_MANAGER_HAS_DLL)
-# define ACEXML_DEBUG_DTD_MANAGER_HAS_DLL 0
-#endif /* ACE_AS_STATIC_LIBS && ACEXML_DEBUG_DTD_MANAGER_HAS_DLL */
-
-#if !defined (ACEXML_DEBUG_DTD_MANAGER_HAS_DLL)
-# define ACEXML_DEBUG_DTD_MANAGER_HAS_DLL 1
-#endif /* ! ACEXML_DEBUG_DTD_MANAGER_HAS_DLL */
-
-#if defined (ACEXML_DEBUG_DTD_MANAGER_HAS_DLL) && (ACEXML_DEBUG_DTD_MANAGER_HAS_DLL == 1)
-# if defined (ACEXML_DEBUG_DTD_MANAGER_BUILD_DLL)
-# define ACEXML_DEBUG_DTD_MANAGER_Export ACE_Proper_Export_Flag
-# define ACEXML_DEBUG_DTD_MANAGER_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
-# define ACEXML_DEBUG_DTD_MANAGER_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
-# else /* ACEXML_DEBUG_DTD_MANAGER_BUILD_DLL */
-# define ACEXML_DEBUG_DTD_MANAGER_Export ACE_Proper_Import_Flag
-# define ACEXML_DEBUG_DTD_MANAGER_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
-# define ACEXML_DEBUG_DTD_MANAGER_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
-# endif /* ACEXML_DEBUG_DTD_MANAGER_BUILD_DLL */
-#else /* ACEXML_DEBUG_DTD_MANAGER_HAS_DLL == 1 */
-# define ACEXML_DEBUG_DTD_MANAGER_Export
-# define ACEXML_DEBUG_DTD_MANAGER_SINGLETON_DECLARATION(T)
-# define ACEXML_DEBUG_DTD_MANAGER_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
-#endif /* ACEXML_DEBUG_DTD_MANAGER_HAS_DLL == 1 */
-
-#endif /* ACEXML_DEBUG_DTD_MANAGER_EXPORT_H */
-
-// End of auto generated file.
diff --git a/ACEXML/parser/debug_validator/Debug_Element_Builder.cpp b/ACEXML/parser/debug_validator/Debug_Element_Builder.cpp
deleted file mode 100644
index 48fff495365..00000000000
--- a/ACEXML/parser/debug_validator/Debug_Element_Builder.cpp
+++ /dev/null
@@ -1,148 +0,0 @@
-// $Id$
-
-#include "ACEXML/common/SAXExceptions.h"
-#include "ACEXML/parser/debug_validator/Debug_Element_Builder.h"
-
-ACEXML_Debug_Element_Builder::ACEXML_Debug_Element_Builder ()
- : type_ (UNDEFINED),
- root_ (0)
-{
-}
-
-ACEXML_Debug_Element_Builder::~ACEXML_Debug_Element_Builder ()
-{
- delete this->root_;
-}
-
-int
-ACEXML_Debug_Element_Builder::setElementName (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- this->element_.set (qName, 0);
- return 0;
-}
-
-int
-ACEXML_Debug_Element_Builder::setContentType (CONTENT_TYPE type ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->type_ == UNDEFINED)
- {
- this->type_ = type;
- return 0;
- }
-
- ACEXML_THROW_RETURN (ACEXML_SAXParseException (ACE_TEXT("Element type redefinition in Debug_Validator.")), -1);
-}
-
-int
-ACEXML_Debug_Element_Builder::insertMixedElement (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- ACEXML_Element_Tree_Name_Node *node;
-
- // @@ We should "throw" an exception here instead of returning -1.
- ACE_NEW_RETURN (node,
- ACEXML_Element_Tree_Name_Node (qName),
- -1);
-
- if (this->root_ == 0)
- // @@ Memory leak if fail?
- ACE_NEW_RETURN (this->root_,
- ACEXML_Element_Tree_List_Node (),
- -1);
-
-
- return this->root_->insert (node);
-}
-
-int
-ACEXML_Debug_Element_Builder::startChildGroup ()
-{
- ACEXML_Element_Tree_List_Node *lnode;
-
- ACE_NEW_RETURN (lnode,
- ACEXML_Element_Tree_List_Node (),
- -1);
-
- if (this->root_ == 0)
- {
- this->root_ = lnode;
- }
- else
- {
- // @@ check error?
- this->root_->insert (lnode);
- }
-
- this->active_list_.push (lnode);
- return 0;
-}
-
-int
-ACEXML_Debug_Element_Builder::endChildGroup (CARDINALITY ACEXML_ENV_ARG_DECL_NOT_USED)
-{
- this->active_list_.pop ();
- return 0;
-}
-
-int
-ACEXML_Debug_Element_Builder::setChoice ()
-{
- this->active_list_.top ()->set (ACEXML_Element_Tree_List_Node::CHOICE);
- return 0;
-}
-
-int
-ACEXML_Debug_Element_Builder::setSequence ()
-{
- this->active_list_.top ()->set (ACEXML_Element_Tree_List_Node::SEQUENCE);
- return 0;
-}
-
-int
-ACEXML_Debug_Element_Builder::insertElement (const ACEXML_Char *,
- const ACEXML_Char *,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL_NOT_USED)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- ACEXML_Element_Tree_Name_Node *node;
-
- // @@ We should "throw" an exception here instead of returning -1.
- ACE_NEW_RETURN (node,
- ACEXML_Element_Tree_Name_Node (qName),
- -1);
-
- return this->active_list_.top ()->insert (node);
-}
-
-void
-ACEXML_Debug_Element_Builder::dump ()
-{
- cout << "<!ELEMENT " << this->element_;
-
- // @@ Also dump element contentspec here.
- switch (this->type_)
- {
- case EMPTY:
- cout << "EMPTY";
- break;
- case ANY:
- cout << "ANY";
- break;
- case MIXED:
- case CHILDREN:
- // @@ Dump the content of this->root_
- cout << "*** not implemented ***";
- break;
- default:
- cout << "*** Unidentified element type ***";
- break;
- }
-
- cout << ">" << endl;
-}
diff --git a/ACEXML/parser/debug_validator/Debug_Element_Builder.h b/ACEXML/parser/debug_validator/Debug_Element_Builder.h
deleted file mode 100644
index b2530e42b09..00000000000
--- a/ACEXML/parser/debug_validator/Debug_Element_Builder.h
+++ /dev/null
@@ -1,127 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Debug_Element_Builder.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-#ifndef _ACEXML_DEBUG_ELEMENT_BUILDER_H_
-#define _ACEXML_DEBUG_ELEMENT_BUILDER_H_
-
-#include "ace/pre.h"
-#include "ACEXML/parser/debug_validator/Debug_DTD_Manager_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/Element_Def_Builder.h"
-#include "ACEXML/parser/debug_validator/Element_Tree.h"
-
-/**
- * @class ACEXML_Debug_Element_Builder Debug_Element_Builder.h "parser/debug_validator/Debug_Element_Builder.h"
- *
- * This class prints out the element definition for debugging purpose.
- *
- * @todo This class is not namespace-aware.
- */
-class ACEXML_DEBUG_DTD_MANAGER_Export ACEXML_Debug_Element_Builder
- : public ACEXML_Element_Def_Builder
-{
-public:
- ACEXML_Debug_Element_Builder ();
-
- virtual ~ACEXML_Debug_Element_Builder ();
-
- /**
- * Define the name of the element.
- *
- * @retval 0 if valid, -1 otherwise.
- */
- virtual int setElementName (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /**
- * Define the content type of the element.
- *
- * @retval 0 if valid, -1 otherwise.
- */
- virtual int setContentType (CONTENT_TYPE type ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /**
- * Insert one more element into Mixed definition.
- */
- virtual int insertMixedElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /**
- * Start a new group of children.
- */
- virtual int startChildGroup ();
-
- /**
- * End a new group of children.
- *
- * @retval 0 on success.
- */
- virtual int endChildGroup (CARDINALITY card ACEXML_ENV_ARG_DECL);
-
- /**
- * Set the type of current child group to Choice.
- *
- * @retval 0 on success, -1 if the type of the child group has
- * already been set and this action conflicts with the previous
- * setting.
- */
- virtual int setChoice ();
-
- /**
- * Set the type of current child group to Sequence.
- *
- * @retval 0 on success, -1 if the type of the child group has
- * already been set and this action conflicts with the previous
- * setting.
- */
- virtual int setSequence ();
-
- /**
- * Insert an new element into the current child group.
- *
- * @retval 0 on success, -1 otherwise.
- */
- virtual int insertElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /**
- * Dump the content of the attribute definition.
- */
- virtual void dump (void);
-private:
- CONTENT_TYPE type_;
-
- ACEXML_String element_;
-
- ACEXML_Element_Tree_List_Node *root_;
-
- ACEXML_Element_Tree_List_Stack active_list_;
-};
-
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_DEBUG_ELEMENT_BUILDER_H_ */
diff --git a/ACEXML/parser/debug_validator/Debug_Validator.dsp b/ACEXML/parser/debug_validator/Debug_Validator.dsp
deleted file mode 100644
index ee0f98624c6..00000000000
--- a/ACEXML/parser/debug_validator/Debug_Validator.dsp
+++ /dev/null
@@ -1,145 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Debug_Validator" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=Debug_Validator - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "Debug_Validator.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "Debug_Validator.mak" CFG="Debug_Validator - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Debug_Validator - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "Debug_Validator - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Debug_Validator - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "DEBUG_VALIDATOR_EXPORTS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ACEXML_DEBUG_DTD_MANAGER_BUILD_DLL" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
-# ADD LINK32 ace.lib ACEXML.lib /nologo /dll /machine:I386 /out:"../../../bin/ACEXML_Debug_DTD_Manager.dll" /libpath:"../../../ace" /libpath:"../../Common"
-
-!ELSEIF "$(CFG)" == "Debug_Validator - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "DEBUG_VALIDATOR_EXPORTS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ACEXML_DEBUG_DTD_MANAGER_BUILD_DLL" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib ACEXMLd.lib /nologo /dll /debug /machine:I386 /out:"../../../bin/ACEXML_Debug_DTD_Managerd.dll" /pdbtype:sept /libpath:"../../../ace" /libpath:"../../Common"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Debug_Validator - Win32 Release"
-# Name "Debug_Validator - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\Debug_Attributes_Builder.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Debug_DTD_Manager.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Debug_Element_Builder.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Element_Tree.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# Begin Source File
-
-SOURCE=.\Debug_Attributes_Builder.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Debug_DTD_Manager.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Debug_DTD_Manager_Export.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Debug_Element_Builder.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Element_Tree.h
-# End Source File
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# End Group
-# Begin Source File
-
-SOURCE=.\Element_Tree.i
-# End Source File
-# End Target
-# End Project
diff --git a/ACEXML/parser/debug_validator/Element_Tree.cpp b/ACEXML/parser/debug_validator/Element_Tree.cpp
deleted file mode 100644
index e9275061b52..00000000000
--- a/ACEXML/parser/debug_validator/Element_Tree.cpp
+++ /dev/null
@@ -1,72 +0,0 @@
-// $Id$
-
-#include "ACEXML/parser/debug_validator/Element_Tree.h"
-
-#if !defined (__ACEXML_INLINE__)
-# include "ACEXML/parser/debug_validator/Element_Tree.i"
-#endif /* __ACEXML_INLINE__ */
-
-ACEXML_Element_Tree_Node::~ACEXML_Element_Tree_Node ()
-{
- delete this->next_;
-}
-
-ACE_ALLOC_HOOK_DEFINE (ACEXML_Element_Tree_Node)
-
-void
-ACEXML_Element_Tree_Name_Node::dump ()
-{
- cout << this->name_;
-}
-
-ACE_ALLOC_HOOK_DEFINE (ACEXML_Element_Tree_Name_Node)
-
-ACEXML_Element_Tree_List_Node::~ACEXML_Element_Tree_List_Node (void)
-{
- delete this->head_;
-}
-
-int
-ACEXML_Element_Tree_List_Node::insert (ACEXML_Element_Tree_Node *node)
-{
- if (this->head_ == 0)
- {
- this->tail_ = this->head_ = node;
- }
- else
- {
- this->tail_->next (node);
- this->tail_ = node;
- }
- return 0;
-}
-
-void
-ACEXML_Element_Tree_List_Node::dump (void)
-{
- ACEXML_Element_Tree_Node *ptr = this->head_;
- const ACEXML_Char *separator = (this->type_ == SEQUENCE) ? ACE_TEXT(" , ") : ACE_TEXT(" | ");
-
- cout << "(";
-
- if (ptr != 0)
- {
- ptr->dump ();
- ptr = ptr->next ();
-
- while (ptr != 0)
- {
- cout << separator;
- ptr->dump ();
- ptr->next ();
- }
- }
-
- cout << ")";
-}
-
-ACE_ALLOC_HOOK_DEFINE (ACEXML_Element_Tree_List_Node)
-
-
-
-ACE_ALLOC_HOOK_DEFINE (ACEXML_Element_Tree_List_Stack)
diff --git a/ACEXML/parser/debug_validator/Element_Tree.h b/ACEXML/parser/debug_validator/Element_Tree.h
deleted file mode 100644
index ae0c3d6dd93..00000000000
--- a/ACEXML/parser/debug_validator/Element_Tree.h
+++ /dev/null
@@ -1,160 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Element_Tree.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-#ifndef _ACEXML_ELEMENT_TREE_H_
-#define _ACEXML_ELEMENT_TREE_H_
-
-#include "ace/pre.h"
-#include "ACEXML/parser/debug_validator/Debug_DTD_Manager_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/XML_Types.h"
-
-/**
- * @class ACEXML_Element_Tree_Node Element_Tree.h "parser/debug_validator/Element_Tree.h"
- *
- * @brief An abstract base class for describing DTD child element definition.
- *
- * @sa ACEXML_Element_Tree_Name_Node, ACEXML_Element_Tree_List_Node
- */
-class ACEXML_DEBUG_DTD_MANAGER_Export ACEXML_Element_Tree_Node
-{
-public:
-
- /// Default constructor.
- ACEXML_Element_Tree_Node ();
-
- /// Destructor
- virtual ~ACEXML_Element_Tree_Node ();
-
- /// Accessor for next element in chain
- ACEXML_Element_Tree_Node *next ();
- void next (ACEXML_Element_Tree_Node *n);
-
- /// Displaying the content.
- virtual void dump () = 0;
-
- ACE_ALLOC_HOOK_DECLARE;
-
-protected:
- ACEXML_Element_Tree_Node *next_;
-};
-
-/**
- * @class ACEXML_Element_Tree_Name_Node Element_Tree.h "parser/debug_validator/Element_Tree.h"
- *
- * @brief An abstract base class for describing a name node in a DTD child
- * element definition.
- *
- * @sa ACEXML_Element_Tree_Node, ACEXML_Element_Tree_List_Node
- */
-class ACEXML_DEBUG_DTD_MANAGER_Export ACEXML_Element_Tree_Name_Node
- : public ACEXML_Element_Tree_Node
-{
-public:
- /// Constructor.
- ACEXML_Element_Tree_Name_Node (const ACEXML_Char *name,
- int release = 1);
-
- /// Change the name of this node.
- void set (const ACEXML_Char *name,
- int release = 1);
-
- virtual void dump ();
-
- ACE_ALLOC_HOOK_DECLARE;
-protected:
- ACEXML_String name_;
-};
-
-class ACEXML_Element_Tree_List_Stack;
-
-/**
- * @class ACEXML_Element_Tree_List_Node Element_Tree.h "parser/debug_validator/Element_Tree.h"
- *
- * @brief An abstract base class for describing a node list in a DTD child
- * element definition.
- *
- * @sa ACEXML_Element_Tree_Node, ACEXML_Element_Tree_Name_Node
- */
-class ACEXML_DEBUG_DTD_MANAGER_Export ACEXML_Element_Tree_List_Node
- : public ACEXML_Element_Tree_Node
-{
-public:
- friend class ACEXML_Element_Tree_List_Stack;
-
- typedef enum {
- SEQUENCE,
- CHOICE
- } LIST_TYPE;
-
- /// Default constructor.
- ACEXML_Element_Tree_List_Node (void);
-
- /// Destructor.
- virtual ~ACEXML_Element_Tree_List_Node (void);
-
- /// Insert a new ACEXML_Element_Tree_Node into the list.
- int insert (ACEXML_Element_Tree_Node *node);
-
- /// Get/set the type of list.
- LIST_TYPE get (void);
- int set (LIST_TYPE type);
-
- virtual void dump ();
-
- ACE_ALLOC_HOOK_DECLARE;
-protected:
- LIST_TYPE type_;
-
- ACEXML_Element_Tree_Node *head_;
-
- ACEXML_Element_Tree_Node *tail_;
-
- ACEXML_Element_Tree_List_Node *pop_next_;
-};
-
-/**
- * @class ACEXML_Element_Tree_List_Stack Element_Tree.h "parser/debug_validator/Element_Tree.h"
- *
- * @brief A class for managing a stack of ACEXML_Element_Tree_List_Node's.
- *
- * @sa ACEXML_Element_Tree_List_Node
- */
-class ACEXML_DEBUG_DTD_MANAGER_Export ACEXML_Element_Tree_List_Stack
-{
-public:
- ACEXML_Element_Tree_List_Stack ();
-
- void push (ACEXML_Element_Tree_List_Node *n);
-
- ACEXML_Element_Tree_List_Node *pop (void);
-
- ACEXML_Element_Tree_List_Node *top (void);
-
- int empty (void);
-
- ACE_ALLOC_HOOK_DECLARE;
-
-protected:
- ACEXML_Element_Tree_List_Node *top_;
-};
-
-#if defined (__ACEXML_INLINE__)
-# include "ACEXML/parser/debug_validator/Element_Tree.i"
-#endif /* __ACEXML_INLINE__ */
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_ELEMENT_TREE_H_ */
diff --git a/ACEXML/parser/debug_validator/Element_Tree.i b/ACEXML/parser/debug_validator/Element_Tree.i
deleted file mode 100644
index 4b408835403..00000000000
--- a/ACEXML/parser/debug_validator/Element_Tree.i
+++ /dev/null
@@ -1,92 +0,0 @@
-// $Id$
-
-ACEXML_INLINE
-ACEXML_Element_Tree_Node::ACEXML_Element_Tree_Node ()
- : next_ (0)
-{
-}
-
-ACEXML_INLINE ACEXML_Element_Tree_Node *
-ACEXML_Element_Tree_Node::next ()
-{
- return this->next_;
-}
-
-ACEXML_INLINE void
-ACEXML_Element_Tree_Node::next (ACEXML_Element_Tree_Node * n)
-{
- this->next_ = n;
-}
-
-ACEXML_INLINE
-ACEXML_Element_Tree_Name_Node::ACEXML_Element_Tree_Name_Node (const ACEXML_Char *name,
- int release)
- : name_ (name, 0, release)
-{
-}
-
-ACEXML_INLINE void
-ACEXML_Element_Tree_Name_Node::set (const ACEXML_Char *name,
- int release)
-{
- this->name_.set (name, release);
-}
-
-ACEXML_INLINE
-ACEXML_Element_Tree_List_Node::ACEXML_Element_Tree_List_Node (void)
- : type_ (SEQUENCE),
- head_ (0),
- tail_ (0),
- pop_next_ (0)
-{
-}
-
-ACEXML_INLINE ACEXML_Element_Tree_List_Node::LIST_TYPE
-ACEXML_Element_Tree_List_Node::get (void)
-{
- return this->type_;
-}
-
-ACEXML_INLINE int
-ACEXML_Element_Tree_List_Node::set (ACEXML_Element_Tree_List_Node::LIST_TYPE type)
-{
- this->type_ = type;
- return 0;
-}
-
-ACEXML_INLINE
-ACEXML_Element_Tree_List_Stack::ACEXML_Element_Tree_List_Stack (void)
- : top_ (0)
-{
-}
-
-ACEXML_INLINE ACEXML_Element_Tree_List_Node *
-ACEXML_Element_Tree_List_Stack::top ()
-{
- return this->top_;
-}
-
-ACEXML_INLINE void
-ACEXML_Element_Tree_List_Stack::push (ACEXML_Element_Tree_List_Node *n)
-{
- n->pop_next_ = this->top_;
- this->top_ = n;
-}
-
-ACEXML_INLINE ACEXML_Element_Tree_List_Node *
-ACEXML_Element_Tree_List_Stack::pop ()
-{
- if (this->top_ != 0)
- {
- ACEXML_Element_Tree_List_Node *ptr = this->top_;
- this->top_ = this->top_->pop_next_;
- return ptr;
- }
- return 0;
-}
-
-ACEXML_INLINE int
-ACEXML_Element_Tree_List_Stack::empty ()
-{
- return this->top_ == 0;
-}
diff --git a/ACEXML/parser/debug_validator/Makefile.bor b/ACEXML/parser/debug_validator/Makefile.bor
deleted file mode 100644
index 08ee7c36e43..00000000000
--- a/ACEXML/parser/debug_validator/Makefile.bor
+++ /dev/null
@@ -1,22 +0,0 @@
-# Makefile for building the debug_validator
-
-NAME = ACEXML_Debug_DTD_Manager
-
-OBJFILES = \
- $(OBJDIR)\Debug_Attributes_Builder.obj \
- $(OBJDIR)\Debug_DTD_Manager.obj \
- $(OBJDIR)\Debug_Element_Builder.obj \
- $(OBJDIR)\Element_Tree.obj
-
-CFLAGS = \
- $(ACE_CFLAGS) \
- $(ACE_XML_CFLAGS) \
- -DACEXML_DEBUG_DTD_MANAGER_BUILD_DLL
-
-CPPDIR = .;..
-
-LIBFILES = \
- $(ACE_LIB) \
- $(ACE_XML_LIB)
-
-!include <$(ACE_ROOT)\include\makeinclude\build_core_library.bor>
diff --git a/ACEXML/parser/parser/Entity_Manager.cpp b/ACEXML/parser/parser/Entity_Manager.cpp
deleted file mode 100644
index d0c86862805..00000000000
--- a/ACEXML/parser/parser/Entity_Manager.cpp
+++ /dev/null
@@ -1,48 +0,0 @@
-// $Id$
-
-#include "ACEXML/parser/parser/Entity_Manager.h"
-
-#if !defined (__ACEXML_INLINE__)
-# include "ACEXML/parser/parser/Entity_Manager.i"
-#endif /* __ACEXML_INLINE__ */
-
-static const ACEXML_Char amp_name[] = {'a', 'm', 'p', 0 };
-static const ACEXML_Char amp_value[] = {'&', 0};
-static const ACEXML_Char lt_name[] = {'l', 't', 0};
-static const ACEXML_Char lt_value[] = {'<', 0};
-static const ACEXML_Char gt_name[] = {'g', 't', 0};
-static const ACEXML_Char gt_value[] = {'>', 0};
-static const ACEXML_Char apos_name[] = {'a', 'p', 'o', 's', 0};
-static const ACEXML_Char apos_value[] = {'\'', 0};
-static const ACEXML_Char quot_name[] = {'q', 'u', 'o', 't', 0};
-static const ACEXML_Char quot_value[] = {'"', 0};
-
-ACEXML_Entity_Manager::ACEXML_Entity_Manager (void)
- : entities_ ()
-{
- // @@ No way to know if these bindings succeed or not.
-
- ACEXML_String ampname (amp_name, 0, 0);
- ACEXML_String ampvalue (amp_value, 0, 0);
- this->entities_.bind (ampname, ampvalue);
-
- ACEXML_String ltname (lt_name, 0, 0);
- ACEXML_String ltvalue (lt_value, 0, 0);
- this->entities_.bind (ltname, ltvalue);
-
- ACEXML_String gtname (gt_name, 0, 0);
- ACEXML_String gtvalue (gt_value, 0, 0);
- this->entities_.bind (gtname, gtvalue);
-
- ACEXML_String aposname (apos_name, 0, 0);
- ACEXML_String aposvalue (apos_value, 0, 0);
- this->entities_.bind (aposname, aposvalue);
-
- ACEXML_String quotname (quot_name, 0, 0);
- ACEXML_String quotvalue (quot_value, 0, 0);
- this->entities_.bind (quotname, quotvalue);
-}
-
-ACEXML_Entity_Manager::~ACEXML_Entity_Manager (void)
-{
-}
diff --git a/ACEXML/parser/parser/Entity_Manager.h b/ACEXML/parser/parser/Entity_Manager.h
deleted file mode 100644
index 9bcfcc443a3..00000000000
--- a/ACEXML/parser/parser/Entity_Manager.h
+++ /dev/null
@@ -1,81 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Entity_Manager.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef ACEXML_ENTITY_MANAGER_H
-#define ACEXML_ENTITY_MANAGER_H
-
-#include "ace/pre.h"
-#include "ACEXML/parser/parser/Parser_export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/XML_Types.h"
-#include "ace/Hash_Map_Manager.h"
-#include "ace/Synch.h"
-
-typedef ACE_Hash_Map_Entry<ACEXML_String,
- ACEXML_String> ACEXML_ENTITY_ENTRY;
-
-typedef ACE_Hash_Map_Manager_Ex<ACEXML_String,
- ACEXML_String,
- ACE_Hash<ACEXML_String>,
- ACE_Equal_To<ACEXML_String>,
- ACE_Null_Mutex> ACEXML_ENTITIES_MANAGER;
-
-typedef ACE_Hash_Map_Iterator_Ex<ACEXML_String,
- ACEXML_String,
- ACE_Hash<ACEXML_String>,
- ACE_Equal_To<ACEXML_String>,
- ACE_Null_Mutex> ACEXML_ENTITIES_MANAGER_ITER;
-
-typedef ACE_Hash_Map_Reverse_Iterator_Ex<ACEXML_String,
- ACEXML_String,
- ACE_Hash<ACEXML_String>,
- ACE_Equal_To<ACEXML_String>,
- ACE_Null_Mutex> ACEXML_ENTITIES_MANAGER_REVERSE_ITER;
-
-/**
- * @class ACEXML_Entity_Manager Entity_Manager.h "ACEXML/parser/parser/Entity_Manager.h"
- *
- * @brief Class to manage and resolve entity references.
- *
- * @todo Fill in details for this class.
- */
-class ACEXML_PARSER_Export ACEXML_Entity_Manager
-{
-public:
- /// Default constructor.
- ACEXML_Entity_Manager (void);
-
- /// Destructor.
- ~ACEXML_Entity_Manager (void);
-
- /// Add a new entity declaration.
- int add_entity (const ACEXML_Char *ref,
- const ACEXML_Char *value);
-
- /// Resolve an entity reference.
- const ACEXML_String *resolve_entity (const ACEXML_Char *ref);
-
-private:
- ACEXML_ENTITIES_MANAGER entities_;
-};
-
-#if defined (__ACEXML_INLINE__)
-# include "ACEXML/parser/parser/Entity_Manager.i"
-#endif /* __ACEXML_INLINE__ */
-
-#include "ace/post.h"
-
-#endif /* ACEXML_ENTITY_MANAGER_H */
diff --git a/ACEXML/parser/parser/Entity_Manager.i b/ACEXML/parser/parser/Entity_Manager.i
deleted file mode 100644
index 696b82b64e4..00000000000
--- a/ACEXML/parser/parser/Entity_Manager.i
+++ /dev/null
@@ -1,21 +0,0 @@
-// $Id$
-
-ACEXML_INLINE int
-ACEXML_Entity_Manager::add_entity (const ACEXML_Char *ref,
- const ACEXML_Char *v)
-{
- ACEXML_String name (ref, 0, 0);
- ACEXML_String value (v, 0, 0);
- return this->entities_.bind (name, value);
-}
-
-ACEXML_INLINE const ACEXML_String *
-ACEXML_Entity_Manager::resolve_entity (const ACEXML_Char *ref)
-{
- ACEXML_ENTITY_ENTRY *entry;
-
- if (this->entities_.find (ACEXML_String (ref, 0, 0),
- entry) == 0)
- return &entry->int_id_;
- return 0;
-}
diff --git a/ACEXML/parser/parser/Makefile b/ACEXML/parser/parser/Makefile
deleted file mode 100644
index 61de3fb95c0..00000000000
--- a/ACEXML/parser/parser/Makefile
+++ /dev/null
@@ -1,328 +0,0 @@
-#----------------------------------------------------------------------------
-# $Id$
-#
-# Makefile for the server-side ACE network services
-#----------------------------------------------------------------------------
-
-LIB = libACEXML_Parser.a
-SHLIB = libACEXML_Parser.$(SOEXT)
-
-FILES = Entity_Manager \
- Parser
-
-DEFS = $(addsuffix .h,$(FILES))
-LSRC = $(addsuffix .cpp,$(FILES))
-
-LIBS += -lACEXML $(ACELIB)
-
-BUILD = $(VLIB) $(VSHLIB)
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-
-#----------------------------------------------------------------------------
-# Local targets
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Dependencies
-#----------------------------------------------------------------------------
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-
-.obj/Entity_Manager.o .obj/Entity_Manager.so .shobj/Entity_Manager.o .shobj/Entity_Manager.so: Entity_Manager.cpp \
- Entity_Manager.h \
- $(ACE_ROOT)/ace/pre.h \
- Parser_export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- $(ACE_ROOT)/ACEXML/common/XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \
- $(ACE_ROOT)/ace/Functor.h \
- $(ACE_ROOT)/ace/Functor.i \
- $(ACE_ROOT)/ace/Functor_T.h \
- $(ACE_ROOT)/ace/Functor_T.i \
- $(ACE_ROOT)/ace/Functor_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.inl \
- $(ACE_ROOT)/ace/Unbounded_Queue.cpp \
- $(ACE_ROOT)/ace/XML_Svc_Conf.h \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Test_and_Set.h \
- $(ACE_ROOT)/ace/Test_and_Set.i \
- $(ACE_ROOT)/ace/Test_and_Set.cpp \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- Entity_Manager.i
-
-.obj/Parser.o .obj/Parser.so .shobj/Parser.o .shobj/Parser.so: Parser.cpp \
- Parser.h \
- $(ACE_ROOT)/ace/pre.h \
- Parser_export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- $(ACE_ROOT)/ACEXML/common/XMLReader.h \
- $(ACE_ROOT)/ACEXML/common/ACEXML_Export.h \
- $(ACE_ROOT)/ACEXML/common/ContentHandler.h \
- $(ACE_ROOT)/ACEXML/common/Env.h \
- $(ACE_ROOT)/ACEXML/common/XML_Macros.h \
- $(ACE_ROOT)/ace/Exception_Macros.h \
- $(ACE_ROOT)/ACEXML/common/Exception.h \
- $(ACE_ROOT)/ACEXML/common/XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ACEXML/common/Exception.i \
- $(ACE_ROOT)/ACEXML/common/Env.i \
- $(ACE_ROOT)/ACEXML/common/SAXExceptions.h \
- $(ACE_ROOT)/ACEXML/common/SAXExceptions.i \
- $(ACE_ROOT)/ACEXML/common/Locator.h \
- $(ACE_ROOT)/ACEXML/common/Attributes.h \
- $(ACE_ROOT)/ACEXML/common/DTDHandler.h \
- $(ACE_ROOT)/ACEXML/common/EntityResolver.h \
- $(ACE_ROOT)/ACEXML/common/InputSource.h \
- $(ACE_ROOT)/ACEXML/common/CharStream.h \
- $(ACE_ROOT)/ACEXML/common/ErrorHandler.h \
- $(ACE_ROOT)/ACEXML/common/LocatorImpl.h \
- $(ACE_ROOT)/ACEXML/common/LocatorImpl.i \
- $(ACE_ROOT)/ACEXML/common/NamespaceSupport.h \
- $(ACE_ROOT)/ace/Functor.h \
- $(ACE_ROOT)/ace/Functor.i \
- $(ACE_ROOT)/ace/Functor_T.h \
- $(ACE_ROOT)/ace/Functor_T.i \
- $(ACE_ROOT)/ace/Functor_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.inl \
- $(ACE_ROOT)/ace/Unbounded_Queue.cpp \
- $(ACE_ROOT)/ace/XML_Svc_Conf.h \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Test_and_Set.h \
- $(ACE_ROOT)/ace/Test_and_Set.i \
- $(ACE_ROOT)/ace/Test_and_Set.cpp \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Array_Base.h \
- $(ACE_ROOT)/ace/Array_Base.inl \
- $(ACE_ROOT)/ace/Array_Base.cpp \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- $(ACE_ROOT)/ACEXML/common/NamespaceSupport.i \
- $(ACE_ROOT)/ace/Obstack.h \
- $(ACE_ROOT)/ace/Obstack_T.h \
- $(ACE_ROOT)/ace/Obchunk.h \
- $(ACE_ROOT)/ace/Obchunk.i \
- $(ACE_ROOT)/ace/Obstack_T.i \
- $(ACE_ROOT)/ace/Obstack_T.cpp \
- Entity_Manager.h \
- Entity_Manager.i \
- Parser.i \
- $(ACE_ROOT)/ACEXML/common/Transcode.h \
- $(ACE_ROOT)/ACEXML/common/Transcode.i \
- $(ACE_ROOT)/ACEXML/common/AttributesImpl.h \
- $(ACE_ROOT)/ACEXML/common/AttributesImpl.i
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/ACEXML/parser/parser/Makefile.bor b/ACEXML/parser/parser/Makefile.bor
deleted file mode 100644
index 04603884700..00000000000
--- a/ACEXML/parser/parser/Makefile.bor
+++ /dev/null
@@ -1,20 +0,0 @@
-# Makefile for building the parser
-
-NAME = ACEXML_Parser
-
-OBJFILES = \
- $(OBJDIR)\Parser.obj \
- $(OBJDIR)\Entity_Manager.obj
-
-CFLAGS = \
- $(ACE_CFLAGS) \
- $(ACE_XML_CFLAGS) \
- -DACEXML_PARSER_BUILD_DLL
-
-CPPDIR = .;..
-
-LIBFILES = \
- $(ACE_LIB) \
- $(ACE_XML_LIB)
-
-!include <$(ACE_ROOT)\include\makeinclude\build_core_library.bor>
diff --git a/ACEXML/parser/parser/Parser.cpp b/ACEXML/parser/parser/Parser.cpp
deleted file mode 100644
index 3c94ce538a9..00000000000
--- a/ACEXML/parser/parser/Parser.cpp
+++ /dev/null
@@ -1,1960 +0,0 @@
-// $Id$
-
-#include "ACEXML/parser/parser/Parser.h"
-#include "ACEXML/common/Transcode.h"
-#include "ACEXML/common/AttributesImpl.h"
-#include "ace/ACE.h"
-
-static const ACEXML_Char default_attribute_type[] = {'C', 'D', 'A', 'T', 'A', 0};
-static const ACEXML_Char empty_string[] = { 0 };
-
-const ACEXML_Char
-ACEXML_Parser::simple_parsing_feature_[] = { 'S', 'i', 'm', 'p', 'l', 'e', 0 };
-
-const ACEXML_Char
-ACEXML_Parser::namespaces_feature_[] = {'h', 't', 't', 'p', ':', '/', '/', 'x', 'm', 'l', '.', 'o', 'r', 'g', '/', 's', 'a', 'x', '/', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '/', 'n', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', 's', 0 };
-
-const ACEXML_Char
-ACEXML_Parser::namespace_prefixes_feature_[] = {'h', 't', 't', 'p', ':', '/', '/', 'x', 'm', 'l', '.', 'o', 'r', 'g', '/', 's', 'a', 'x', '/', 'f', 'e', 'a', 't', 'u', 'r', 'e', 's', '/', 'n', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', '-', 'p', 'r', 'e', 'f', 'i', 'x', 'e', 's', 0 };
-
-#if !defined (__ACEXML_INLINE__)
-# include "ACEXML/parser/parser/Parser.i"
-#endif /* __ACEXML_INLINE__ */
-
-ACEXML_Parser::ACEXML_Parser (void)
- : dtd_handler_ (0),
- entity_resolver_ (0),
- content_handler_ (0),
- error_handler_ (0),
- instream_ (0),
- doctype_ (0),
- dtd_system_ (0),
- dtd_public_ (0),
- locator_(),
- simple_parsing_ (0),
- namespaces_(1),
- namespace_prefixes_ (0)
-{
-}
-
-ACEXML_Parser::~ACEXML_Parser (void)
-{
-}
-
-int
-ACEXML_Parser::getFeature (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException))
-{
- if (ACE_OS::strcmp (name,
- ACEXML_Parser::simple_parsing_feature_) == 0)
- {
- return this->simple_parsing_;
- }
- else if (ACE_OS::strcmp (name,
- ACEXML_Parser::namespaces_feature_) == 0)
- {
- return this->namespaces_;
- }
- else if (ACE_OS::strcmp (name,
- ACEXML_Parser::namespace_prefixes_feature_) == 0)
- {
- return this->namespace_prefixes_;
- }
-
- ACEXML_THROW_RETURN (ACEXML_SAXNotRecognizedException (name), -1);
-}
-
-
-
-void
-ACEXML_Parser::setFeature (const ACEXML_Char *name,
- int boolean_value ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException))
-{
- if (ACE_OS::strcmp (name,
- ACEXML_Parser::simple_parsing_feature_) == 0)
- {
- this->simple_parsing_ = (boolean_value == 0 ? 0 : 1);
- return;
- }
- else if (ACE_OS::strcmp (name,
- ACEXML_Parser::namespaces_feature_) == 0)
- {
- this->namespaces_ = (boolean_value == 0 ? 0 : 1);
- return;
- }
- else if (ACE_OS::strcmp (name,
- ACEXML_Parser::namespace_prefixes_feature_) == 0)
- {
- this->namespace_prefixes_ = (boolean_value == 0 ? 0 : 1);
- return;
- }
-
- ACEXML_THROW (ACEXML_SAXNotRecognizedException (name));
-}
-
-void *
-ACEXML_Parser::getProperty (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException))
-{
- ACEXML_THROW_RETURN (ACEXML_SAXNotSupportedException (name), 0);
-}
-
-void
-ACEXML_Parser::setProperty (const ACEXML_Char *name,
- void *value ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException))
-{
- ACE_UNUSED_ARG (value);
-
- ACEXML_THROW (ACEXML_SAXNotSupportedException (name));
-}
-
-void
-ACEXML_Parser::report_error (const ACEXML_Char* message ACEXML_ENV_ARG_DECL)
-{
- ACEXML_SAXParseException* exception = 0;
- ACE_NEW_NORETURN (exception,
- ACEXML_SAXParseException (message));
- if (this->error_handler_)
- this->error_handler_->error (*exception ACEXML_ENV_ARG_PARAMETER);
- else
- ACEXML_ENV_RAISE (exception);
- return;
-}
-
-void
-ACEXML_Parser::report_warning (const ACEXML_Char* message ACEXML_ENV_ARG_DECL)
-{
- ACEXML_SAXParseException* exception = 0;
- ACE_NEW_NORETURN (exception,
- ACEXML_SAXParseException (message));
- if (this->error_handler_)
- this->error_handler_->warning (*exception ACEXML_ENV_ARG_PARAMETER);
- return;
-}
-
-void
-ACEXML_Parser::report_fatal_error (const ACEXML_Char* message ACEXML_ENV_ARG_DECL)
-{
- ACEXML_SAXParseException* exception = 0;
- ACE_NEW_NORETURN (exception,
- ACEXML_SAXParseException (message));
- if (this->error_handler_)
- this->error_handler_->fatalError (*exception ACEXML_ENV_ARG_PARAMETER);
- ACEXML_ENV_RAISE (exception);
- return;
-}
-
-void
-ACEXML_Parser::parse (ACEXML_InputSource *input ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (input == 0 || (this->instream_ = input->getCharStream ()) == 0)
- {
- this->report_fatal_error(ACE_TEXT ("Invalid input source") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
-
- // Set up Locator. At this point, the systemId and publicId are null. We
- // can't do better, as we don't know anything about the InputSource
- // currently, and according to the SAX spec, the parser should set up the
- // locator before reporting any document events.
- if (this->content_handler_)
- this->content_handler_->setDocumentLocator (&this->locator_);
-
- if (this->simple_parsing_ == 0)
- {
- this->parse_xml_prolog (ACEXML_ENV_SINGLE_ARG_PARAMETER);
- ACEXML_CHECK;
- }
-
- this->content_handler_->startDocument (ACEXML_ENV_SINGLE_ARG_PARAMETER);
- ACEXML_CHECK;
-
- int doctype_defined = 0;
-
- for (int prolog_done = 0; prolog_done == 0; )
- {
- if (this->skip_whitespace (0) != '<')
- {
- this->report_fatal_error (ACE_TEXT ("Expecting '<'") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
- ACEXML_Char fwd = this->peek ();
- switch (fwd)
- {
- case '!':
- this->get (); // consume the '!'
- fwd = this->peek ();
- if (fwd == 'D' && !doctype_defined) // DOCTYPE
- {
- // This will also take care of the trailing MISC block if any.
- this->parse_doctypedecl (ACEXML_ENV_SINGLE_ARG_PARAMETER);
- ACEXML_CHECK;
- doctype_defined = 1;
- break;
- }
- else if (fwd == '-') // COMMENT
- {
- if (this->grok_comment () < 0)
- {
- this->report_fatal_error(ACE_TEXT ("Invalid comment") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
- }
- else
- {
- this->report_fatal_error (ACE_TEXT ("Duplicate DOCTYPE definitions") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
- break;
- case '?':
- this->parse_processing_instruction (ACEXML_ENV_SINGLE_ARG_PARAMETER);
- ACEXML_CHECK;
- break;
- case 0:
- this->report_fatal_error (ACE_TEXT ("Unexpected EOF") ACEXML_ENV_ARG_PARAMETER);
- return;
- default: // Root element begins
- prolog_done = 1;
- break;
- }
- }
-
- // Now parse root element.
- this->parse_element (1 ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK;
-
- this->content_handler_->endDocument (ACEXML_ENV_SINGLE_ARG_PARAMETER);
- ACEXML_CHECK;
-
- // Reset the Locator held within the parser
- this->locator_.reset();
-}
-
-void
-ACEXML_Parser::parse (const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // @@ Not implemented.
- ACE_UNUSED_ARG (systemId);
-
- ACEXML_THROW (ACEXML_SAXNotSupportedException ());
-}
-
-
-void
-ACEXML_Parser::parse_xml_prolog (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->parse_token (ACE_TEXT("<?xml")) < 0)
- {
- this->report_fatal_error(ACE_TEXT ("Invalid XMLDecl ('<?xml' ?)") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
-
- ACEXML_Char *astring;
-
- if (this->skip_whitespace (0) != 'v' // Discard whitespace
- || (this->parse_token (ACE_TEXT("ersion")) < 0)
- || this->skip_equal () != 0
- || this->get_quoted_string (astring) != 0)
- {
- this->report_fatal_error (ACE_TEXT ("Unrecognized XMLDecl ('version'?)") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
- // @@ Handle version number here.
- int xmldecl_state = 0;
- int seen_encoding = 0;
-
- while (1)
- {
- ACEXML_Char fwd = this->peek ();
- if (fwd != '?')
- {
- fwd = this->skip_whitespace (0); // Discard whitespace
- if (fwd == '?')
- {
- // Fall down to consume the '?' and wrap up the XML Decl parsing.
- }
- else if (xmldecl_state == 0 && fwd == 'e')
- {
- if ((this->parse_token (ACE_TEXT("ncoding")) == 0) &&
- this->skip_equal () == 0 &&
- this->get_quoted_string (astring) == 0)
- {
- if (seen_encoding)
- {
- this->report_fatal_error (ACE_TEXT ("Duplicate encoding defined") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
- else
- {
- seen_encoding = 1;
- if (ACE_OS::strcmp (astring,
- this->instream_->getEncoding()) != 0)
- {
- if (ACE_OS::strstr (astring,
- this->instream_->getEncoding()) != 0)
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT ("Detected Encoding is %s : Declared Encoding is %s"),
- this->instream_->getEncoding(), astring));
- this->report_fatal_error (ACE_TEXT ("Encoding declaration doesn't match detected encoding") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
- }
- }
- continue;
- }
- else
- break;
- }
- else if (xmldecl_state < 2 && fwd == 's')
- {
- if ((this->parse_token (ACE_TEXT("tandalone")) == 0) &&
- this->skip_equal () == 0 &&
- this->get_quoted_string (astring) == 0)
- {
- xmldecl_state = 2;
- if (ACE_OS::strcmp (astring, ACE_TEXT ("yes")) == 0)
- {
- // @@ This is a standalone XML file.
- continue;
- }
- else if (ACE_OS::strcmp (astring, ACE_TEXT ("no")) == 0)
- {
- // @@ This is not a stand alone XML file.
- continue;
- }
- }
- break;
- }
- else
- break;
- }
- if (this->parse_token (ACE_TEXT ("?>")) < 0)
- break;
- return;
- } // End parsing XML Decl.
- this->report_fatal_error (ACE_TEXT ("Unrecognized XML Decl ('standalone'?)") ACEXML_ENV_ARG_PARAMETER);
- return;
-}
-
-int
-ACEXML_Parser::grok_comment (void)
-{
- /// Simply filter out all the comment
- int state = 0;
-
- if (this->get () != '-' || // Skip the opening "<!--"
- this->get () != '-' || // completely.
- this->get () == '-') // and at least something not '-'.
- return -1;
-
- while (state < 3)
- // Waiting for the trailing three character '-->'. Notice that
- // according to the spec, '--->' is not a valid closing comment
- // sequence. But we'll let it pass anyway.
- {
- ACEXML_Char fwd = this->get ();
- if ((fwd == '-' && state < 2) ||
- (fwd == '>' && state == 2))
- state += 1;
- else
- state = 0; // Reset parse state.
- }
- return 0;
-}
-
-int
-ACEXML_Parser::parse_processing_instruction (ACEXML_ENV_SINGLE_ARG_DECL)
-{
- if (this->get () != '?')
- { // How did we get here?
- this->report_fatal_error(ACE_TEXT ("Internal error") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- const ACEXML_Char *pitarget = this->read_name ();
- ACEXML_Char *instruction = 0;
-
- if (ACE_OS::strcasecmp (ACE_TEXT ("xml"), pitarget) != 0)
- {
- // Invalid PITarget name.
- this->report_fatal_error(ACE_TEXT ("PITarget name cannot start with 'xml'") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- int state = 0;
- ACEXML_Char ch = this->skip_whitespace (0);
-
- while (state < 2)
- {
- switch (ch)
- {
- case '?':
- if (state == 0)
- state = 1;
- break;
- case '>':
- if (state == 1)
- {
- instruction = this->obstack_.freeze ();
- this->content_handler_->processingInstruction (pitarget,
- instruction ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK_RETURN (-1);
- this->obstack_.unwind (ACE_const_cast (ACEXML_Char*, pitarget));
- return 0;
- }
- break;
- case 0x0D: // End-of-Line handling
- ch = (this->peek () == 0x0A ? this->get () : 0x0A);
- // Fall thru...
- case 0x0A:
- // Fall thru...
- default:
- if (state == 1)
- this->obstack_.grow ('?');
- this->obstack_.grow (ch);
- state = 0;
- }
- ch = this->get ();
- }
- return -1;
-}
-
-int
-ACEXML_Parser::parse_doctypedecl (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- if (this->parse_token (ACE_TEXT ("DOCTYPE")) < 0)
- {
- this->report_fatal_error(ACE_TEXT ("Expecting keyword 'DOCTYPE'") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- ACEXML_Char nextch = this->skip_whitespace (0);
- if (nextch == 0)
- {
- this->report_fatal_error(ACE_TEXT ("Expecting a DOCTYPE name") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- this->doctype_ = this->read_name (nextch);
-
- this->skip_whitespace_count (&nextch);
-
- if (nextch == 'S' || nextch == 'P') // ExternalID defined
- {
- this->parse_external_id_and_ref (this->dtd_public_,
- this->dtd_system_
- ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK_RETURN (-1);
-// if (this->dtd_public_ == 0)
-// ACE_DEBUG ((LM_DEBUG,
-// ACE_TEXT ("ACEXML Parser got external DTD id: SYSTEM %s\n"),
-// this->dtd_system_));
-// else
-// ACE_DEBUG ((LM_DEBUG,
-// ACE_TEXT ("ACEXML Parser got DTD external id: PUBLIC %s %s\n"),
-// this->dtd_public_, this->dtd_system_));
- }
-
- nextch = this->skip_whitespace (0);
- switch (nextch)
- {
- case '[': // Internal DTD definition
- if (this->parse_internal_dtd (ACEXML_ENV_SINGLE_ARG_PARAMETER) < 0)
- return -1; // Error in markupdecl
- break;
- case '>': // End of DTD definition
- // this is an XML document without a dectypedecl.
- return 0;
- case '0':
- this->report_fatal_error (ACE_TEXT ("Unexpected EOF") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- default:
- break;
- }
-
- if (this->skip_whitespace (0) != '>')
- {
- this->report_fatal_error(ACE_TEXT ("Internal error") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- return 0;
-}
-
-void
-ACEXML_Parser::parse_element (int is_root ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- // Parse STag.
- const ACEXML_Char *startname = this->read_name ();
- if (startname == 0)
- {
- this->report_fatal_error (ACE_TEXT ("Unexpected EOF") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
- if (is_root && this->doctype_ != 0
- && ACE_OS::strcmp (startname, this->doctype_) != 0)
- {
- this->report_fatal_error (ACE_TEXT ("Root element missing") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
- ACEXML_AttributesImpl attributes;
- ACEXML_Char ch;
- int new_namespace = 0;
- const ACEXML_Char *endname = 0;
- const ACEXML_Char *ns_uri, *ns_lname; // namespace URI and localName
- ACEXML_Char* prefix = 0;
- ACEXML_Char* name = 0;
- for (int start_element_done = 0; start_element_done == 0;)
- {
- ch = this->skip_whitespace (0);
-
- switch (ch)
- {
- case 0:
- this->report_fatal_error(ACE_TEXT ("Internal error") ACEXML_ENV_ARG_PARAMETER);
- return;
- case '/':
- if (this->get () != '>')
- {
- this->report_fatal_error(ACE_TEXT ("Expecting '>'") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
- else
- {
- this->xml_namespace_.processName(startname, ns_uri, ns_lname, 0);
- prefix = ACE_const_cast (ACEXML_Char*,
- this->xml_namespace_.getPrefix(ns_uri));
- this->report_prefix_mapping (prefix, ns_uri, ns_lname, 1 ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK;
- this->content_handler_->startElement (ns_uri, ns_lname,
- startname, &attributes ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK;
- this->content_handler_->endElement (ns_uri, ns_lname, startname ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK;
- this->report_prefix_mapping (prefix, ns_uri, ns_lname, 0 ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK;
- }
- if (new_namespace != 0)
- this->xml_namespace_.popContext ();
- return;
-
- case '>':
- {
- this->xml_namespace_.processName (startname, ns_uri, ns_lname, 0);
- prefix = ACE_const_cast (ACEXML_Char*,
- this->xml_namespace_.getPrefix (ns_uri));
- this->report_prefix_mapping (prefix, ns_uri, ns_lname, 1 ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK;
- this->content_handler_->startElement (ns_uri, ns_lname, startname,
- &attributes ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK;
- start_element_done = 1;
- break;
- }
- default:
- ACEXML_Char *attvalue = 0;
- ACEXML_Char *attname = this->read_name (ch);
-
- if (attname == 0 ||
- this->skip_equal () != 0 ||
- this->get_quoted_string (attvalue) != 0)
- {
- this->report_fatal_error(ACE_TEXT ("Error reading attribute") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
-
- // Handling new namespace if any. Notice that the order of
- // namespace declaration does matter.
- if (ACE_OS::strncmp (attname, ACE_TEXT("xmlns"), 5) == 0)
- {
- if (this->namespaces_)
- {
- if (new_namespace == 0)
- {
- this->xml_namespace_.pushContext ();
- new_namespace = 1;
- }
- name = ACE_OS::strchr (attname, ':');
- const ACEXML_Char* ns_name = (name == 0)?empty_string:name+1;
- if (this->xml_namespace_.declarePrefix (ns_name,
- attvalue) == -1)
- {
- this->report_fatal_error(ACE_TEXT ("Duplicate namespace prefix") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
- }
- if (this->namespace_prefixes_)
- {
- // Namespace_prefixes_feature_ is required. So add the
- // xmlns:foo to the list of attributes.
- if (attributes.addAttribute (0, 0, attname,
- default_attribute_type,
- attvalue) == -1)
- {
- this->report_fatal_error(ACE_TEXT ("Duplicate attribute found") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
- }
- if (!this->namespaces_ && !this->namespace_prefixes_)
- {
- this->report_fatal_error(ACE_TEXT ("Both namespaces feature and namespace_prefixes feature are false. Illegal Mode") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
- }
- else
- {
- const ACEXML_Char *uri, *lName;
- this->xml_namespace_.processName (attname, uri, lName, 1);
- if (attributes.addAttribute (uri, lName, attname,
- default_attribute_type,
- attvalue) == -1)
- {
- this->report_fatal_error(ACE_TEXT ("Duplicate attribute found") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
- }
- break;
- }
- }
- ACEXML_Char *cdata;
- size_t cdata_length = 0;
-
- // Parse element contents.
- while (1)
- {
- ACEXML_Char ch = this->get ();
-
- switch (ch)
- {
- case 0:
- this->report_fatal_error(ACE_TEXT ("Internal error") ACEXML_ENV_ARG_PARAMETER);
- return;
- case '<':
- // Push out old 'characters' event.
- if (cdata_length != 0)
- {
- cdata = this->obstack_.freeze ();
- this->content_handler_->characters (cdata, 0, cdata_length ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK;
- this->obstack_.unwind (cdata);
- cdata_length = 0;
- }
-
- switch (this->peek ())
- {
- case '!': // a comment or a CDATA section.
- this->get (); // consume '!'
- ch = this->peek ();
- if (ch == '-') // a comment
- {
- if (this->grok_comment () < 0)
- {
- this->report_fatal_error(ACE_TEXT ("Error parsing comment") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
- }
- else if (ch == '[') // a CDATA section.
- {
- this->parse_cdata (ACEXML_ENV_SINGLE_ARG_PARAMETER);
- ACEXML_CHECK;
- }
- else
- {
- this->report_fatal_error(ACE_TEXT ("Unexpected character") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
- break;
- case '?': // a PI.
- this->parse_processing_instruction (ACEXML_ENV_SINGLE_ARG_PARAMETER);
- ACEXML_CHECK;
- break;
- case '/': // an ETag.
- {
- this->get (); // consume '/'
- endname = this->read_name ();
- if (endname == 0 ||
- ACE_OS::strcmp (startname, endname) != 0)
- {
- this->report_fatal_error(ACE_TEXT ("Mismatched End-tag encountered") ACEXML_ENV_ARG_PARAMETER);
- return ;
- }
- if (this->skip_whitespace (0) != '>')
- {
- this->report_fatal_error(ACE_TEXT ("Expecting '>' in an end-tag") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
- this->content_handler_->endElement (ns_uri, ns_lname, endname ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK;
- prefix = ACE_const_cast (ACEXML_Char*,
- this->xml_namespace_.getPrefix(ns_uri));
- this->report_prefix_mapping (prefix, ns_uri, ns_lname, 0 ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK;
- if (new_namespace != 0)
- this->xml_namespace_.popContext ();
- return;
- }
- default: // a new nested element?
- this->parse_element (0 ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK;
- break;
- }
- break;
- case '&':
- {
- const ACEXML_String *replace = 0;
- ACEXML_String charval;
- ACEXML_Char buffer[6];
-
- if (this->peek () == '#')
- {
- if (this->parse_char_reference (buffer, 6) != 0)
- {
- // not referring to any character exception?
- return;
- }
- charval.set (buffer, 0);
- replace = &charval;
- }
- else
- replace = this->parse_reference ();
-
- if (replace == 0)
- {
- this->report_fatal_error(ACE_TEXT ("Internal error") ACEXML_ENV_ARG_PARAMETER);
- return;
- }
-// if (this->try_grow_cdata (replace->length (),
-// cdata_length, xmlenv) == 0)
-// {
- cdata_length += replace->length ();
- for (size_t i = 0; i < replace->length (); ++i)
- this->obstack_.grow ((*replace)[i]);
-// }
-// else
-// return;
- }
- break;
- case 0x0D: // End-of-Line handling
- ch = (this->peek () == 0x0A ? this->get () : 0x0A);
- // Fall thru...
- case 0x0A:
- // Fall thru...
- default:
- ++cdata_length;
- cdata = this->obstack_.grow (ch);
- if (cdata == 0)
- {
- cdata = this->obstack_.freeze ();
- this->content_handler_->characters (cdata,
- 0,
- cdata_length ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK;
- this->obstack_.grow (ch);
- cdata_length = 1; // the missing char.
- }
- }
- }
- ACE_NOTREACHED (return;)
-}
-
-int
-ACEXML_Parser::parse_char_reference (ACEXML_Char *buf, size_t len)
-{
- if (this->get () != '#')
- {
- // Internal error.
- return -1;
- }
-
- int hex = 0;
-
- if (this->peek () == 'x')
- {
- hex = 1;
- this->get ();
- }
-
- int more_digit = 0;
- ACEXML_UCS4 sum = 0;
-
- while (1)
- {
- ACEXML_Char ch = this->get ();
- switch (ch)
- {
- case '0':
- case '1':
- case '2':
- case '3':
- case '4':
- case '5':
- case '6':
- case '7':
- case '8':
- case '9':
- sum = sum * (hex ? 16 : 10) + (ch - '0');
- break;
- case 'a':
- case 'A':
- if (!hex)
- return -1;
- sum = sum * 16 + 10;
- break;
- case 'b':
- case 'B':
- if (!hex)
- return -1;
- sum = sum * 16 + 11;
- break;
- case 'c':
- case 'C':
- if (!hex)
- return -1;
- sum = sum * 16 + 12;
- break;
- case 'd':
- case 'D':
- if (!hex)
- return -1;
- sum = sum * 16 + 13;
- break;
- case 'e':
- case 'E':
- if (!hex)
- return -1;
- sum = sum * 16 + 14;
- break;
- case 'f':
- case 'F':
- if (!hex)
- return -1;
- sum = sum * 16 + 15;
- break;
- case ';':
- if (more_digit == 0) // no digit exist???
- return -1;
- int clen;
-#if defined (ACE_USES_WCHAR) // UTF-16
- if ((clen = ACEXML_Transcoder::ucs42utf16 (sum, buf, len)) < 0)
- return -1;
-
-#elif 1 // or UTF-8
- if ((clen = ACEXML_Transcoder::ucs42utf8 (sum, buf, len)) < 0)
- return -1;
- // #elif 0 // UCS 4, not likely
- // buf [0] = sum;
- // buf [1] = 0;
-#endif
- buf [clen] = 0;
- return 0;
- default:
- return -1;
- }
- more_digit = 1;
- }
- ACE_NOTREACHED (return -1);
-}
-
-const ACEXML_String *
-ACEXML_Parser::parse_reference (void)
-{
- // @@ We'll use a temporary buffer here as the Obstack is most likely in
- // use when we are here. This puts a limit on the max length of a
- // reference.
- ACEXML_Char ref[MAXPATHLEN];
-
- size_t loc = 0;
-
- while (loc < MAXPATHLEN -1)
- {
- ACEXML_Char ch = this->get ();
- if (ch == ';')
- {
- ref[loc] = 0;
- break;
- }
- else
- ref[loc++] = ch;
- }
-
- return this->entities_.resolve_entity (ref);
-}
-
-int
-ACEXML_Parser::parse_cdata (ACEXML_ENV_SINGLE_ARG_DECL)
-{
- if (this->parse_token (ACE_TEXT ("[CDATA[")) < 0)
- {
- this->report_fatal_error(ACE_TEXT ("'[CDATA[' expected") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- int parse_state = 0;
- size_t datalen = 0;
-
- while (1)
- {
- ACEXML_Char ch;
- ACEXML_Char *cdata;
-
- ch = this->get ();
- // Anything goes except the sequence "]]>".
- switch (parse_state)
- {
- case 2:
- if (ch == ']')
- {
- parse_state = 3;
- continue;
- }
- break;
- case 3:
- if (ch == '>') // Yay!
- {
- cdata = this->obstack_.freeze ();
- this->content_handler_->characters (cdata,
- 0,
- datalen ACEXML_ENV_ARG_PARAMETER);
- // ACEXML_CHECK_RETURN (-1);
- this->obstack_.unwind(cdata);
- return 0;
- }
- break;
- default:
- if (ch == ']')
- {
- parse_state = 2;
- continue;
- }
- else
- parse_state = 1;
- }
- while (parse_state > 0)
- {
- if (this->try_grow_cdata (1, datalen ACEXML_ENV_ARG_PARAMETER) < 0)
- return -1;
-
- if (parse_state != 1)
- this->obstack_.grow (']');
- else
- {
- if (ch == 0x0D)
- ch = (this->peek () == 0x0A ? this->get () : 0x0A);
- this->obstack_.grow (ch);
- }
- ++datalen;
- --parse_state;
- }
- };
- ACE_NOTREACHED (return -1);
-}
-
-int
-ACEXML_Parser::try_grow_cdata (size_t size, size_t &len ACEXML_ENV_ARG_DECL)
-{
- if (this->obstack_.request (size) != 0)
- {
- if (len != 0)
- {
- ACEXML_Char *cdata = this->obstack_.freeze ();
- if (cdata == 0)
- {
- this->report_fatal_error(ACE_TEXT ("Internal Error growing CDATA buffer") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- this->content_handler_->characters (cdata,
- 0,
- len ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK_RETURN (-1);
- len = 0; // reset counter
- if (this->obstack_.request (size) == 0)
- return 0;
- }
- this->report_fatal_error(ACE_TEXT ("Internal Error, buffer overflowed") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- return 0;
-}
-
-
-int
-ACEXML_Parser::parse_internal_dtd (ACEXML_ENV_SINGLE_ARG_DECL)
-{
- ACEXML_Char nextch = this->skip_whitespace (0);
-
- do {
- switch (nextch)
- {
- case '<': // Start of markup Decl.
- nextch = this->peek ();
- switch (nextch)
- {
- case '!':
- this->get (); // Discard '!'
- nextch = this->peek ();
- switch (nextch)
- {
- case 'E': // An ELEMENT or ENTITY decl
- this->get ();
- nextch = this->peek ();
- switch (nextch)
- {
- case 'L':
- if (this->parse_element_decl (ACEXML_ENV_SINGLE_ARG_PARAMETER) < 0)
- return -1;
- break;
-
- case 'N':
- if (this->parse_entity_decl (ACEXML_ENV_SINGLE_ARG_PARAMETER) < 0)
- return -1;
- break;
-
- default:
- this->report_fatal_error(ACE_TEXT ("Invalid keyword in decl spec") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- break;
-
- case 'A': // An ATTLIST decl
- if (this->parse_attlist_decl (ACEXML_ENV_SINGLE_ARG_PARAMETER) < 0)
- return -1;
- break;
-
- case 'N': // A NOTATION decl
- if (this->parse_notation_decl (ACEXML_ENV_SINGLE_ARG_PARAMETER) < 0)
- return -1;
- break;
-
- case '-': // a comment.
- if (this->grok_comment () < 0)
- {
- this->report_fatal_error(ACE_TEXT ("Error parsing comment") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- break;
- case 0:
- this->report_fatal_error (ACE_TEXT ("Unexpected EOF") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- default:
- this->report_fatal_error (ACE_TEXT ("Invalid char. follows '<!' in markupdecl") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- break;
-
- case '?': // PI
- this->parse_processing_instruction (ACEXML_ENV_SINGLE_ARG_PARAMETER);
- ACEXML_CHECK_RETURN (-1);
- break;
-
- case 0:
- this->report_fatal_error (ACE_TEXT ("Unexpected EOF") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- default:
- this->report_fatal_error (ACE_TEXT ("Invalid char. follows '<!' in markupdecl") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- break;
-
- case '%': // DeclSep. Define new PEreference...
- break;
-
- case ']': // End of internal definitions.
- return 0; // Not applicable when parsing external DTD spec.
-
- case 0: // This may not be an error if we decide
- // to generalize this function to handle both
- // internal and external DTD definitions.
- this->report_fatal_error (ACE_TEXT ("Unexpected EOF") ACEXML_ENV_ARG_PARAMETER);
- return -1;
-
- default:
- this->report_fatal_error (ACE_TEXT ("Expecting markupdecl or DecSep") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- };
-
- // To fully conform with the spec., whitespaces are only allowed
- // following a 'DeclSep' section. However, I found it
- // hard/impossible to eliminate all the whitespaces between
- // markupdecls.
-
- nextch = this->skip_whitespace (0);
-
- } while (1);
-
- ACE_NOTREACHED (return -1);
-}
-
-int
-ACEXML_Parser::parse_element_decl (ACEXML_ENV_SINGLE_ARG_DECL)
-{
- if ((this->parse_token (ACE_TEXT ("LEMENT")) < 0) ||
- this->skip_whitespace_count () == 0)
- {
- this->report_fatal_error (ACE_TEXT ("Expecting keyword `ELEMENT'") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- ACEXML_Char *element_name = this->read_name ();
- if (element_name == 0)
- {
- this->report_fatal_error (ACE_TEXT ("Error reading element name while defining ELEMENT.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- ACEXML_Char nextch ;
- this->skip_whitespace_count (&nextch);
-
- switch (nextch)
- {
- case 'E': // EMPTY
- if (this->parse_token (ACE_TEXT ("EMPTY")) < 0)
- {
- this->report_fatal_error (ACE_TEXT ("Expecting keyword `EMPTY' in ELEMENT definition.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- break;
- case 'A': // ANY
- if (this->parse_token (ACE_TEXT ("ANY")) < 0)
- {
- this->report_fatal_error (ACE_TEXT ("Expecting keyword `ANY' in ELEMENT definition.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- break;
- case '(': // children
- this->parse_children_definition (ACEXML_ENV_SINGLE_ARG_PARAMETER);
- ACEXML_CHECK_RETURN (-1);
- break;
- default: // error
- this->report_fatal_error (ACE_TEXT ("Error reading ELEMENT definition.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- if (this->skip_whitespace (0) != '>')
- {
- this->report_fatal_error (ACE_TEXT ("Expecting '>' in ELEMENT definition.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- return 0;
-}
-
-int
-ACEXML_Parser::parse_entity_decl (ACEXML_ENV_SINGLE_ARG_DECL)
-{
- ACEXML_Char nextch;
-
- if ((this->parse_token (ACE_TEXT ("NTITY")) < 0) ||
- this->skip_whitespace_count (&nextch) == 0)
- {
- this->report_fatal_error (ACE_TEXT ("Expecting keyword `ENTITY'") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- int is_GEDecl = 1;
- if (nextch == '%') // This is a PEDecl.
- {
- is_GEDecl = 0;
- this->get (); // consume the '%'
- if (this->skip_whitespace_count (&nextch) == 0)
- {
- this->report_fatal_error (ACE_TEXT ("Can't use a reference when defining entity name") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- }
-
- ACEXML_Char *entity_name = this->read_name ();
- if (entity_name == 0)
- {
- this->report_fatal_error (ACE_TEXT ("Error reading ENTITY name.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- this->skip_whitespace_count (&nextch);
-
- if (nextch == '\'' || nextch == '"')
- {
- ACEXML_Char *entity_value = 0;
-
- if (this->get_quoted_string (entity_value) != 0)
- {
- this->report_fatal_error(ACE_TEXT("Error reading ENTITY value.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- if (is_GEDecl)
- {
- if (this->entities_.add_entity (entity_name, entity_value) != 0)
- {
- this->report_fatal_error(ACE_TEXT("Error storing entity definition (duplicate definition?)") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- }
- else
- {
- // @@ need to implement PEdecl lookup mechanism
- ACEXML_THROW_RETURN (ACEXML_SAXNotSupportedException (), -1);
- }
- }
- else
- {
- ACEXML_Char *systemid, *publicid;
-
- this->parse_external_id_and_ref (publicid, systemid ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK_RETURN (-1);
- if (systemid == 0)
- {
- this->report_fatal_error(ACE_TEXT("Invalid ExternalID definition (system ID missing.)") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- this->skip_whitespace_count (&nextch);
- if (nextch == 'N') // NDATA section followed
- {
- if (is_GEDecl == 0)
- {
- this->report_fatal_error(ACE_TEXT("Unexpected keyword NDATA in PEDecl.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- if ((this->parse_token (ACE_TEXT ("NDATA")) < 0) ||
- this->skip_whitespace_count (&nextch) == 0)
- {
- this->report_fatal_error(ACE_TEXT("Expecting keyword NDATA") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- ACEXML_Char *ndata = this->read_name ();
- this->dtd_handler_->unparsedEntityDecl (entity_name,
- publicid,
- systemid,
- ndata ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK_RETURN (-1);
- }
- else
- {
- // @@ Need to support external CharStream sources
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("ENTITY: (%s) "),
- entity_name));
-
- if (publicid == 0)
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("SYSTEM %s\n"),
- systemid));
- else
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("PUBLIC %s %s\n"),
- publicid, systemid));
- }
- }
-
- // End of ENTITY definition
- if (this->skip_whitespace (0) != '>')
- {
- this->report_fatal_error(ACE_TEXT("Expecting end of ENTITY definition.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- return 0;
-}
-
-int
-ACEXML_Parser::parse_attlist_decl (ACEXML_ENV_SINGLE_ARG_DECL)
-{
- if ((this->parse_token (ACE_TEXT ("ATTLIST")) < 0) ||
- this->skip_whitespace_count () == 0)
- {
- this->report_fatal_error(ACE_TEXT("Expecting keyword `ATTLIST'") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- ACEXML_Char *element_name = this->read_name ();
- if (element_name == 0)
- {
- this->report_fatal_error(ACE_TEXT("Error reading element name while defining ATTLIST.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- ACEXML_Char nextch = this->skip_whitespace (0);
-
- // Parse AttDef*
- while (nextch != '>')
- {
- // Parse attribute name
- ACEXML_Char *att_name = this->read_name (nextch);
- if (att_name == 0)
- {
- this->report_fatal_error(ACE_TEXT("Error reading attribute name while defining ATTLIST.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- /*
- Parse AttType:
- Possible keywords:
- CDATA // StringType
- ID // TokenizedType
- IDREF
- IDREFS
- ENTITY
- ENTITIES
- NMTOKEN
- NMTOKENS
- NOTATION // EnumeratedType - NotationTYpe
- ( // EnumeratedType - Enumeration
- */
- nextch = this->skip_whitespace (0);
- switch (nextch)
- {
- case 'C': // CDATA
- if ((this->parse_token (ACE_TEXT ("DATA")) < 0) ||
- this->skip_whitespace_count () == 0)
- {
- this->report_fatal_error(ACE_TEXT("Expecting keyword `CDATA' while defining ATTLIST.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- // Else, we have successfully identified the type of the
- // attribute as CDATA
- // @@ Set up validator appropriately here.
- break;
- case 'I': // ID, IDREF, or, IDREFS
- if (this->get () == 'D')
- {
- if (this->skip_whitespace_count (&nextch) > 0)
- {
- // We have successfully identified the type of the
- // attribute as ID @@ Set up validator as such.
- break;
- }
- if (this->parse_token (ACE_TEXT ("REF")) == 0)
- {
- if (this->skip_whitespace_count (&nextch) > 0)
- {
- // We have successfully identified the type of
- // the attribute as IDREF
- // @@ Set up validator as such.
- break;
- }
- else if (nextch == 'S' &&
- this->get () && // consume the 'S'
- this->skip_whitespace_count () != 0)
- {
- // We have successfully identified the type of
- // the attribute as IDREFS
- // @@ Set up validator as such.
- break;
- }
- }
- }
- // Admittedly, this error message is not precise enough
- this->report_fatal_error(ACE_TEXT("Expecting keyword `ID', `IDREF', or `IDREFS' while defining ATTLIST.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- case 'E': // ENTITY or ENTITIES
- if (this->parse_token (ACE_TEXT ("NTIT")) == 0)
- {
- nextch = this->get ();
- if (nextch == 'Y')
- {
- // We have successfully identified the type of
- // the attribute as ENTITY
- // @@ Set up validator as such.
- }
- else if (nextch == 'I'&& this->get () == 'E' &&
- this->get () == 'S')
- {
- // We have successfully identified the type of
- // the attribute as ENTITIES
- // @@ Set up validator as such.
- }
- if (this->skip_whitespace_count () > 0)
- {
- // success
- break;
- }
- }
- // Admittedly, this error message is not precise enough
- this->report_fatal_error(ACE_TEXT("Expecting keyword `ENTITY', or `ENTITIES' while defining ATTLIST.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- case 'N': // NMTOKEN, NMTOKENS, or, NOTATION
- nextch = this->get ();
- if (nextch != 'M' || nextch != 'O')
- {
- this->report_fatal_error(ACE_TEXT("Expecting keyword `NMTOKEN', `NMTOKENS', or `NOTATION' while defining ATTLIST.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- if (nextch == 'M')
- {
- if (this->parse_token (ACE_TEXT ("TOKEN")) == 0)
- {
- if (this->skip_whitespace_count (&nextch) > 0)
- {
- // We have successfully identified the type of
- // the attribute as NMTOKEN
- // @@ Set up validator as such.
- break;
- }
- else if (nextch == 'S' && this->skip_whitespace_count () > 0)
- {
- // We have successfully identified the type of
- // the attribute as NMTOKENS
- // @@ Set up validator as such.
- break;
- }
- }
- this->report_fatal_error(ACE_TEXT("Expecting keyword `NMTOKEN' or `NMTOKENS' while defining ATTLIST.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- else // NOTATION
- {
- if ((this->parse_token (ACE_TEXT ("TATION")) < 0) ||
- this->skip_whitespace_count () == 0)
- {
- this->report_fatal_error(ACE_TEXT("Expecting keyword `NOTATION' while defining ATTLIST.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- if (this->get () != '(')
- {
- this->report_fatal_error(ACE_TEXT("Expecting `(' following NOTATION while defining ATTLIST.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- this->skip_whitespace_count ();
-
- do {
- ACEXML_Char *notation_name = this->read_name ();
- if (notation_name == 0)
- {
- this->report_fatal_error(ACE_TEXT("Error reading NOTATION name while defining ATTLIST.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- // @@ get another notation name, set up validator as such
- this->skip_whitespace_count (&nextch);
- } while (nextch != ')');
-
- this->get (); // consume the closing paren.
- this->skip_whitespace_count ();
- }
- break;
- case '(': // EnumeratedType - Enumeration
- this->skip_whitespace_count ();
-
- do {
- ACEXML_Char *token_name = this->read_name (); // @@ need a special read_nmtoken?
- if (token_name == 0)
- {
- this->report_fatal_error(ACE_TEXT("Error reading enumerated nmtoken name while defining ATTLIST.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- // @@ get another nmtoken, set up validator as such
- this->skip_whitespace_count (&nextch);
- } while (nextch != ')');
-
- this->get (); // consume the closing paren.
- this->skip_whitespace_count ();
- break;
- default:
- {
- this->report_fatal_error(ACE_TEXT("Invalid Attribute Type while defining ATTLIST.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- ACE_NOTREACHED (break);
- }
-
- /*
- Parse DefaultDecl:
- #REQUIRED
- #IMPLIED
- #FIXED
- quoted string // #FIXED
- */
- nextch = this->peek ();
- switch (nextch)
- {
- case '#':
- this->get (); // consume the '#'
- switch (this->get ())
- {
- case 'R':
- if (this->parse_token (ACE_TEXT ("EQUIRED")) < 0)
- {
- this->report_fatal_error(ACE_TEXT("Expecting keyword `#REQUIRED' while defining ATTLIST.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- // We now know this attribute is required
- // @@ Set up the validator as such.
- break;
- case 'I':
- if (this->parse_token (ACE_TEXT ("MPLIED")) < 0)
- {
- this->report_fatal_error(ACE_TEXT("Expecting keyword `#IMPLIED' while defining ATTLIST.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- // We now know this attribute is impleid.
- // @@ Set up the validator as such.
- break;
- case 'F':
- if (this->parse_token (ACE_TEXT ("IXED")) < 0 ||
- this->skip_whitespace_count () == 0)
- {
- this->report_fatal_error(ACE_TEXT("Expecting keyword `#FIXED' while defining ATTLIST.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- // We now know this attribute is fixed.
-
- ACEXML_Char *fixed_attr;
- if (this->get_quoted_string (fixed_attr) != 0)
- {
- this->report_fatal_error(ACE_TEXT("Error parsing `#FIXED' attribute value while defining ATTLIST.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- // @@ set up validator
- break;
- default:
- break;
- }
- break;
- case '\'':
- case '"':
- ACEXML_Char *fixed_attr;
- if (this->get_quoted_string (fixed_attr) != 0)
- {
- this->report_fatal_error(ACE_TEXT("Error parsing `#FIXED' attribute value while defining ATTLIST.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- // @@ set up validator
- break;
- default:
- break;
- }
- this->skip_whitespace_count (&nextch);
- }
-
- this->get (); // consume closing '>'
-
- return 0;
-}
-
-int
-ACEXML_Parser::parse_notation_decl (ACEXML_ENV_SINGLE_ARG_DECL)
-{
- if (this->parse_token (ACE_TEXT ("NOTATION")) < 0 ||
- this->skip_whitespace_count () == 0)
- {
- this->report_fatal_error(ACE_TEXT("Expecting keyword `NOTATION'") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- ACEXML_Char *notation = this->read_name ();
- if (notation == 0)
- {
- this->report_fatal_error(ACE_TEXT("Invalid notation name.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- this->skip_whitespace_count ();
- ACEXML_Char *systemid, *publicid;
-
- this->parse_external_id_and_ref (publicid, systemid ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK_RETURN (-1);
-
- if (this->get () != '>')
- {
- this->report_fatal_error(ACE_TEXT("Expecting NOTATION closing '>'.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- this->dtd_handler_->notationDecl (notation,
- publicid,
- systemid ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK_RETURN (-1);
-
- return 0;
-}
-
-int
-ACEXML_Parser::parse_external_id_and_ref (ACEXML_Char *&publicId,
- ACEXML_Char *&systemId ACEXML_ENV_ARG_DECL)
-{
- publicId = systemId = 0;
- ACEXML_Char nextch = this->get ();
-
- switch (nextch)
- {
- case 'S': // External SYSTEM id.
- if (this->parse_token (ACE_TEXT ("YSTEM")) < 0 ||
- this->skip_whitespace_count () == 0)
- {
- this->report_fatal_error(ACE_TEXT("Expecting keyword 'SYSTEM'") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- if (this->get_quoted_string (systemId) != 0)
- {
- this->report_fatal_error(ACE_TEXT("Error while parsing SYSTEM literal for SYSTEM id.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- this->locator_.setSystemId (systemId);
- break;
- case 'P': // External PUBLIC id or previously defined PUBLIC id.
- if (this->parse_token (ACE_TEXT ("UBLIC")) < 0 ||
- this->skip_whitespace_count () == 0)
- {
- this->report_fatal_error(ACE_TEXT("Expecting keyword 'PUBLIC'") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- if (this->get_quoted_string (publicId) != 0)
- {
- this->report_fatal_error(ACE_TEXT("Error while parsing public literal for PUBLIC id.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- this->locator_.setPublicId (publicId);
-
- this->skip_whitespace_count (&nextch);
- if (nextch == '\'' || nextch == '"') // not end of NOTATION yet.
- {
- if (this->get_quoted_string (systemId) != 0)
- {
- this->report_fatal_error(ACE_TEXT("Error while parsing system literal for PUBLIC id.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- this->locator_.setSystemId (systemId);
- }
- break;
- default:
- this->report_fatal_error(ACE_TEXT("Expecting either keyword `SYSTEM' or `PUBLIC'.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- return 0;
-}
-
-int
-ACEXML_Parser::parse_children_definition (ACEXML_ENV_SINGLE_ARG_DECL)
-{
- this->get (); // consume the '('
-
- ACEXML_Char nextch;
- int subelement_number = 0;
- this->skip_whitespace_count (&nextch);
-
- switch (nextch)
- {
- case '#': // Mixed element,
- if (this->parse_token (ACE_TEXT ("#PCDATA")) < 0)
- {
- this->report_fatal_error(ACE_TEXT("Expecting keyword `#PCDATA' while defining an element.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- this->skip_whitespace_count (&nextch);
-
- while (nextch != ')')
- {
- if (this->get () != '|')
- {
- this->report_fatal_error(ACE_TEXT("Expecting end of Mixed section while defining an element.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- this->skip_whitespace_count ();
-
- ACEXML_Char *name = this->read_name ();
- // @@ name will be used in the Validator later.
- ACE_UNUSED_ARG (name);
- ++subelement_number;
- // @@ Install Mixed element name into the validator.
- this->skip_whitespace_count (&nextch);
- }
-
- if (this->get () != ')' ||
- (subelement_number && this->get () != '*'))
- {
- this->report_fatal_error(ACE_TEXT("Expecting closing `)*' or ')' while defining an element.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- // @@ close the element definition in the validator.
- break;
- default:
- int status = this->parse_child (1 ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK_RETURN (-1);
- if (status != 0)
- return -1;
- }
-
- return 0;
-}
-
-int
-ACEXML_Parser::parse_child (int skip_open_paren ACEXML_ENV_ARG_DECL)
-{
- // Conditionally consume the open paren.
- if (skip_open_paren == 0 &&
- this->get () != '(')
- {
- this->report_fatal_error(ACE_TEXT("Expecting opening `(' while defining an element.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
-
- ACEXML_Char node_type = 0;
- ACEXML_Char nextch;
-
- do {
- this->skip_whitespace_count (&nextch);
- switch (nextch)
- {
- case '(':
- this->parse_child (0 ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK_RETURN (-1);
- break;
- default:
- // must be an element name here.
- ACEXML_Char *subelement = this->read_name ();
- if (subelement == 0)
- {
- this->report_fatal_error(ACE_TEXT("Error reading sub-element name while defining an element.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- // @@ Inform validator of the new element here.
- break;
- }
-
- this->skip_whitespace_count (&nextch);
- switch (nextch)
- {
- case '|':
- switch (node_type)
- {
- case 0:
- node_type = '|';
- // @@ inform validator of this new type??
- break;
- case '|':
- break;
- default:
- this->report_fatal_error(ACE_TEXT("Expecting `,', `|', or `)' while defining an element.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- break;
- case ',':
- switch (node_type)
- {
- case 0:
- node_type = ',';
- // @@ inform validator of this new type??
- break;
- case ',':
- break;
- default:
- this->report_fatal_error(ACE_TEXT("Expecting `,', `|', or `)'while defining an element.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- case ')':
- break;
- default:
- this->report_fatal_error(ACE_TEXT("Expecting `,', `|', or `)' while defining an element.") ACEXML_ENV_ARG_PARAMETER);
- return -1;
- }
- this->get (); // consume , | or )
- } while (nextch != ')');
-
- // Check for trailing '?', '*', '+'
- nextch = this->peek ();
- switch (nextch)
- {
- case '?':
- // @@ Consume the character and inform validator as such,
- this->get ();
- break;
- case '*':
- // @@ Consume the character and inform validator as such,
- this->get ();
- break;
- case '+':
- // @@ Consume the character and inform validator as such,
- this->get ();
- break;
- default:
- break; // not much to do.
- }
-
- return 0;
-}
-
-ACEXML_Char
-ACEXML_Parser::skip_whitespace (ACEXML_Char **whitespace)
-{
- ACEXML_Char ch = this->get ();
-
- if (this->is_whitespace (ch) == 0)
- {
- if (whitespace != 0)
- *whitespace = 0;
- return ch;
- }
-
- do
- {
- if (whitespace != 0)
- this->obstack_.grow (ch);
- ch = this->get ();
- }
- while (this->is_whitespace (ch));
-
- if (whitespace != 0)
- *whitespace = this->obstack_.freeze ();
-
- return ch;
-}
-
-int
-ACEXML_Parser::skip_whitespace_count (ACEXML_Char *peeky)
-{
- int wscount = 0;
- ACEXML_Char dummy;
- ACEXML_Char &forward = (peeky == 0 ? dummy : *peeky);
-
- for (;this->is_whitespace ((forward = this->peek ())); ++wscount)
- this->get ();
-
- return wscount;
-}
-
-int
-ACEXML_Parser::parse_token (const ACEXML_Char* keyword)
-{
- if (keyword == 0)
- return -1;
- const ACEXML_Char* ptr = keyword;
- ACEXML_Char ch;
- for (; *ptr != 0 && ((ch = this->get()) == *ptr); ++ptr)
- {
- // ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("ch = %c : ptr = %c"), ch, *ptr));
- }
- if (*ptr == 0)
- return 0;
- else
- return -1;
-}
-
-int
-ACEXML_Parser::skip_equal (void)
-{
- if (this->skip_whitespace (0) != '=')
- return -1;
-
- while (this->is_whitespace (this->peek ()))
- this->get ();
- return 0;
-}
-
-int
-ACEXML_Parser::get_quoted_string (ACEXML_Char *&str)
-{
- ACEXML_Char quote = this->get ();
- if (quote != '\'' && quote != '"') // Not a quoted string.
- return -1;
-
- while (1)
- {
- ACEXML_Char ch = this->get ();
-
- // @@ Deoes not handle buffer overflow yet.
- if (ch == quote)
- {
- str = this->obstack_.freeze ();
- return 0;
- }
-
- const ACEXML_String *replace = 0;
- ACEXML_String charval;
- ACEXML_Char buffer[6];
- size_t i = 0;
-
- switch (ch)
- {
- case '&':
- if (this->peek () == '#')
- {
- if (this->parse_char_reference (buffer, 6) != 0)
- {
-// xmlenv.exception (new ACEXML_SAXParseException
-// (ACE_TEXT ("CharRef does not resolves to a valid character")));
- return -1;
- }
- charval.set (buffer, 0);
- replace = &charval;
- }
- else
- replace = this->parse_reference ();
-
- if (replace == 0)
- {
- // xmlenv.exception (new ACEXML_SAXParseException
- // (ACE_TEXT ("Undefined reference")));
- return -1;
- }
- for (i = 0; i < replace->length (); ++i)
- this->obstack_.grow ((*replace)[i]);
- // handle reference here.
- break;
- case 0x0D: // End-of-Line handling
- ch = (this->peek () == 0x0A ? this->get () : 0x0A);
- // Fall thru...
- case 0x0A:
- // Fall thru...
- default:
- this->obstack_.grow (ch);
- break;
- }
- }
-}
-
-ACEXML_Char *
-ACEXML_Parser::read_name (ACEXML_Char ch)
-{
- if (ch == 0)
- {
- ch = this->get ();
-
- if (this->is_whitespace (ch))
- // No white space is allowed here.
- return 0;
- }
- else if (this->is_nonname (ch))
- return 0;
-
- while (1)
- {
- this->obstack_.grow (ch);
- ch = this->peek ();
- if (this->is_nonname (ch))
- break;
- ch = this->get ();
- };
-
- return this->obstack_.freeze ();
-}
-
-void
-ACEXML_Parser::report_prefix_mapping (const ACEXML_Char* prefix,
- const ACEXML_Char* uri,
- const ACEXML_Char* name,
- int start ACEXML_ENV_ARG_DECL)
-{
- if (this->namespaces_)
- {
- const ACEXML_Char* temp = (name == 0) ? empty_string : prefix;
- if (start) {
- this->content_handler_->startPrefixMapping (temp, uri ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK;
- }
- else
- {
- this->content_handler_->endPrefixMapping(temp ACEXML_ENV_ARG_PARAMETER);
- ACEXML_CHECK;
- }
- }
-}
diff --git a/ACEXML/parser/parser/Parser.dsp b/ACEXML/parser/parser/Parser.dsp
deleted file mode 100644
index 838bc6d306d..00000000000
--- a/ACEXML/parser/parser/Parser.dsp
+++ /dev/null
@@ -1,125 +0,0 @@
-# Microsoft Developer Studio Project File - Name="ACEXML_Parser" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=ACEXML_Parser - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "Parser.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "Parser.mak" CFG="ACEXML_Parser - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "ACEXML_Parser - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "ACEXML_Parser - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "ACEXML_Parser - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ACEXML_PARSER_EXPORTS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ACEXML_PARSER_BUILD_DLL" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
-# ADD LINK32 ace.lib ACEXML.lib /nologo /dll /machine:I386 /out:"../../../bin/ACEXML_Parser.dll" /libpath:"../../../ace" /libpath:"../../Common"
-
-!ELSEIF "$(CFG)" == "ACEXML_Parser - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ACEXML_PARSER_EXPORTS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ACEXML_PARSER_BUILD_DLL" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib ACEXMLd.lib /nologo /dll /debug /machine:I386 /out:"../../../bin/ACEXML_Parserd.dll" /pdbtype:sept /libpath:"../../../ace" /libpath:"../../Common"
-
-!ENDIF
-
-# Begin Target
-
-# Name "ACEXML_Parser - Win32 Release"
-# Name "ACEXML_Parser - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\Entity_Manager.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Parser.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# Begin Source File
-
-SOURCE=.\Entity_Manager.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Parser.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Parser_export.h
-# End Source File
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# End Group
-# End Target
-# End Project
diff --git a/ACEXML/parser/parser/Parser.dsw b/ACEXML/parser/parser/Parser.dsw
deleted file mode 100644
index c2e1b8458e6..00000000000
--- a/ACEXML/parser/parser/Parser.dsw
+++ /dev/null
@@ -1,28 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "Parser"=.\Parser.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
diff --git a/ACEXML/parser/parser/Parser.h b/ACEXML/parser/parser/Parser.h
deleted file mode 100644
index e45e290ca79..00000000000
--- a/ACEXML/parser/parser/Parser.h
+++ /dev/null
@@ -1,516 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Parser.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-#ifndef _ACEXML_BASIC_PARSER_H_
-#define _ACEXML_BASIC_PARSER_H_
-
-#include "ace/pre.h"
-#include "ACEXML/parser/parser/Parser_export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/XMLReader.h"
-#include "ACEXML/common/LocatorImpl.h"
-#include "ACEXML/common/NamespaceSupport.h"
-#include "ACEXML/common/CharStream.h"
-#include "ace/Obstack.h"
-#include "ace/Functor.h"
-#include "ace/SString.h"
-#include "ace/Hash_Map_Manager.h"
-#include "ace/Containers_T.h"
-#include "ace/Auto_Ptr.h"
-#include "ACEXML/parser/parser/Entity_Manager.h"
-
-/**
- * @class ACEXML_Parser Parser.h "ACEXML/parser/parser/Parser.h"
- *
- * @brief A SAX based parser.
- *
- */
-class ACEXML_PARSER_Export ACEXML_Parser : public ACEXML_XMLReader
-{
-public:
- /// Default constructor.
- ACEXML_Parser (void);
-
- /// Destructor.
- virtual ~ACEXML_Parser (void);
-
- /*
- * Return the current content handler.
- */
- virtual ACEXML_ContentHandler *getContentHandler (void) const;
-
- /*
- * Return the current DTD handler.
- */
- virtual ACEXML_DTDHandler *getDTDHandler (void) const;
-
- /*
- * Return the current entity resolver.
- */
- virtual ACEXML_EntityResolver *getEntityResolver (void) const;
-
- /*
- * Return the current error handler.
- */
- virtual ACEXML_ErrorHandler *getErrorHandler (void) const;
-
- /**
- * Look up the value of a feature. This method allows
- * programmers to check whether a specific feature has been
- * activated in the parser.
- */
- virtual int getFeature (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException)) ;
-
- /**
- * Activating or deactivating a feature.
- */
- virtual void setFeature (const ACEXML_Char *name,
- int boolean_value ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException)) ;
-
- /*
- * Look up the value of a property.
- */
- virtual void * getProperty (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException)) ;
-
- /*
- * Set the value of a property.
- */
- virtual void setProperty (const ACEXML_Char *name,
- void *value ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXNotRecognizedException,
- ACEXML_SAXNotSupportedException)) ;
-
- /*
- * Parse an XML document.
- */
- virtual void parse (ACEXML_InputSource *input ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) ;
-
- /*
- * Parse an XML document from a system identifier (URI).
- */
- virtual void parse (const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /*
- * Allow an application to register a content event handler.
- */
- virtual void setContentHandler (ACEXML_ContentHandler *handler);
-
- /*
- * Allow an application to register a DTD event handler.
- */
- virtual void setDTDHandler (ACEXML_DTDHandler *handler);
-
- /*
- * Allow an application to register an entity resolver.
- */
- virtual void setEntityResolver (ACEXML_EntityResolver *resolver);
-
- /*
- * Allow an application to register an error event handler.
- */
- virtual void setErrorHandler (ACEXML_ErrorHandler *handler);
-
- // *** Helper functions for parsing XML
-
- /**
- * Skip any whitespaces encountered until the first non-whitespace
- * character is encountered and consumed from the current input
- * CharStream.
- *
- * @param whitespace Return a pointer to the string of skipped
- * whitespace after proper conversion. Null if there's no
- * whitespace found.
- *
- * @return The first none-white space characters (which will be
- * consumed from the CharStream.) If no whitespace is found, it
- * returns 0.
- *
- * @sa skip_whitespace_count
- */
- ACEXML_Char skip_whitespace (ACEXML_Char **whitespace);
-
- /**
- * Skip any whitespaces encountered until the first non-whitespace
- * character. The first non-whitespace character is not consumed.
- * This method does peek into the input CharStream and therefore
- * is more expensive than @ref skip_whitespace.
- *
- * @param peek If non-null, @a peek points to a ACEXML_Char where
- * skip_whitespace_count stores the first non-whitespace
- * character it sees (character is not removed from the stream.)
- *
- * @return The number of whitespace characters consumed.
- *
- * @sa skip_whitespace
- */
- int skip_whitespace_count (ACEXML_Char *peek = 0);
-
- /**
- * Check if a character @a c is a whitespace.
- *
- * @retval 1 if @a c is a valid white space character. 0 otherwise.
- */
- int is_whitespace (ACEXML_Char c);
-
- /**
- * Check if a character @a c is a whitespace or '='.
- *
- * @retval 1 if true, 0 otherwise.
- */
- int is_whitespace_or_equal (ACEXML_Char c);
-
- /**
- * Check if a character @a c is a valid character for nonterminal NAME.
- *
- * @retval 1 if true, 0 otherwise.
- */
- int is_nonname (ACEXML_Char c);
-
- /**
- * Skip an equal sign.
- *
- * @retval 0 when succeeds, -1 if no equal sign is found.
- */
- int skip_equal (void);
-
- /**
- * Get a quoted string. Quoted strings are used to specify
- * attribute values and this routine will replace character and
- * entity references on-the-fly. Parameter entities are not allowed
- * (or replaced) in this function. (But regular entities are.)
- *
- * @param str returns the un-quoted string.
- *
- * @retval 0 on success, -1 otherwise.
- */
- int get_quoted_string (ACEXML_Char *&str);
-
- /**
- * Parse a PI statement. The first character encountered
- * should always be '?' in the PI prefix "@<?".
- *
- * @retval 0 on success, -1 otherwise.
- */
- int parse_processing_instruction (ACEXML_ENV_SINGLE_ARG_DECL);
-
- /**
- * Skip over a comment. The first character encountered
- * should always be the first '-' in the comment prefix
- * "@<@!--".
- */
- int grok_comment ();
-
- /**
- * Read a name from the input CharStream (until white space).
- * If @a ch @!= 0, then we have already consumed the first name
- * character from the input CharStream, otherwise, read_name
- * will use this->get() to acquire the initial character.
- *
- * @return A pointer to the string in the obstack, 0 if it's not
- * a valid name.
- */
- ACEXML_Char *read_name (ACEXML_Char ch = 0);
-
- /**
- * Parse the DOCTYPE declaration. The first character encountered
- * should always be 'D' in doctype prefix: "@<@!DOCTYPE".
- */
- int parse_doctypedecl (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /**
- * Parse an XML element. The first character encountered should
- * be the first character of the element "Name".
- *
- * @param is_root If not 0, then we are expecting to see the "root"
- * element now, and the next element's name need to match the name
- * defined in DOCTYPE definition, i.e., @a this->doctype_.
- *
- * @todo Instead of simply checking for the root element based on the
- * argument @a is_root, we should instead either pass in some sort
- * of validator or allow the function to return the element name so it
- * can be used in a validator.
- */
- void parse_element (int is_root ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
- ;
-
- /**
- * Parse XML Prolog.
- */
- void parse_xml_prolog (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException));
-
-
- /**
- * Parse a character reference, i.e., "&#x20;" or "&#30;". The first
- * character encountered should be the '#' char.
- *
- * @param buf points to a character buffer for the result.
- * @param len specifies the capacities of the buffer.
- *
- * @retval 0 on success and -1 otherwise.
- */
- int parse_char_reference (ACEXML_Char *buf, size_t len);
-
- /**
- * Parse an entity reference, i.e., "&amp;". The first character
- * encountered should be the character following '&'.
- *
- * @return A pointer to the resolved const ACEXML_String if success
- * (previously defined), 0 otherwise.
- */
- const ACEXML_String *parse_reference (void);
-
- /**
- * Parse a CDATA section. The first character should always be the first
- * '[' in CDATA definition.
- *
- * @retval 0 on success.
- * @retval -1 if fail.
- */
- int parse_cdata (ACEXML_ENV_SINGLE_ARG_DECL);
-
- /**
- * Parse a "markupdecl" section, this includes both "markupdecl" and
- * "DeclSep" sections in XML specification
- */
- int parse_internal_dtd (ACEXML_ENV_SINGLE_ARG_DECL);
-
- /**
- * Parse an "ELEMENT" decl. The first character this method
- * expects is always the 'L' (the second char) in the word
- * "ELEMENT".
- *
- * @retval 0 on success, -1 otherwise.
- */
- int parse_element_decl (ACEXML_ENV_SINGLE_ARG_DECL);
-
- /**
- * Parse an "ENTITY" decl. The first character this method expects
- * is always the 'N' (the second char) in the word "ENTITY".
- *
- * @retval 0 on success, -1 otherwise.
- */
- int parse_entity_decl (ACEXML_ENV_SINGLE_ARG_DECL);
-
- /**
- * Parse an "ATTLIST" decl. Thse first character this method
- * expects is always the 'A' (the first char) in the word
- * "ATTLIST".
- *
- * @retval 0 on success, -1 otherwise.
- */
- int parse_attlist_decl (ACEXML_ENV_SINGLE_ARG_DECL);
-
- /**
- *Parse a "NOTATION" decl. The first character this method
- * expects is always the 'N' (the first char) in the word
- * "NOTATION".
- *
- * @retval 0 on success, -1 otherwise.
- */
- int parse_notation_decl (ACEXML_ENV_SINGLE_ARG_DECL);
-
- /**
- * Parse an ExternalID or a reference to PUBLIC ExternalID.
- * Possible cases are in the forms of: <code>
- *
- * SYSTEM 'quoted string representing system resource'
- * PUBLIC 'quoted name of public ID' 'quoted resource'
- * PUBLIC 'quoted name we are referring to'
- * </code>
- *
- * The first character this function sees must be either 'S' or 'P'.
- * When the function finishes parsing, the input stream points
- * at the first non-whitespace character.
- *
- * @param publicId returns the unquoted publicId read. If none
- * is available, it will be reset to 0.
- * @param systemId returns the unquoted systemId read. If none
- * is available, it will be reset to 0.
- *
- * @retval 0 on success, -1 otherwise.
- */
- int parse_external_id_and_ref (ACEXML_Char *&publicId,
- ACEXML_Char *&systemId ACEXML_ENV_ARG_DECL);
-
- /**
- * Parse the "children" and "Mixed" non-terminals in contentspec.
- *
- * The first character this function sees must be the first
- * open paren '(' in children.
- *
- * @retval 0 on success, -1 otherwise.
- */
- int parse_children_definition (ACEXML_ENV_SINGLE_ARG_DECL);
-
- /**
- * Parse a @c cp non-terminal. @c cp can either be a @c seq or a @c choice.
- * This function calls itself recursively.
- *
- * @param skip_open_paren when non-zero, it indicates that the open paren of
- * the @c seq or @c choice has already been removed from the input
- * stream.
- *
- * @retval 0 on success, -1 otherwise.
- */
- int parse_child (int skip_open_paren ACEXML_ENV_ARG_DECL);
-
-protected:
- /// Get a character.
- ACEXML_Char get (void);
-
- /// Peek a character.
- ACEXML_Char peek (void);
-
- /**
- * Check if more data can be added to a character buffer in obstack.
- * If not, the existing data in the buffer will be cleared out by
- * freezing the segment and pass it out thru a content_handler_->characters ()
- * call. @a counter records the length of the existing data in
- * obstack.
- */
- int try_grow_cdata (size_t size, size_t &len ACEXML_ENV_ARG_DECL);
-
- // Feature names:
-
- /**
- * \addtogroup acexml_parser_features
- * @{
- */
-
- /**
- * @var simple_parsing_feature_
- *
- * This constant string defines the name of "simple XML parsing"
- * feature. When this feature is enabled, ACEXML parser is allowed
- * to parse a simple XML stream without mandated XML prolog
- * and no DTD defintion.
- */
- static const ACEXML_Char simple_parsing_feature_[];
-
- /**
- * @var namespaces_feature_
- *
- * This constant string defines the SAX XML Namespace feature. When this
- * feature is enabled, ACEXML parser allows access by namespace qualified
- * names.
- */
- static const ACEXML_Char namespaces_feature_[];
-
- /**
- * @var namespace_prefixes_feature_
- *
- * This constant string defines the SAX XML Namespace prefixes feature.
- * Normally the list of attributes returned by the parser will not
- * contain attributes used as namespace declarations (xmlns*). When this
- * feature is enabled, the list of attributes contains the namespace
- * declarations also.
- */
- static const ACEXML_Char namespace_prefixes_feature_[];
-
- /* @} */
-
-private:
- /**
- * Dispatch errors to ErrorHandler.
- *
- */
- void report_error (const ACEXML_Char* message ACEXML_ENV_ARG_DECL);
-
- /**
- * Dispatch warnings to ErrorHandler.
- *
- */
- void report_warning (const ACEXML_Char* message ACEXML_ENV_ARG_DECL);
-
- /**
- * Dispatch fatal errors to ErrorHandler.
- *
- */
- void report_fatal_error (const ACEXML_Char* message ACEXML_ENV_ARG_DECL);
-
- /**
- * Dispatch prefix mapping calls to the ContentHandler.
- *
- * @param prefix Namespace prefix
- * @param uri Namespace URI
- * @param name Local name
- * @param start 1 => startPrefixMapping 0 => endPrefixMapping
- */
- void report_prefix_mapping (const ACEXML_Char* prefix,
- const ACEXML_Char* uri,
- const ACEXML_Char* name,
- int start ACEXML_ENV_ARG_DECL);
- /**
- * Parse a keyword.
- */
- int parse_token (const ACEXML_Char* keyword);
-
- /// Keeping track of the handlers. We do not manage the memory for
- /// handlers.
- ACEXML_DTDHandler *dtd_handler_;
- ACEXML_EntityResolver *entity_resolver_;
- ACEXML_ContentHandler *content_handler_;
- ACEXML_ErrorHandler *error_handler_;
-
- /// @@ Feature and properties management structure here.
- /// Current input char stream.
- ACEXML_CharStream *instream_;
-
- /// My doctype, if any.
- ACEXML_Char *doctype_;
-
- /// External DTD System Literal, if any.
- ACEXML_Char *dtd_system_;
-
- /// External DTD Public Literal, if any.
- ACEXML_Char *dtd_public_;
-
- ACE_Obstack_T<ACEXML_Char> obstack_;
-
- ACEXML_NamespaceSupport xml_namespace_;
-
- ACEXML_Entity_Manager entities_;
-
- // Locator
- ACEXML_LocatorImpl locator_;
-
- // Feature flags &
- int simple_parsing_;
- int namespaces_;
- int namespace_prefixes_;
-
-};
-
-#if defined (__ACEXML_INLINE__)
-# include "ACEXML/parser/parser/Parser.i"
-#endif /* __ACEXML_INLINE__ */
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_BASIC_PARSER_H_ */
diff --git a/ACEXML/parser/parser/Parser.i b/ACEXML/parser/parser/Parser.i
deleted file mode 100644
index c346c99471d..00000000000
--- a/ACEXML/parser/parser/Parser.i
+++ /dev/null
@@ -1,140 +0,0 @@
-//=============================================================================
-/**
- * @file Parser.i
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-ACEXML_INLINE ACEXML_ContentHandler *
-ACEXML_Parser::getContentHandler (void) const
-{
- return this->content_handler_;
-}
-
-ACEXML_INLINE ACEXML_DTDHandler *
-ACEXML_Parser::getDTDHandler (void) const
-{
- return this->dtd_handler_;
-}
-
-ACEXML_INLINE ACEXML_EntityResolver *
-ACEXML_Parser::getEntityResolver (void) const
-{
- return this->entity_resolver_;
-}
-
-ACEXML_INLINE ACEXML_ErrorHandler *
-ACEXML_Parser::getErrorHandler (void) const
-{
- return this->error_handler_;
-}
-
-ACEXML_INLINE void
-ACEXML_Parser::setContentHandler (ACEXML_ContentHandler *handler)
-{
- this->content_handler_ = handler;
-}
-
-ACEXML_INLINE void
-ACEXML_Parser::setDTDHandler (ACEXML_DTDHandler *handler)
-{
- this->dtd_handler_ = handler;
-}
-
-ACEXML_INLINE void
-ACEXML_Parser::setEntityResolver (ACEXML_EntityResolver *resolver)
-{
- this->entity_resolver_ = resolver;
-}
-
-ACEXML_INLINE void
-ACEXML_Parser::setErrorHandler (ACEXML_ErrorHandler *handler)
-{
- this->error_handler_ = handler;
-}
-
-ACEXML_INLINE int
-ACEXML_Parser::is_whitespace (ACEXML_Char c)
-{
- switch (c)
- {
- case 0xa:
- case 0x20:
- case 0x9:
- case 0xd:
- return 1;
- default:
- return 0;
- }
-}
-
-
-ACEXML_INLINE int
-ACEXML_Parser::is_whitespace_or_equal (ACEXML_Char c)
-{
- return (is_whitespace (c) || c == '=') ? 1 : 0;
-}
-
-ACEXML_INLINE int
-ACEXML_Parser::is_nonname (ACEXML_Char c)
-{
- // Handle this separately as doing so avoids code duplication and enables
- // setting of line and column numbers in one place.
- if (is_whitespace_or_equal (c))
- return 1;
-
- switch (c)
- {
- case '/':
- case '?':
- case '>':
- case '<':
- case ')':
- case '(':
- case '+':
- case '*':
- case '\'':
- case '"':
- case ',':
- case '|':
- return 1;
- default:
- return 0;
- }
-}
-
-ACEXML_INLINE ACEXML_Char
-ACEXML_Parser::get (void)
-{
- // Using an extra level of indirection so we can
- // manage document location in the future.
-
- if (this->instream_ != 0)
- {
- ACEXML_Char ch;
- if (this->instream_->get (ch) == -1) // EOF reached.
- return 0;
- this->locator_.incrColumnNumber();
- if (ch == 0x0A) {
- this->locator_.incrLineNumber();
- this->locator_.setColumnNumber (0);
- }
- return ch;
- }
- return 0;
-}
-
-ACEXML_INLINE ACEXML_Char
-ACEXML_Parser::peek (void)
-{
- // Using an extra level of indirection so we can
- // manage document location in the future.
-
- if (this->instream_ != 0)
- return this->instream_->peek ();
- return 0;
-
-}
diff --git a/ACEXML/parser/parser/Parser_export.h b/ACEXML/parser/parser/Parser_export.h
deleted file mode 100644
index 71630ccd962..00000000000
--- a/ACEXML/parser/parser/Parser_export.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Parser_export.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-
-// Definition for Win32 Export directives.
-// This file is generated automatically by generate_export_file.pl
-// ------------------------------
-#ifndef ACEXML_PARSER_EXPORT_H
-#define ACEXML_PARSER_EXPORT_H
-
-#include "ace/config-all.h"
-
-#if defined (ACE_AS_STATIC_LIBS) && !defined (ACEXML_PARSER_HAS_DLL)
-# define ACEXML_PARSER_HAS_DLL 0
-#endif /* ACE_AS_STATIC_LIBS && ACEXML_PARSER_HAS_DLL */
-
-#if !defined (ACEXML_PARSER_HAS_DLL)
-# define ACEXML_PARSER_HAS_DLL 1
-#endif /* ! ACEXML_PARSER_HAS_DLL */
-
-#if defined (ACEXML_PARSER_HAS_DLL) && (ACEXML_PARSER_HAS_DLL == 1)
-# if defined (ACEXML_PARSER_BUILD_DLL)
-# define ACEXML_PARSER_Export ACE_Proper_Export_Flag
-# define ACEXML_PARSER_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
-# define ACEXML_PARSER_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
-# else /* ACEXML_PARSER_BUILD_DLL */
-# define ACEXML_PARSER_Export ACE_Proper_Import_Flag
-# define ACEXML_PARSER_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
-# define ACEXML_PARSER_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
-# endif /* ACEXML_PARSER_BUILD_DLL */
-#else /* ACEXML_PARSER_HAS_DLL == 1 */
-# define ACEXML_PARSER_Export
-# define ACEXML_PARSER_SINGLETON_DECLARATION(T)
-# define ACEXML_PARSER_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
-#endif /* ACEXML_PARSER_HAS_DLL == 1 */
-
-#endif /* ACEXML_PARSER_EXPORT_H */
-
-// End of auto generated file.
diff --git a/ACEXML/parser/parser/parser.mpc b/ACEXML/parser/parser/parser.mpc
deleted file mode 100644
index 6816ce41cf2..00000000000
--- a/ACEXML/parser/parser/parser.mpc
+++ /dev/null
@@ -1,7 +0,0 @@
-project(ACEXML_Parser): acelib {
- sharedname = ACEXML_Parser
- depends += ACEXML
- libs += ACEXML
- libpaths += $(ACE_ROOT)/ACEXML/common
- dllflags += ACEXML_PARSER_BUILD_DLL
-}
diff --git a/ACEXML/tests/ContentHandler_Test.cpp b/ACEXML/tests/ContentHandler_Test.cpp
deleted file mode 100644
index b91557cb896..00000000000
--- a/ACEXML/tests/ContentHandler_Test.cpp
+++ /dev/null
@@ -1,91 +0,0 @@
-//=============================================================================
-/**
- * @file ContentHandler_Test.cpp
- *
- * $Id$
- *
- * @author Steve Huston <shuston@riverace.com>
- */
-//=============================================================================
-
-#include "ACEXML/common/DefaultHandler.h"
-#include "ACEXML/common/InputSource.h"
-#include "ACEXML/common/StrCharStream.h"
-#include "ACEXML/parser/parser/Parser.h"
-
-class Basic_Content_Tester : public ACEXML_DefaultHandler
-{
-public:
- /**
- * Receive notification of character data.
- */
- virtual void characters (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException));
-
- const ACEXML_Char *get_test_string (void)
- { return Basic_Content_Tester::test_string_; }
-
-private:
- static const ACEXML_Char *test_string_;
-};
-
-const ACEXML_Char * Basic_Content_Tester::test_string_ =
- ACE_TEXT ("<?xml version=\"1.0\"?>")
- ACE_TEXT ("<translation type=\"unfinished\">Example\n")
- ACE_TEXT ("d&apos;internationalisation</translation></xml>");
-
-void
-Basic_Content_Tester::characters (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException))
-{
- static int already_called = 0;
- static const ACEXML_Char *expect =
- ACE_TEXT ("Example\nd'internationalisation");
-
- if (already_called)
- {
- ACEXML_THROW (ACEXML_SAXException
- (ACE_TEXT ("characters() called too much\n")));
- }
- already_called = 1;
-
- int expected_len = ACE_static_cast (int, ACE_OS::strlen (expect));
- if (length != expected_len)
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT ("characters() expected len %d (%*s); ")
- ACE_TEXT ("got %d (%*s)\n"),
- expected_len, expected_len, ch + start,
- length, length, ch + start));
- ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("Functionality failure")));
- }
- return;
-}
-
-int
-ACE_TMAIN (int, ACE_TCHAR *[])
-{
- int status = 0;
- Basic_Content_Tester tester;
- ACEXML_StrCharStream *test_stream =
- new ACEXML_StrCharStream (tester.get_test_string ());
- ACEXML_InputSource input (test_stream);
- ACEXML_Parser parser;
- parser.setContentHandler (&tester);
- ACEXML_TRY_NEW_ENV
- {
- parser.parse (&input ACEXML_ENV_ARG_PARAMETER);
- ACEXML_TRY_CHECK;
- }
- ACEXML_CATCHANY
- {
- ACE_ERROR ((LM_ERROR, ACE_TEXT ("Caught exception.\n")));
- status = 1;
- }
- ACEXML_ENDTRY;
- return status;
-}
diff --git a/ACEXML/tests/ContentHandler_Test.dsp b/ACEXML/tests/ContentHandler_Test.dsp
deleted file mode 100644
index 84ab3108878..00000000000
--- a/ACEXML/tests/ContentHandler_Test.dsp
+++ /dev/null
@@ -1,104 +0,0 @@
-# Microsoft Developer Studio Project File - Name="ContentHandler_Test" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=ContentHandler_Test - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "ContentHandler_Test.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "ContentHandler_Test.mak" CFG="ContentHandler_Test - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "ContentHandler_Test - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "ContentHandler_Test - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "ContentHandler_Test - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "../.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib ACEXML_Parser.lib ACEXML.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\ace" /libpath:"..\Common" /libpath:"..\parser\parser"
-
-!ELSEIF "$(CFG)" == "ContentHandler_Test - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib ACEXML_Parserd.lib ACEXMLd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\ace" /libpath:"..\Common" /libpath:"..\parser\parser"
-
-!ENDIF
-
-# Begin Target
-
-# Name "ContentHandler_Test - Win32 Release"
-# Name "ContentHandler_Test - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\ContentHandler_Test.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# End Group
-# End Target
-# End Project
diff --git a/ACEXML/tests/HttpCharStream_Test.cpp b/ACEXML/tests/HttpCharStream_Test.cpp
deleted file mode 100644
index 982fbcd4e34..00000000000
--- a/ACEXML/tests/HttpCharStream_Test.cpp
+++ /dev/null
@@ -1,35 +0,0 @@
-// $Id$
-
-#include "ACEXML/common/HttpCharStream.h"
-
-int ACE_TMAIN (int, ACE_TCHAR *[])
-{
- const ACEXML_Char* test = ACE_TEXT("http://www.cs.wustl.edu/~nanbor/");
-
- const ACEXML_Char* simple = ACE_TEXT("http://www.cs.wustl.edu/~kitty/");
-
- ACEXML_HttpCharStream stream;
- ACEXML_Char ch;
-
- if (stream.open (test) != -1)
- {
- while (stream.get (ch) != -1)
- ACE_OS::printf ("%c", ch);
- stream.close();
- }
- else
- {
- ACE_ERROR ((LM_ERROR, "Error in opening stream : %m\n"));
- }
-
- if (stream.open (simple) != -1)
- {
- while (stream.get (ch) != -1)
- ACE_OS::printf ("%c", ch);
- }
- else
- {
- ACE_ERROR ((LM_ERROR, "Error in opening stream : %m\n"));
- }
- return 0;
-}
diff --git a/ACEXML/tests/HttpCharStream_Test.dsp b/ACEXML/tests/HttpCharStream_Test.dsp
deleted file mode 100644
index b2142eab85d..00000000000
--- a/ACEXML/tests/HttpCharStream_Test.dsp
+++ /dev/null
@@ -1,104 +0,0 @@
-# Microsoft Developer Studio Project File - Name="HttpCharStream_Test" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=HttpCharStream_Test - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "HttpCharStream_Test.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "HttpCharStream_Test.mak" CFG="HttpCharStream_Test - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "HttpCharStream_Test - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "HttpCharStream_Test - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "HttpCharStream_Test - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "../.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib ACEXML.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\ace" /libpath:"..\Common"
-
-!ELSEIF "$(CFG)" == "HttpCharStream_Test - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib ACEXMLd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\ace" /libpath:"..\Common"
-
-!ENDIF
-
-# Begin Target
-
-# Name "HttpCharStream_Test - Win32 Release"
-# Name "HttpCharStream_Test - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\HttpCharStream_Test.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# End Group
-# End Target
-# End Project
diff --git a/ACEXML/tests/Makefile b/ACEXML/tests/Makefile
deleted file mode 100644
index 8ecb4688792..00000000000
--- a/ACEXML/tests/Makefile
+++ /dev/null
@@ -1,650 +0,0 @@
-#----------------------------------------------------------------------------
-# $Id$
-#
-# Makefile for repeating token client application
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-LDLIBS = -lACEXML_Parser -lACEXML
-BIN = Transcoder_Test \
- NamespaceSupport_Test \
- HttpCharStream_Test \
- ContentHandler_Test
-
-LSRC = $(addsuffix .cpp,$(BIN))
-LOBJ = $(LSRC:%.cpp=$(VDIR)%.o)
-#SHOBJ = $(addsuffix .so,$(BIN))
-
-BUILD = $(VBIN)
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-
-#----------------------------------------------------------------------------
-# Local targets
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Dependencies
-#----------------------------------------------------------------------------
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-
-.obj/Transcoder_Test.o .obj/Transcoder_Test.so .shobj/Transcoder_Test.o .shobj/Transcoder_Test.so: Transcoder_Test.cpp \
- $(ACE_ROOT)/ACEXML/common/Transcode.h \
- $(ACE_ROOT)/ace/pre.h \
- $(ACE_ROOT)/ACEXML/common/ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- $(ACE_ROOT)/ACEXML/common/XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ACEXML/common/Transcode.i
-
-.obj/NamespaceSupport_Test.o .obj/NamespaceSupport_Test.so .shobj/NamespaceSupport_Test.o .shobj/NamespaceSupport_Test.so: NamespaceSupport_Test.cpp \
- $(ACE_ROOT)/ACEXML/common/NamespaceSupport.h \
- $(ACE_ROOT)/ace/pre.h \
- $(ACE_ROOT)/ACEXML/common/ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- $(ACE_ROOT)/ACEXML/common/XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Functor.h \
- $(ACE_ROOT)/ace/Functor.i \
- $(ACE_ROOT)/ace/Functor_T.h \
- $(ACE_ROOT)/ace/Functor_T.i \
- $(ACE_ROOT)/ace/Functor_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.inl \
- $(ACE_ROOT)/ace/Unbounded_Queue.cpp \
- $(ACE_ROOT)/ace/XML_Svc_Conf.h \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Test_and_Set.h \
- $(ACE_ROOT)/ace/Test_and_Set.i \
- $(ACE_ROOT)/ace/Test_and_Set.cpp \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Array_Base.h \
- $(ACE_ROOT)/ace/Array_Base.inl \
- $(ACE_ROOT)/ace/Array_Base.cpp \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- $(ACE_ROOT)/ACEXML/common/NamespaceSupport.i
-
-.obj/HttpCharStream_Test.o .obj/HttpCharStream_Test.so .shobj/HttpCharStream_Test.o .shobj/HttpCharStream_Test.so: HttpCharStream_Test.cpp \
- $(ACE_ROOT)/ACEXML/common/HttpCharStream.h \
- $(ACE_ROOT)/ace/pre.h \
- $(ACE_ROOT)/ACEXML/common/ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- $(ACE_ROOT)/ACEXML/common/CharStream.h \
- $(ACE_ROOT)/ACEXML/common/XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ACEXML/common/URL_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/Addr.h $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ACEXML/common/URL_Addr.inl \
- $(ACE_ROOT)/ACEXML/common/Mem_Map_Stream.h \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/DLL.h \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.inl \
- $(ACE_ROOT)/ace/Unbounded_Queue.cpp \
- $(ACE_ROOT)/ace/XML_Svc_Conf.h \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Test_and_Set.h \
- $(ACE_ROOT)/ace/Test_and_Set.i \
- $(ACE_ROOT)/ace/Test_and_Set.cpp \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \
- $(ACE_ROOT)/ace/Functor.h \
- $(ACE_ROOT)/ace/Functor.i \
- $(ACE_ROOT)/ace/Functor_T.h \
- $(ACE_ROOT)/ace/Functor_T.i \
- $(ACE_ROOT)/ace/Functor_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Exit.h \
- $(ACE_ROOT)/ace/Thread_Control.h \
- $(ACE_ROOT)/ace/Thread_Control.inl \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Array_Base.h \
- $(ACE_ROOT)/ace/Array_Base.inl \
- $(ACE_ROOT)/ace/Array_Base.cpp \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/Framework_Component.h \
- $(ACE_ROOT)/ace/Framework_Component.inl \
- $(ACE_ROOT)/ace/Framework_Component_T.h \
- $(ACE_ROOT)/ace/Framework_Component_T.inl \
- $(ACE_ROOT)/ace/Framework_Component_T.cpp \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Connection_Recycling_Strategy.h \
- $(ACE_ROOT)/ace/Recyclable.h \
- $(ACE_ROOT)/ace/Recyclable.inl \
- $(ACE_ROOT)/ace/Refcountable.h \
- $(ACE_ROOT)/ace/Refcountable.inl \
- $(ACE_ROOT)/ace/Hashable.h \
- $(ACE_ROOT)/ace/Hashable.inl \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/Message_Block_T.h \
- $(ACE_ROOT)/ace/Message_Block_T.i \
- $(ACE_ROOT)/ace/Message_Block_T.cpp \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Notification_Strategy.h \
- $(ACE_ROOT)/ace/Notification_Strategy.inl \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Dynamic.i
-
-.obj/ContentHandler_Test.o .obj/ContentHandler_Test.so .shobj/ContentHandler_Test.o .shobj/ContentHandler_Test.so: ContentHandler_Test.cpp \
- $(ACE_ROOT)/ACEXML/common/DefaultHandler.h \
- $(ACE_ROOT)/ace/pre.h \
- $(ACE_ROOT)/ACEXML/common/ACEXML_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- $(ACE_ROOT)/ACEXML/common/ContentHandler.h \
- $(ACE_ROOT)/ACEXML/common/Env.h \
- $(ACE_ROOT)/ACEXML/common/XML_Macros.h \
- $(ACE_ROOT)/ace/Exception_Macros.h \
- $(ACE_ROOT)/ACEXML/common/Exception.h \
- $(ACE_ROOT)/ACEXML/common/XML_Types.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/Time_Value.inl \
- $(ACE_ROOT)/ace/Default_Constants.h \
- $(ACE_ROOT)/ace/Global_Macros.h \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/String_Base.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/String_Base_Const.h \
- $(ACE_ROOT)/ace/String_Base.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/String_Base.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Unbounded_Set.h \
- $(ACE_ROOT)/ace/Node.h $(ACE_ROOT)/ace/Node.cpp \
- $(ACE_ROOT)/ace/Unbounded_Set.inl \
- $(ACE_ROOT)/ace/Unbounded_Set.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Auto_Ptr.h \
- $(ACE_ROOT)/ace/Auto_Ptr.i \
- $(ACE_ROOT)/ace/Auto_Ptr.cpp \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ACEXML/common/Exception.i \
- $(ACE_ROOT)/ACEXML/common/Env.i \
- $(ACE_ROOT)/ACEXML/common/SAXExceptions.h \
- $(ACE_ROOT)/ACEXML/common/SAXExceptions.i \
- $(ACE_ROOT)/ACEXML/common/Locator.h \
- $(ACE_ROOT)/ACEXML/common/Attributes.h \
- $(ACE_ROOT)/ACEXML/common/DTDHandler.h \
- $(ACE_ROOT)/ACEXML/common/EntityResolver.h \
- $(ACE_ROOT)/ACEXML/common/InputSource.h \
- $(ACE_ROOT)/ACEXML/common/CharStream.h \
- $(ACE_ROOT)/ACEXML/common/ErrorHandler.h \
- $(ACE_ROOT)/ACEXML/common/DefaultHandler.i \
- $(ACE_ROOT)/ACEXML/common/StrCharStream.h \
- $(ACE_ROOT)/ACEXML/parser/parser/Parser.h \
- $(ACE_ROOT)/ACEXML/parser/parser/Parser_export.h \
- $(ACE_ROOT)/ACEXML/common/XMLReader.h \
- $(ACE_ROOT)/ACEXML/common/LocatorImpl.h \
- $(ACE_ROOT)/ACEXML/common/LocatorImpl.i \
- $(ACE_ROOT)/ACEXML/common/NamespaceSupport.h \
- $(ACE_ROOT)/ace/Functor.h \
- $(ACE_ROOT)/ace/Functor.i \
- $(ACE_ROOT)/ace/Functor_T.h \
- $(ACE_ROOT)/ace/Functor_T.i \
- $(ACE_ROOT)/ace/Functor_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.h \
- $(ACE_ROOT)/ace/Unbounded_Queue.inl \
- $(ACE_ROOT)/ace/Unbounded_Queue.cpp \
- $(ACE_ROOT)/ace/XML_Svc_Conf.h \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Test_and_Set.h \
- $(ACE_ROOT)/ace/Test_and_Set.i \
- $(ACE_ROOT)/ace/Test_and_Set.cpp \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Array_Base.h \
- $(ACE_ROOT)/ace/Array_Base.inl \
- $(ACE_ROOT)/ace/Array_Base.cpp \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- $(ACE_ROOT)/ACEXML/common/NamespaceSupport.i \
- $(ACE_ROOT)/ace/Obstack.h \
- $(ACE_ROOT)/ace/Obstack_T.h \
- $(ACE_ROOT)/ace/Obchunk.h \
- $(ACE_ROOT)/ace/Obchunk.i \
- $(ACE_ROOT)/ace/Obstack_T.i \
- $(ACE_ROOT)/ace/Obstack_T.cpp \
- $(ACE_ROOT)/ACEXML/parser/parser/Entity_Manager.h \
- $(ACE_ROOT)/ACEXML/parser/parser/Entity_Manager.i \
- $(ACE_ROOT)/ACEXML/parser/parser/Parser.i
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/ACEXML/tests/Makefile.bor b/ACEXML/tests/Makefile.bor
deleted file mode 100644
index d2bc13a9dc2..00000000000
--- a/ACEXML/tests/Makefile.bor
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# $Id$
-# Makefile for building the ACE XML tests
-#
-
-NAMES = \
- NamespaceSupport_Test \
- Transcoder_Test \
- HttpCharStream_Test \
- ContentHandler_Test
-
-OBJFILES = $(OBJDIR)\$(NAME).obj
-
-CFLAGS = \
- $(ACE_CFLAGS) \
- $(ACE_XML_CFLAGS)
-
-CPPDIR = .
-
-LIBFILES = \
- $(ACE_LIB) \
- $(ACE_XML_PARSER_LIB) \
- $(ACE_XML_LIB)
-
-!include <$(ACE_ROOT)\include\makeinclude\recurse.bor>
-!include <$(ACE_ROOT)\include\makeinclude\build_exe.bor>
diff --git a/ACEXML/tests/NamespaceSupport_Test.cpp b/ACEXML/tests/NamespaceSupport_Test.cpp
deleted file mode 100644
index 96bcfa7ab30..00000000000
--- a/ACEXML/tests/NamespaceSupport_Test.cpp
+++ /dev/null
@@ -1,144 +0,0 @@
-// $Id$
-
-#include "ACEXML/common/NamespaceSupport.h"
-
-int ACE_TMAIN (int, ACE_TCHAR *[])
-{
- ACEXML_NamespaceSupport xmlns;
-
- xmlns.pushContext();
- xmlns.declarePrefix(ACE_TEXT (""),
- ACE_TEXT ("http://www.w3.org/1999/xhtml"));
- xmlns.declarePrefix(ACE_TEXT ("dc"),
- ACE_TEXT ("http://www.purl.org/dc#"));
- xmlns.declarePrefix(ACE_TEXT ("xc"),
- ACE_TEXT ("http://www.purl.org/dc#"));
-
- const ACEXML_Char *lName, *uri;
- const ACEXML_Char *n1 = ACE_TEXT ("p");
-
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("*** Checking processName:\n")));
- if (xmlns.processName (n1, uri, lName, 0) != 0)
- ACE_DEBUG ((LM_ERROR,
- ACE_TEXT ("Fail to resolve namespace name %s\n"),
- n1));
- else
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("Namespace URI: %s\nLocal name: %s\nRaw name: %s\n"),
- uri, lName, n1));
-
- const ACEXML_Char *n2 = ACE_TEXT ("dc:title");
- if (xmlns.processName(n2, uri, lName, 0) != 0)
- ACE_DEBUG ((LM_ERROR,
- ACE_TEXT ("Fail to resolve namespace name %S\n"),
- n2));
- else
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("Namespace URI: %s\nLocal name: %s\nRaw name: %s\n"),
- uri, lName, n2));
-
- const ACEXML_Char *n3 = ACE_TEXT ("xml:title");
- if (xmlns.processName(n3, uri, lName, 0) != 0)
- ACE_DEBUG ((LM_ERROR,
- ACE_TEXT ("Fail to resolve namespace name %S\n"),
- n3));
- else
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("Namespace URI: %s\nLocal name: %s\nRaw name: %s\n"),
- uri, lName, n3));
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("\n*** Checking getDeclaredPrefixes\n")));
-
- ACEXML_STR_LIST prefixes;
- if (xmlns.getDeclaredPrefixes (prefixes) != 0)
- ACE_DEBUG ((LM_ERROR,
- ACE_TEXT ("Fail to get a list of declared prefixes\n")));
- else
- {
- ACEXML_STR_LIST::ITERATOR iter = prefixes.begin ();
- const ACEXML_Char **prefix = 0;
-
- for (; iter.next (prefix);iter.advance ())
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("prefix: \"%s\"\n"), *prefix));
- }
-
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("\n*** Checking getPrefix\n")));
- const ACEXML_Char *prefix = 0;
-
- if ((prefix = xmlns.getPrefix (ACE_TEXT ("http://www.purl.org/dc#"))) == 0)
- ACE_DEBUG ((LM_ERROR,
- ACE_TEXT ("Fail to get prefix of http://www.purl.org/dc#\n")));
- else
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("Prefix of http://www.purl.org/dc# is %s\n"),
- prefix));
-
- if ((prefix = xmlns.getPrefix (ACE_TEXT ("http://www.w3.org/1999/xhtml"))) == 0)
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("Fail to get prefix of http://www.w3.org/1999/xhtml which is okay\n")));
- else
- ACE_DEBUG ((LM_ERROR,
- ACE_TEXT ("ERROR: Prefix of http://www.w3.org/1999/xhtml is %s\n"),
- prefix));
-
- if ((prefix = xmlns.getPrefix (ACE_TEXT ("http://www.w3.org/XML/1998/namespace"))) == 0)
- ACE_DEBUG ((LM_ERROR,
- ACE_TEXT ("Fail to get prefix of http://www.w3.org/XML/1998/namespace\n")));
- else
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("Prefix of http://www.w3.org/XML/1998/namespace is %s\n"),
- prefix));
-
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("\n*** Checking getPrefixes with known URI\n")));
- prefixes.reset ();
-
- if (xmlns.getPrefixes (ACE_TEXT ("http://www.purl.org/dc#"), prefixes) != 0)
- ACE_DEBUG ((LM_ERROR, ACE_TEXT ("Fail to getPrefixes based on known URI\n")));
- else
- {
- ACEXML_STR_LIST::ITERATOR iter = prefixes.begin ();
- const ACEXML_Char **prefix = 0;
-
- for (; iter.next (prefix);iter.advance ())
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("prefix: \"%s\"\n"), *prefix));
- }
-
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("\n*** Checking getPrefixes\n")));
- prefixes.reset ();
-
- if (xmlns.getPrefixes (prefixes) != 0)
- ACE_DEBUG ((LM_ERROR, ACE_TEXT ("Fail to getPrefixes\n")));
- else
- {
- ACEXML_STR_LIST::ITERATOR iter = prefixes.begin ();
- const ACEXML_Char **prefix = 0;
-
- for (; iter.next (prefix);iter.advance ())
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("prefix: \"%s\"\n"), *prefix));
- }
-
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("\n*** Checking getURI\n")));
- const ACEXML_Char *URI = 0;
-
- if ((URI = xmlns.getURI (ACE_TEXT ("dc"))) == 0)
- ACE_DEBUG((LM_ERROR, ACE_TEXT ("Fail to get URI for \"dc\"\n")));
- else
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("URI for \"dc\" is %s\n"), URI));
- if ((URI = xmlns.getURI (ACE_TEXT ("xc"))) == 0)
- ACE_DEBUG ((LM_ERROR, ACE_TEXT ("Fail to get URI for \"xc\"\n")));
- else
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("URI for \"xc\" is %s\n"), URI));
- if ((URI = xmlns.getURI (ACE_TEXT ("xml"))) == 0)
- ACE_DEBUG ((LM_ERROR, ACE_TEXT ("Fail to get URI for \"xml\"\n")));
- else
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("URI for \"xml\" is %s\n"), URI));
- if ((URI = xmlns.getURI (ACE_TEXT (""))) == 0)
- ACE_DEBUG ((LM_ERROR, ACE_TEXT ("Fail to get default namespace URI\n")));
- else
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("URI for default namespace is %s\n"), URI));
-
- xmlns.popContext();
-
- return 0;
-}
diff --git a/ACEXML/tests/NamespaceSupport_Test.dsp b/ACEXML/tests/NamespaceSupport_Test.dsp
deleted file mode 100644
index c6efd71974a..00000000000
--- a/ACEXML/tests/NamespaceSupport_Test.dsp
+++ /dev/null
@@ -1,104 +0,0 @@
-# Microsoft Developer Studio Project File - Name="NamespaceSupport_Test" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=NamespaceSupport_Test - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "NamespaceSupport_Test.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "NamespaceSupport_Test.mak" CFG="NamespaceSupport_Test - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "NamespaceSupport_Test - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "NamespaceSupport_Test - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "NamespaceSupport_Test - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "../.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib ACEXML.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\ace" /libpath:"..\Common"
-
-!ELSEIF "$(CFG)" == "NamespaceSupport_Test - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib ACEXMLd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\ace" /libpath:"..\Common"
-
-!ENDIF
-
-# Begin Target
-
-# Name "NamespaceSupport_Test - Win32 Release"
-# Name "NamespaceSupport_Test - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\NamespaceSupport_Test.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# End Group
-# End Target
-# End Project
diff --git a/ACEXML/tests/Tests.dsw b/ACEXML/tests/Tests.dsw
deleted file mode 100644
index 176ab08e31c..00000000000
--- a/ACEXML/tests/Tests.dsw
+++ /dev/null
@@ -1,67 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "ContentHandler_Test"=.\ContentHandler_Test.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-###############################################################################
-
-Project: "HttpCharStream_Test"=.\HttpCharStream_Test.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "NamespaceSupport_Test"=.\NamespaceSupport_Test.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "Transcoder_Test"=.\Transcoder_Test.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/ACEXML/tests/Transcoder_Test.cpp b/ACEXML/tests/Transcoder_Test.cpp
deleted file mode 100644
index 2e87a52a7e7..00000000000
--- a/ACEXML/tests/Transcoder_Test.cpp
+++ /dev/null
@@ -1,69 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ACEXML/common/Transcode.h"
-#include "ace/Log_Msg.h"
-
-void dump_utf16 (const ACEXML_UTF16 *data,
- size_t len)
-{
- size_t ptr = 0;
-
- while (1)
- {
- ACE_DEBUG ((LM_DEBUG, "%04x", data[ptr]));
-
- if (++ptr >= len)
- break;
-
- if (ptr % 4 == 0)
- ACE_DEBUG ((LM_DEBUG, "\n"));
- else
- ACE_DEBUG ((LM_DEBUG, " "));
- }
- ACE_DEBUG ((LM_DEBUG, "\n"));
- return;
-}
-
-int
-ACE_TMAIN (int, ACE_TCHAR*[])
-{
- ACEXML_UTF16 org [18];
-// = { 1, 2, 4, 8, 0x10, 0x20, 0x40,
-// 0x80,
-// 0x100, 0x200, 0x400,
-// 0x800, 0x801, 0x802, 0x804, 0x808, 0x810, 0x820,
-// 0x840, 0x880, 0x900, 0xa00, 0xc00,
-// 0x1000, 0x2000, 0x4000, 0x8000, 0 }
- ACEXML_UCS4 temp = 1;
-
- ACE_OS::memset (org, 0, sizeof org);
- size_t x;
-
- for (x = 0; temp < 0x10000; x++, temp <<= 1)
- {
- org[x] = ACE_static_cast (ACEXML_UTF16, temp);
- }
-
- ACE_DEBUG ((LM_DEBUG, "Original UTF16 string:\n"));
- dump_utf16 (org, x);
- ACE_DEBUG ((LM_DEBUG, "\n\n"));
-
- ACEXML_UTF8 decoded [MAXPATHLEN];
- ACE_OS::memset (decoded, 0, sizeof decoded);
-
- ACEXML_Transcoder::utf16s2utf8s (org, decoded, MAXPATHLEN);
-
- ACE_DEBUG ((LM_DEBUG, "Transcoded UTF8 string:\n"));
- ACE_HEX_DUMP ((LM_DEBUG, decoded, ACE_OS::strlen (decoded) + 1));
- ACE_DEBUG ((LM_DEBUG, "\n\n"));
-
- ACEXML_UTF16 after [18];
- ACE_OS::memset (after, 0, sizeof after);
- ACEXML_Transcoder::utf8s2utf16s (decoded, after, 18);
-
- ACE_DEBUG ((LM_DEBUG, "Restored UTF16 string:\n"));
- dump_utf16 (after, x);
- ACE_DEBUG ((LM_DEBUG, "\n\n"));
-
- return 0;
-}
diff --git a/ACEXML/tests/Transcoder_Test.dsp b/ACEXML/tests/Transcoder_Test.dsp
deleted file mode 100644
index 3c329c92e51..00000000000
--- a/ACEXML/tests/Transcoder_Test.dsp
+++ /dev/null
@@ -1,104 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Transcoder_Test" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Transcoder_Test - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "Transcoder_Test.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "Transcoder_Test.mak" CFG="Transcoder_Test - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Transcoder_Test - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "Transcoder_Test - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Transcoder_Test - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "../.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib ACEXML.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\ace" /libpath:"..\Common"
-
-!ELSEIF "$(CFG)" == "Transcoder_Test - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib ACEXMLd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\ace" /libpath:"..\Common"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Transcoder_Test - Win32 Release"
-# Name "Transcoder_Test - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\Transcoder_Test.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# End Group
-# End Target
-# End Project
diff --git a/ACEXML/tests/tests.mpc b/ACEXML/tests/tests.mpc
deleted file mode 100644
index f178c15ac88..00000000000
--- a/ACEXML/tests/tests.mpc
+++ /dev/null
@@ -1,23 +0,0 @@
-project(Transcoder_Test): aceexe, acexml {
- Source_Files {
- Transcoder_Test.cpp
- }
-}
-
-project(NamespaceSupport_Test): aceexe, acexml {
- Source_Files {
- NamespaceSupport_Test.cpp
- }
-}
-
-project(HttpCharStream_Test): aceexe, acexml {
- Source_Files {
- HttpCharStream_Test.cpp
- }
-}
-
-project(ContentHandler_Test): aceexe, acexml {
- Source_Files {
- ContentHandler_Test.cpp
- }
-}