FreeBSD Bugzilla – Attachment 12858 Details for
Bug 24660
New port: Xerces-C 1.3.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 45.28 KB, created by
dwm
on 2001-01-26 21:20:01 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
dwm
Created:
2001-01-26 21:20:01 UTC
Size:
45.28 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># /usr/ports/textproc/xerces-c ># /usr/ports/textproc/xerces-c/Makefile ># /usr/ports/textproc/xerces-c/files ># /usr/ports/textproc/xerces-c/files/patch-aa ># /usr/ports/textproc/xerces-c/files/Makefile.in ># /usr/ports/textproc/xerces-c/files/FreeBSDDefs.hpp ># /usr/ports/textproc/xerces-c/files/FreeBSDPlatformUtils.cpp ># /usr/ports/textproc/xerces-c/files/patch-ab ># /usr/ports/textproc/xerces-c/files/patch-ac ># /usr/ports/textproc/xerces-c/files/patch-ad ># /usr/ports/textproc/xerces-c/files/patch-ae ># /usr/ports/textproc/xerces-c/files/patch-af ># /usr/ports/textproc/xerces-c/distinfo ># /usr/ports/textproc/xerces-c/pkg-plist ># /usr/ports/textproc/xerces-c/pkg-descr ># /usr/ports/textproc/xerces-c/pkg-comment ># >echo c - /usr/ports/textproc/xerces-c >mkdir -p /usr/ports/textproc/xerces-c > /dev/null 2>&1 >echo x - /usr/ports/textproc/xerces-c/Makefile >sed 's/^X//' >/usr/ports/textproc/xerces-c/Makefile << 'END-of-/usr/ports/textproc/xerces-c/Makefile' >X# New ports collection makefile for: Xerces-C >X# Date created: 26 Jan 2001 >X# Whom: dwm@caimis.com >X# >X# $FreeBSD$ >X# >X >XPORTNAME= xerces-c >XPORTVERSION= 1.3.0 >XCATEGORIES= textproc >XMASTER_SITES= http://xml.apache.org/dist/xerces-c/stable/ >XDISTNAME= ${PORTNAME}-src1_3_0 >X >XMAINTAINER= dwm@caimis.com >X >XBUILD_DEPENDS= ${LOCALBASE}/lib/libicuuc.a:${PORTSDIR}/devel/icu >X >XWRKSRC= ${WRKDIR}/${DISTNAME}/src >X >XGNU_CONFIGURE= yes >XUSE_GMAKE= yes >XNO_MTREE= yes >X >X.include <bsd.port.pre.mk> >X >XCONFIGURE_ENV= CC="gcc" >XCONFIGURE_ENV+= CXX="g++" >XCONFIGURE_ENV+= TRANSCODER="ICU" >XCONFIGURE_ENV+= MESSAGELOADER="INMEM" >XCONFIGURE_ENV+= NETACCESSOR="Socket" >XCONFIGURE_ENV+= CXXFLAGS=" -O -DXML_USE_ICU_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -pthread -DXML_USE_NETACCESSOR_SOCKET" >XCONFIGURE_ENV+= CFLAGS=" -O -DXML_USE_ICU_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -pthread -DXML_USE_NETACCESSOR_SOCKET" >XCONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -pthread " >XCONFIGURE_ENV+= ICUROOT="${LOCALBASE}" >XCONFIGURE_ENV+= XERCESCROOT="${WRKDIR}/${DISTNAME}/" >XMAKE_ENV+= XERCESCROOT="${WRKDIR}/${DISTNAME}/" >XPREFIX= ${LOCALBASE}/Xerces-1.3.0 >X >Xpost-patch: >X ${CHMOD} a+x ${WRKSRC}/configure >X ${MKDIR} ${WRKSRC}/util/Platforms/FreeBSD >X ${CP} ${FILESDIR}/Makefile.in ${WRKSRC}/util/Platforms/FreeBSD/ >X ${CP} ${FILESDIR}/FreeBSDDefs.hpp ${WRKSRC}/util/Platforms/FreeBSD/ >X ${CP} ${FILESDIR}/FreeBSDPlatformUtils.cpp ${WRKSRC}/util/Platforms/FreeBSD/ >X >Xdo-install: >X (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} install) >X >X.include <bsd.port.post.mk> >END-of-/usr/ports/textproc/xerces-c/Makefile >echo c - /usr/ports/textproc/xerces-c/files >mkdir -p /usr/ports/textproc/xerces-c/files > /dev/null 2>&1 >echo x - /usr/ports/textproc/xerces-c/files/patch-aa >sed 's/^X//' >/usr/ports/textproc/xerces-c/files/patch-aa << 'END-of-/usr/ports/textproc/xerces-c/files/patch-aa' >X*** Makefile.incl:1.1.1.1 Tue Jan 23 01:37:50 2001 >X+++ Makefile.incl Fri Jan 26 12:42:00 2001 >X@@ -255,6 +255,20 @@ >X SHLIBSUFFIX=.so >X endif >X >X+#=============== FREEBSD SPECIFIC OPTIONS ========================= >X+ifeq (${PLATFORM}, FREEBSD) >X+PLATFORM_COMPILE_OPTIONS = -fpic -instances=static -D${PLATFORM} -pthread >X+MAKE_SHARED = ${CXX} -D${PLATFORM} -shared -fpic -pthread >X+MAKE_SHARED_C = ${CC} -D${PLATFORM} -shared -fpic -pthread >X+ifeq (${TRANSCODER}, ICU) >X+ PLATFORM_COMPILE_OPTIONS = -fpic -instances=static -D${PLATFORM} -pthread -I/usr/local/include/unicode >X+ ALLLIBS = ${LIBS} -L/usr/lib -L/usr/local/lib -licuuc -L/usr/local/lib/icu/1.7 -licudt17l >X+else >X+ ALLLIBS = ${LIBS} -L/usr/lib -L/usr/local/lib >X+endif >X+SHLIBSUFFIX=.so >X+endif >X+ >X #=============== IRIX SPECIFIC OPTIONS ============================ >X ifeq (${PLATFORM}, IRIX) >X PLATFORM_COMPILE_OPTIONS = -LANG:pch -LANG:std -O2 \ >X@@ -374,6 +388,9 @@ >X CP = -cp -fph >X else >X CP = -cp -fp >X+endif >X+ifeq (${PLATFORM}, FREEBSD) >X+CP = -cp -p >X endif >X RM = -rm -f >X CAT = cat >END-of-/usr/ports/textproc/xerces-c/files/patch-aa >echo x - /usr/ports/textproc/xerces-c/files/Makefile.in >sed 's/^X//' >/usr/ports/textproc/xerces-c/files/Makefile.in << 'END-of-/usr/ports/textproc/xerces-c/files/Makefile.in' >X# >X# The Apache Software License, Version 1.1 >X# >X# Copyright (c) 1999-2000 The Apache Software Foundation. All rights >X# reserved. >X# >X# Redistribution and use in source and binary forms, with or without >X# modification, are permitted provided that the following conditions >X# are met: >X# >X# 1. Redistributions of source code must retain the above copyright >X# notice, this list of conditions and the following disclaimer. >X# >X# 2. Redistributions in binary form must reproduce the above copyright >X# notice, this list of conditions and the following disclaimer in >X# the documentation and/or other materials provided with the >X# distribution. >X# >X# 3. The end-user documentation included with the redistribution, >X# if any, must include the following acknowledgment: >X# "This product includes software developed by the >X# Apache Software Foundation (http://www.apache.org/)." >X# Alternately, this acknowledgment may appear in the software itself, >X# if and wherever such third-party acknowledgments normally appear. >X# >X# 4. The names "Xerces" and "Apache Software Foundation" must >X# not be used to endorse or promote products derived from this >X# software without prior written permission. For written >X# permission, please contact apache\@apache.org. >X# >X# 5. Products derived from this software may not be called "Apache", >X# nor may "Apache" appear in their name, without prior written >X# permission of the Apache Software Foundation. >X# >X# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED >X# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES >X# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE >X# DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR >X# ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, >X# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT >X# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF >X# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND >X# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, >X# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT >X# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF >X# SUCH DAMAGE. >X# ==================================================================== >X# >X# This software consists of voluntary contributions made by many >X# individuals on behalf of the Apache Software Foundation, and was >X# originally based on software copyright (c) 1999, International >X# Business Machines, Inc., http://www.ibm.com . For more information >X# on the Apache Software Foundation, please see >X# <http://www.apache.org/>. >X# >X# $Log: Makefile.in,v $ >X# Revision 1.1 2001/01/26 17:42:01 dwm >X# Frst crack at port to FreeBSD. This was done on a 4.1-RELEASE machine >X# (axle.caimis.com). Note it requires IBM's icu. >X# >X# Revision 1.1 2000/03/01 22:33:38 abagchi >X# Initial checkin to create object files directly under obj >X#: >X# >X >XPLATFORM = @platform@ >XCC = @cc@ >XCXX = @cxx@ >XCXXFLAGS = @cxxflags@ >XCFLAGS = @cflags@ >XPREFIX = @prefix@ >XLDFLAGS = @ldflags@ >XLIBS = @libs@ >XOSVER = @osver@ >XUSELIBWWW = @uselibwww@ >XMESSAGELOADER = @messageloader@ >XTRANSCODER = @transcoder@ >X >XMODULE = util >X >Xinclude ../../../Makefile.incl >X >XSUBMODULE = Platforms/FreeBSD >XCXXFLAGS += -D_GNU_SOURCE -D__USE_GNU >XCPP_PUBHEADERS = FreeBSDDefs.hpp >XCPP_OBJECTS = FreeBSDPlatformUtils.$(TO) >X >Xinclude ../../Makefile.util.submodule >X >END-of-/usr/ports/textproc/xerces-c/files/Makefile.in >echo x - /usr/ports/textproc/xerces-c/files/FreeBSDDefs.hpp >sed 's/^X//' >/usr/ports/textproc/xerces-c/files/FreeBSDDefs.hpp << 'END-of-/usr/ports/textproc/xerces-c/files/FreeBSDDefs.hpp' >X/* >X * The Apache Software License, Version 1.1 >X * >X * Copyright (c) 1999-2000 The Apache Software Foundation. All rights >X * reserved. >X * >X * Redistribution and use in source and binary forms, with or without >X * modification, are permitted provided that the following conditions >X * are met: >X * >X * 1. Redistributions of source code must retain the above copyright >X * notice, this list of conditions and the following disclaimer. >X * >X * 2. Redistributions in binary form must reproduce the above copyright >X * notice, this list of conditions and the following disclaimer in >X * the documentation and/or other materials provided with the >X * distribution. >X * >X * 3. The end-user documentation included with the redistribution, >X * if any, must include the following acknowledgment: >X * "This product includes software developed by the >X * Apache Software Foundation (http://www.apache.org/)." >X * Alternately, this acknowledgment may appear in the software itself, >X * if and wherever such third-party acknowledgments normally appear. >X * >X * 4. The names "Xerces" and "Apache Software Foundation" must >X * not be used to endorse or promote products derived from this >X * software without prior written permission. For written >X * permission, please contact apache\@apache.org. >X * >X * 5. Products derived from this software may not be called "Apache", >X * nor may "Apache" appear in their name, without prior written >X * permission of the Apache Software Foundation. >X * >X * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED >X * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES >X * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE >X * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR >X * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, >X * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT >X * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF >X * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND >X * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, >X * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT >X * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF >X * SUCH DAMAGE. >X * ==================================================================== >X * >X * This software consists of voluntary contributions made by many >X * individuals on behalf of the Apache Software Foundation, and was >X * originally based on software copyright (c) 1999, International >X * Business Machines, Inc., http://www.ibm.com . For more information >X * on the Apache Software Foundation, please see >X * <http://www.apache.org/>. >X */ >X >X/** >X * $Log: FreeBSDDefs.hpp,v $ >X * Revision 1.1 2001/01/26 17:42:01 dwm >X * Frst crack at port to FreeBSD. This was done on a 4.1-RELEASE machine >X * (axle.caimis.com). Note it requires IBM's icu. >X * >X * Revision 1.2 2000/02/06 07:48:28 rahulj >X * Year 2K copyright swat. >X * >X * Revision 1.1.1.1 1999/11/09 01:07:00 twl >X * Initial checkin >X * >X * Revision 1.2 1999/11/08 20:45:30 rahul >X * Swat for adding in Product name and CVS comment log variable. >X * >X */ >X >X >X// --------------------------------------------------------------------------- >X// linux runs in little endian mode >X// --------------------------------------------------------------------------- >X#define ENDIANMODE_LITTLE >Xtypedef void* FileHandle; >X >X#ifndef FREEBSD >X#define FREEBSD >X#endif >END-of-/usr/ports/textproc/xerces-c/files/FreeBSDDefs.hpp >echo x - /usr/ports/textproc/xerces-c/files/FreeBSDPlatformUtils.cpp >sed 's/^X//' >/usr/ports/textproc/xerces-c/files/FreeBSDPlatformUtils.cpp << 'END-of-/usr/ports/textproc/xerces-c/files/FreeBSDPlatformUtils.cpp' >X/* >X * The Apache Software License, Version 1.1 >X * >X * Copyright (c) 1999-2000 The Apache Software Foundation. All rights >X * reserved. >X * >X * Redistribution and use in source and binary forms, with or without >X * modification, are permitted provided that the following conditions >X * are met: >X * >X * 1. Redistributions of source code must retain the above copyright >X * notice, this list of conditions and the following disclaimer. >X * >X * 2. Redistributions in binary form must reproduce the above copyright >X * notice, this list of conditions and the following disclaimer in >X * the documentation and/or other materials provided with the >X * distribution. >X * >X * 3. The end-user documentation included with the redistribution, >X * if any, must include the following acknowledgment: >X * "This product includes software developed by the >X * Apache Software Foundation (http://www.apache.org/)." >X * Alternately, this acknowledgment may appear in the software itself, >X * if and wherever such third-party acknowledgments normally appear. >X * >X * 4. The names "Xerces" and "Apache Software Foundation" must >X * not be used to endorse or promote products derived from this >X * software without prior written permission. For written >X * permission, please contact apache\@apache.org. >X * >X * 5. Products derived from this software may not be called "Apache", >X * nor may "Apache" appear in their name, without prior written >X * permission of the Apache Software Foundation. >X * >X * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED >X * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES >X * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE >X * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR >X * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, >X * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT >X * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF >X * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND >X * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, >X * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT >X * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF >X * SUCH DAMAGE. >X * ==================================================================== >X * >X * This software consists of voluntary contributions made by many >X * individuals on behalf of the Apache Software Foundation, and was >X * originally based on software copyright (c) 1999, International >X * Business Machines, Inc., http://www.ibm.com . For more information >X * on the Apache Software Foundation, please see >X * <http://www.apache.org/>. >X */ >X >X/* >X * $Log: FreeBSDPlatformUtils.cpp,v $ >X * Revision 1.1 2001/01/26 17:42:01 dwm >X * Frst crack at port to FreeBSD. This was done on a 4.1-RELEASE machine >X * (axle.caimis.com). Note it requires IBM's icu. >X * >X * Revision 1.17 2000/07/25 22:29:55 aruna1 >X * Char definitions in XMLUni moved to XMLUniDefs >X * >X * Revision 1.16 2000/03/24 00:13:03 aruna1 >X * Platform initialization taken care for both threaded and non-threaded environment >X * >X * Revision 1.15 2000/03/20 23:48:52 rahulj >X * Added Socket based NetAccessor. This will enable one to >X * use HTTP URL's for system id's. Default build options do >X * not use this NetAccessor. Specify the '-n socket' option >X * to 'runConfigure' to configure Xerces-C to use this new >X * feature. The code works under Solaris 2.6, Linux, AIX >X * and HPUX 11 with aCC. >X * Todo's: enable proper error handling. >X * >X * Revision 1.14 2000/03/18 00:00:00 roddey >X * Initial updates for two way transcoding support >X * >X * Revision 1.13 2000/03/02 21:10:36 abagchi >X * Added empty function platformTerm() >X * >X * Revision 1.12 2000/03/02 20:42:41 abagchi >X * Fixed typo in XMLExcepts >X * >X * Revision 1.11 2000/03/02 19:55:24 roddey >X * This checkin includes many changes done while waiting for the >X * 1.1.0 code to be finished. I can't list them all here, but a list is >X * available elsewhere. >X * >X * Revision 1.10 2000/02/22 00:58:15 aruna1 >X * openFile API updated >X * >X * Revision 1.9 2000/02/06 07:48:28 rahulj >X * Year 2K copyright swat. >X * >X * Revision 1.8 2000/01/25 22:32:56 aruna1 >X * Updated panic information >X * >X * Revision 1.7 2000/01/19 23:21:37 abagchi >X * Made this file compatible with ICU 1.4 >X * >X * Revision 1.6 2000/01/19 17:37:48 abagchi >X * Removed the streaming classes >X * >X * Revision 1.5 2000/01/14 02:04:43 abagchi >X * Introduced getFullPath() and weavePath() >X * >X * Revision 1.4 1999/12/14 23:53:33 rahulj >X * Removed the offending Ctrl-M's from the commit message >X * logs which was giving packaging problems. >X * >X * PR: >X * Obtained from: >X * Submitted by: >X * Reviewed by: >X * >X * Revision 1.3 1999/11/23 02:00:48 rahulj >X * Code now works under HPUX 11. Tested inmemory message loader. >X * Revamped makefiles. Builds with both DCE threads as well as pthread libraries. >X * >X * Revision 1.2 1999/11/17 22:35:33 rahulj >X * Replaced default attr mutexes with recursive mutexes. Also code works with ICU transcoding service >X * >X * Revision 1.1.1.1 1999/11/09 01:07:01 twl >X * Initial checkin >X * >X * Revision 1.6 1999/11/08 20:45:30 rahul >X * Swat for adding in Product name and CVS comment log variable. >X * >X */ >X >X >X// --------------------------------------------------------------------------- >X// Includes >X// --------------------------------------------------------------------------- >X >X#if !defined(APP_NO_THREADS) >X#include <pthread.h> >X#endif >X >X#ifndef __USE_UNIX98 >X// #error __USE_UNIX98 is not defined in your compile settings >X#endif >X >X#include <unistd.h> >X#include <stdio.h> >X#include <stdlib.h> >X#include <errno.h> >X// #include <libgen.h> >X#include <sys/time.h> >X#include <string.h> >X#include <util/PlatformUtils.hpp> >X#include <util/RuntimeException.hpp> >X#include <util/Janitor.hpp> >X#include <util/Mutexes.hpp> >X#include <util/XMLString.hpp> >X#include <util/XMLUniDefs.hpp> >X#include <util/XMLUni.hpp> >X >X#if defined(XML_USE_ICU_TRANSCODER) >X #include <util/Transcoders/ICU/ICUTransService.hpp> >X#else >X // Use native transcoder. Same as -DXML_USE_NATIVE_TRANSCODER >X #include <util/Transcoders/Iconv/IconvTransService.hpp> >X#endif >X >X >X#if defined(XML_USE_ICU_MESSAGELOADER) >X #include <util/MsgLoaders/ICU/ICUMsgLoader.hpp> >X#else >X // Same as -DXML_USE_INMEM_MESSAGELOADER >X #include <util/MsgLoaders/InMemory/InMemMsgLoader.hpp> >X#endif >X >X >X#if defined (XML_USE_NETACCESSOR_SOCKET) >X #include <util/NetAccessors/Socket/SocketNetAccessor.hpp> >X#endif >X >X >X >X// --------------------------------------------------------------------------- >X// Local Methods >X// --------------------------------------------------------------------------- >X >Xstatic void WriteCharStr( FILE* stream, const char* const toWrite) >X{ >X if (fputs(toWrite, stream) == EOF) >X { >X ThrowXML(XMLPlatformUtilsException, >X XMLExcepts::Strm_StdErrWriteFailure); >X } >X} >X >Xstatic void WriteUStrStdErr( const XMLCh* const toWrite) >X{ >X char* tmpVal = XMLString::transcode(toWrite); >X ArrayJanitor<char> janText(tmpVal); >X if (fputs(tmpVal, stderr) == EOF) >X { >X ThrowXML(XMLPlatformUtilsException, >X XMLExcepts::Strm_StdErrWriteFailure); >X } >X} >X >Xstatic void WriteUStrStdOut( const XMLCh* const toWrite) >X { >X char* tmpVal = XMLString::transcode(toWrite); >X ArrayJanitor<char> janText(tmpVal); >X if (fputs(tmpVal, stdout) == EOF) >X { >X ThrowXML(XMLPlatformUtilsException, >X XMLExcepts::Strm_StdOutWriteFailure); >X } >X} >X >XXMLNetAccessor* XMLPlatformUtils::makeNetAccessor() >X{ >X#if defined (XML_USE_NETACCESSOR_SOCKET) >X return new SocketNetAccessor(); >X#else >X return 0; >X#endif >X} >X >X >X >XXMLCh* XMLPlatformUtils::weavePaths(const XMLCh* const basePath >X , const XMLCh* const relativePath) >X >X{ >X // Create a buffer as large as both parts and empty it >X XMLCh* tmpBuf = new XMLCh[XMLString::stringLen(basePath) >X + XMLString::stringLen(relativePath) >X + 2]; >X *tmpBuf = 0; >X >X // >X // If we have no base path, then just take the relative path as >X // is. >X // >X if (!basePath) >X { >X XMLString::copyString(tmpBuf, relativePath); >X return tmpBuf; >X } >X >X if (!*basePath) >X { >X XMLString::copyString(tmpBuf, relativePath); >X return tmpBuf; >X } >X >X const XMLCh* basePtr = basePath + (XMLString::stringLen(basePath) - 1); >X if ((*basePtr != chForwardSlash) >X && (*basePtr != chBackSlash)) >X { >X while ((basePtr >= basePath) >X && ((*basePtr != chForwardSlash) && (*basePtr != chBackSlash))) >X { >X basePtr--; >X } >X } >X >X // There is no relevant base path, so just take the relative part >X if (basePtr < basePath) >X { >X XMLString::copyString(tmpBuf, relativePath); >X return tmpBuf; >X } >X >X // After this, make sure the buffer gets handled if we exit early >X ArrayJanitor<XMLCh> janBuf(tmpBuf); >X >X // >X // We have some path part, so we need to check to see if we ahve to >X // weave any of the parts together. >X // >X const XMLCh* pathPtr = relativePath; >X while (true) >X { >X // If it does not start with some period, then we are done >X if (*pathPtr != chPeriod) >X break; >X >X unsigned int periodCount = 1; >X pathPtr++; >X if (*pathPtr == chPeriod) >X { >X pathPtr++; >X periodCount++; >X } >X >X // Has to be followed by a \ or / or the null to mean anything >X if ((*pathPtr != chForwardSlash) && (*pathPtr != chBackSlash) >X && *pathPtr) >X { >X break; >X } >X if (*pathPtr) >X pathPtr++; >X >X // If its one period, just eat it, else move backwards in the base >X if (periodCount == 2) >X { >X basePtr--; >X while ((basePtr >= basePath) >X && ((*basePtr != chForwardSlash) && (*basePtr != chBackSlash))) >X { >X basePtr--; >X } >X >X // The base cannot provide enough levels, so its in error/ >X if (basePtr < basePath) >X ThrowXML(XMLPlatformUtilsException, >X XMLExcepts::File_BasePathUnderflow); >X } >X } >X >X // Copy the base part up to the base pointer >X XMLCh* bufPtr = tmpBuf; >X const XMLCh* tmpPtr = basePath; >X while (tmpPtr <= basePtr) >X *bufPtr++ = *tmpPtr++; >X >X // And then copy on the rest of our path >X XMLString::copyString(bufPtr, pathPtr); >X >X // Orphan the buffer and return it >X janBuf.orphan(); >X return tmpBuf; >X} >X >X >X// --------------------------------------------------------------------------- >X// XMLPlatformUtils: Private Static Methods >X// --------------------------------------------------------------------------- >X >X// >X// This method is called by the platform independent part of this class >X// when client code asks to have one of the supported message sets loaded. >X// >X >XXMLMsgLoader* XMLPlatformUtils::loadAMsgSet(const XMLCh* const msgDomain) >X{ >X XMLMsgLoader* retVal; >X try >X { >X#if defined (XML_USE_ICU_MESSAGELOADER) >X retVal = new ICUMsgLoader(msgDomain); >X#else >X // same as -DXML_USE_INMEM_MESSAGELOADER >X retVal = new InMemMsgLoader(msgDomain); >X#endif >X } >X >X catch(...) >X { >X panic(XMLPlatformUtils::Panic_CantLoadMsgDomain); >X } >X return retVal; >X} >X >X >X// >X// This method is called very early in the bootstrapping process. This guy >X// must create a transcoding service and return it. It cannot use any string >X// methods, any transcoding services, throw any exceptions, etc... It just >X// makes a transcoding service and returns it, or returns zero on failure. >X// >X >XXMLTransService* XMLPlatformUtils::makeTransService() >X{ >X#if defined (XML_USE_ICU_TRANSCODER) >X // Use ICU transcoding services. >X // same as -DXML_USE_ICU_MESSAGELOADER >X return new ICUTransService; >X#else >X // Use native transcoding services. >X // same as -DXML_USE_INMEM_MESSAGELOADER >X return new IconvTransService; >X >X#endif >X} >X >X// --------------------------------------------------------------------------- >X// XMLPlatformUtils: The panic method >X// --------------------------------------------------------------------------- >Xvoid XMLPlatformUtils::panic(const PanicReasons reason) >X{ >X const char* reasonStr = "Unknown reason"; >X if (reason == Panic_NoTransService) >X reasonStr = "Could not load a transcoding service"; >X else if (reason == Panic_NoDefTranscoder) >X reasonStr = "Could not load a local code page transcoder"; >X else if (reason == Panic_CantFindLib) >X reasonStr = "Could not find the xerces-c DLL"; >X else if (reason == Panic_UnknownMsgDomain) >X reasonStr = "Unknown message domain"; >X else if (reason == Panic_CantLoadMsgDomain) >X reasonStr = "Cannot load message domain"; >X else if (reason == Panic_SynchronizationErr) >X reasonStr = "Cannot synchronize system or mutex"; >X else if (reason == Panic_SystemInit) >X reasonStr = "Cannot initialize the system or mutex"; >X >X fprintf(stderr, "%s\n", reasonStr); >X >X exit(-1); >X} >X >X >X// --------------------------------------------------------------------------- >X// XMLPlatformUtils: File Methods >X// --------------------------------------------------------------------------- >X >Xunsigned int XMLPlatformUtils::curFilePos(FileHandle theFile) >X{ >X int curPos = ftell( (FILE*)theFile); >X if (curPos == -1) >X ThrowXML(XMLPlatformUtilsException, >X XMLExcepts::File_CouldNotGetSize); >X >X return (unsigned int)curPos; >X} >X >Xvoid XMLPlatformUtils::closeFile(FileHandle theFile) >X{ >X if (fclose((FILE*)theFile)) >X ThrowXML(XMLPlatformUtilsException, >X XMLExcepts::File_CouldNotCloseFile); >X} >X >Xunsigned int XMLPlatformUtils::fileSize(FileHandle theFile) >X{ >X // Get the current position >X long int curPos = ftell((FILE*) theFile); >X if (curPos == -1) >X ThrowXML(XMLPlatformUtilsException, >X XMLExcepts::File_CouldNotGetCurPos); >X >X // Seek to the end and save that value for return >X if (fseek((FILE*) theFile, 0, SEEK_END)) >X ThrowXML(XMLPlatformUtilsException, >X XMLExcepts::File_CouldNotSeekToEnd); >X >X long int retVal = ftell((FILE*)theFile); >X if (retVal == -1) >X ThrowXML(XMLPlatformUtilsException, >X XMLExcepts::File_CouldNotSeekToEnd); >X >X // And put the pointer back >X >X if (fseek( (FILE*)theFile, curPos, SEEK_SET) ) >X ThrowXML(XMLPlatformUtilsException, >X XMLExcepts::File_CouldNotSeekToPos); >X >X return (unsigned int)retVal; >X} >X >XFileHandle XMLPlatformUtils::openFile(const XMLCh* const fileName) >X{ >X const char* tmpFileName = XMLString::transcode(fileName); >X ArrayJanitor<char> janText((char*)tmpFileName); >X FileHandle retVal = (FILE*)fopen( tmpFileName , "rb" ); >X >X if (retVal == NULL) >X return 0; >X return retVal; >X} >X >XFileHandle XMLPlatformUtils::openFile(const char* const fileName) >X{ >X FileHandle retVal = (FILE*)fopen( fileName , "rb" ); >X >X if (retVal == NULL) >X return 0; >X return retVal; >X} >X >X >XFileHandle XMLPlatformUtils::openStdInHandle() >X{ >X return (FileHandle)fdopen(dup(0), "rb"); >X} >X >X >X >Xunsigned int >XXMLPlatformUtils::readFileBuffer( FileHandle theFile >X , const unsigned int toRead >X , XMLByte* const toFill) >X{ >X size_t noOfItemsRead = fread((void*) toFill, 1, toRead, (FILE*)theFile); >X >X if(ferror((FILE*)theFile)) >X { >X ThrowXML(XMLPlatformUtilsException, >X XMLExcepts::File_CouldNotReadFromFile); >X } >X >X return (unsigned int)noOfItemsRead; >X} >X >X >Xvoid XMLPlatformUtils::resetFile(FileHandle theFile) >X{ >X // Seek to the start of the file >X if (fseek((FILE*)theFile, 0, SEEK_SET)) >X ThrowXML(XMLPlatformUtilsException, >X XMLExcepts::File_CouldNotResetFile); >X} >X >X >X// --------------------------------------------------------------------------- >X// XMLPlatformUtils: Timing Methods >X// --------------------------------------------------------------------------- >X >Xunsigned long XMLPlatformUtils::getCurrentMillis() >X{ >X struct timeval aTime; >X gettimeofday(&aTime,NULL); >X return (unsigned long)(aTime.tv_sec*1000 + aTime.tv_usec/1000); >X >X} >X >XXMLCh* XMLPlatformUtils::getFullPath(const XMLCh* const srcPath) >X{ >X >X // >X // NOTE: THe path provided has always already been opened successfully, >X // so we know that its not some pathological freaky path. It comes in >X // in native format, and goes out as Unicode always >X // >X char* newSrc = XMLString::transcode(srcPath); >X ArrayJanitor<char> janText(newSrc); >X >X // Use a local buffer that is big enough for the largest legal path >X char *absPath = new char[1024]; >X // get the absolute path >X char* retPath = realpath(newSrc, absPath); >X ArrayJanitor<char> janText2(retPath); >X >X if (!retPath) >X { >X ThrowXML(XMLPlatformUtilsException, XMLExcepts::File_CouldNotGetBasePathName); >X } >X return XMLString::transcode(absPath); >X} >X >Xbool XMLPlatformUtils::isRelative(const XMLCh* const toCheck) >X{ >X // Check for pathological case of empty path >X if (!toCheck[0]) >X return false; >X >X // >X // If it starts with a slash, then it cannot be relative. This covers >X // both something like "\Test\File.xml" and an NT Lan type remote path >X // that starts with a node like "\\MyNode\Test\File.xml". >X // >X if (toCheck[0] == XMLCh('/')) >X return false; >X >X // Else assume its a relative path >X return true; >X} >X >X >X// ----------------------------------------------------------------------- >X// Mutex methods >X// ----------------------------------------------------------------------- >X >X#if !defined(APP_NO_THREADS) >X >X// --------------------------------------------------------------------------- >X// XMLPlatformUtils: Platform init method >X// --------------------------------------------------------------------------- >X >Xstatic XMLMutex atomicOpsMutex; >X >Xvoid XMLPlatformUtils::platformInit() >X{ >X // >X // The atomicOps mutex needs to be created early. >X // Normally, mutexes are created on first use, but there is a >X // circular dependency between compareAndExchange() and >X // mutex creation that must be broken. >X >X atomicOpsMutex.fHandle = XMLPlatformUtils::makeMutex(); >X} >X >Xvoid* XMLPlatformUtils::makeMutex() >X{ >X pthread_mutex_t* mutex = new pthread_mutex_t; >X pthread_mutexattr_t* attr = new pthread_mutexattr_t; >X pthread_mutexattr_init(attr); >X pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE); >X if (pthread_mutex_init(mutex, attr)) >X { >X ThrowXML(XMLPlatformUtilsException, >X XMLExcepts::Mutex_CouldNotCreate); >X } >X pthread_mutexattr_destroy(attr); >X delete attr; >X return (void*)(mutex); >X >X} >X >Xvoid XMLPlatformUtils::closeMutex(void* const mtxHandle) >X{ >X if (mtxHandle != NULL) >X { >X if (pthread_mutex_destroy((pthread_mutex_t*) mtxHandle)) >X { >X ThrowXML(XMLPlatformUtilsException, >X XMLExcepts::Mutex_CouldNotDestroy); >X } >X delete mtxHandle; >X } >X} >X >X >Xvoid XMLPlatformUtils::lockMutex(void* const mtxHandle) >X{ >X if (mtxHandle != NULL) >X { >X if (pthread_mutex_lock((pthread_mutex_t*) mtxHandle)) >X { >X ThrowXML(XMLPlatformUtilsException, >X XMLExcepts::Mutex_CouldNotLock); >X } >X } >X} >X >X >Xvoid XMLPlatformUtils::unlockMutex(void* const mtxHandle) >X{ >X if (mtxHandle != NULL) >X { >X if (pthread_mutex_unlock((pthread_mutex_t*) mtxHandle)) >X { >X ThrowXML(XMLPlatformUtilsException, >X XMLExcepts::Mutex_CouldNotUnlock); >X } >X } >X} >X >X >X// ----------------------------------------------------------------------- >X// Miscellaneous synchronization methods >X// ----------------------------------------------------------------------- >X >Xvoid* XMLPlatformUtils::compareAndSwap(void** toFill >X , const void* const newValue >X , const void* const toCompare) >X{ >X XMLMutexLock lockMutex(&atomicOpsMutex); >X >X void *retVal = *toFill; >X if (*toFill == toCompare) >X *toFill = (void *)newValue; >X >X return retVal; >X} >X >Xint XMLPlatformUtils::atomicIncrement(int &location) >X{ >X XMLMutexLock localLock(&atomicOpsMutex); >X >X return ++location; >X} >X >Xint XMLPlatformUtils::atomicDecrement(int &location) >X{ >X XMLMutexLock localLock(&atomicOpsMutex); >X >X return --location; >X} >X >X#else // #if !defined (APP_NO_THREADS) >X >Xvoid XMLPlatformUtils::platformInit() >X{ >X} >X >Xvoid* XMLPlatformUtils::makeMutex() >X{ >X return 0; >X} >X >Xvoid XMLPlatformUtils::closeMutex(void* const mtxHandle) >X{ >X} >X >Xvoid XMLPlatformUtils::lockMutex(void* const mtxHandle) >X{ >X} >X >Xvoid XMLPlatformUtils::unlockMutex(void* const mtxHandle) >X{ >X} >X >Xvoid* XMLPlatformUtils::compareAndSwap (void** toFill, >X const void* const newValue, >X const void* const toCompare) >X{ >X void *retVal = *toFill; >X if (*toFill == toCompare) >X *toFill = (void *)newValue; >X return retVal; >X} >X >Xint XMLPlatformUtils::atomicIncrement(int &location) >X{ >X return ++location; >X} >X >Xint XMLPlatformUtils::atomicDecrement(int &location) >X{ >X return --location; >X} >X >X#endif // APP_NO_THREADS >X >Xvoid XMLPlatformUtils::platformTerm() >X{ >X // We don't have any termination requirements at this time >X} >X >END-of-/usr/ports/textproc/xerces-c/files/FreeBSDPlatformUtils.cpp >echo x - /usr/ports/textproc/xerces-c/files/patch-ab >sed 's/^X//' >/usr/ports/textproc/xerces-c/files/patch-ab << 'END-of-/usr/ports/textproc/xerces-c/files/patch-ab' >X*** configure:1.1.1.1 Tue Jan 23 01:37:49 2001 >X+++ configure Fri Jan 26 12:42:00 2001 >X@@ -1302,6 +1302,7 @@ >X *-*-UnixWare*) platform=UNIXWARE ;; >X *-*-unixware*) platform=UNIXWARE ;; >X *-*-linux*) platform=LINUX ;; >X+ *-*-freebsd*) platform=FREEBSD ;; >X *-*-irix*) platform=IRIX ;; >X *-*-aix*) platform=AIX ;; >X *-sequent-*) platform=PTX ;; >X@@ -1478,6 +1479,7 @@ >X util/Platforms/Solaris/Makefile \ >X util/Platforms/AIX/Makefile \ >X util/Platforms/Linux/Makefile \ >X+util/Platforms/FreeBSD/Makefile \ >X util/Platforms/HPUX/Makefile \ >X util/Platforms/OS390/Makefile \ >X util/Platforms/OS400/Makefile \ >X@@ -1606,6 +1608,7 @@ >X util/Platforms/Solaris/Makefile \ >X util/Platforms/AIX/Makefile \ >X util/Platforms/Linux/Makefile \ >X+util/Platforms/FreeBSD/Makefile \ >X util/Platforms/HPUX/Makefile \ >X util/Platforms/OS390/Makefile \ >X util/Platforms/OS400/Makefile \ >END-of-/usr/ports/textproc/xerces-c/files/patch-ab >echo x - /usr/ports/textproc/xerces-c/files/patch-ac >sed 's/^X//' >/usr/ports/textproc/xerces-c/files/patch-ac << 'END-of-/usr/ports/textproc/xerces-c/files/patch-ac' >X*** configure.in:1.1.1.1 Tue Jan 23 01:37:50 2001 >X+++ configure.in Fri Jan 26 12:42:00 2001 >X@@ -34,6 +34,7 @@ >X *-*-UnixWare*) platform=UNIXWARE ;; >X *-*-unixware*) platform=UNIXWARE ;; >X *-*-linux*) platform=LINUX ;; >X+ *-*-freebsd*) platform=FREEBSD ;; >X *-*-irix*) platform=IRIX ;; >X *-*-aix*) platform=AIX ;; >X *-sequent-*) platform=PTX ;; >X@@ -98,6 +99,7 @@ >X util/Platforms/Solaris/Makefile \ >X util/Platforms/AIX/Makefile \ >X util/Platforms/Linux/Makefile \ >X+util/Platforms/FreeBSD/Makefile \ >X util/Platforms/HPUX/Makefile \ >X util/Platforms/OS390/Makefile \ >X util/Platforms/OS400/Makefile \ >END-of-/usr/ports/textproc/xerces-c/files/patch-ac >echo x - /usr/ports/textproc/xerces-c/files/patch-ad >sed 's/^X//' >/usr/ports/textproc/xerces-c/files/patch-ad << 'END-of-/usr/ports/textproc/xerces-c/files/patch-ad' >X*** runConfigure:1.1.1.1 Tue Jan 23 01:37:50 2001 >X+++ runConfigure Fri Jan 26 12:42:01 2001 >X@@ -79,7 +79,7 @@ >X echo "Usage: runConfigure \"options\"" >X echo " where options may be any of the following:" >X echo " -p <platform> (accepts 'aix', 'linux', 'solaris', >X- 'hp-10', 'hp-11', 'unixware', 'os400', 'irix', 'ptx', 'tru64' )" >X+ 'hp-10', 'hp-11', 'unixware', 'os400', 'irix', 'ptx', 'tru64', 'freebsd' )" >X echo " -c <C compiler name> (e.g. gcc, cc, xlc_r, icc)" >X echo " -x <C++ compiler name> (e.g. g++, CC, xlC_r, icc, c++)" >X echo " -d (specifies that you want to build debug version)" >X@@ -201,7 +201,7 @@ >X # >X >X case $platform in >X- aix | linux | solaris | hp-10 | hp-11 | irix | unixware | os400 | ptx | tru64) >X+ aix | linux | solaris | hp-10 | hp-11 | irix | unixware | os400 | ptx | tru64 | freebsd) >X # platform has been recognized >X ;; >X *) >X@@ -252,6 +252,19 @@ >X dce) >X threadingLibs="-lcma"; >X threadingDefines="-D_PTHREADS_DRAFT4 -DXML_USE_DCE" ;; >X+ >X+ *) >X+ echo "I do not recognize the thread option '$thread'. Please type '${0} -h' for help." >X+ exit ${ERROR_EXIT_CODE};; >X+ esac >X+ fi >X+elif test $platform = "freebsd"; then >X+ if test $thread; then >X+ case $thread in >X+ pthread) >X+ threadingLibs="-pthread" >X+ threadingDefines="-pthread" >X+ ;; >X >X *) >X echo "I do not recognize the thread option '$thread'. Please type '${0} -h' for help." >END-of-/usr/ports/textproc/xerces-c/files/patch-ad >echo x - /usr/ports/textproc/xerces-c/files/patch-ae >sed 's/^X//' >/usr/ports/textproc/xerces-c/files/patch-ae << 'END-of-/usr/ports/textproc/xerces-c/files/patch-ae' >X*** util/AutoSense.hpp:1.1.1.1 Tue Jan 23 01:37:53 2001 >X+++ util/AutoSense.hpp Fri Jan 26 12:42:01 2001 >X@@ -141,6 +145,9 @@ >X #endif >X #elif defined(__linux__) >X #define XML_LINUX >X+ #define XML_UNIX >X+#elif defined(__FreeBSD__) >X+ #define XML_FREEBSD >X #define XML_UNIX >X #elif defined(IRIX) >X #define XML_IRIX >X*** util/XercesDefs.hpp:1.1.1.1 Tue Jan 23 01:37:54 2001 >X+++ util/XercesDefs.hpp Fri Jan 26 12:42:01 2001 >X@@ -191,6 +195,10 @@ >X >X #if defined(XML_LINUX) >X #include <util/Platforms/Linux/LinuxDefs.hpp> >X+#endif >X+ >X+#if defined(XML_FREEBSD) >X+#include <util/Platforms/FreeBSD/FreeBSDDefs.hpp> >X #endif >X >X #if defined(XML_OS390) >END-of-/usr/ports/textproc/xerces-c/files/patch-ae >echo x - /usr/ports/textproc/xerces-c/files/patch-af >sed 's/^X//' >/usr/ports/textproc/xerces-c/files/patch-af << 'END-of-/usr/ports/textproc/xerces-c/files/patch-af' >X*** util/Platforms/Makefile.in:1.1.1.1 Tue Jan 23 01:37:56 2001 >X+++ util/Platforms/Makefile.in Fri Jan 26 12:42:01 2001 >X@@ -150,6 +154,9 @@ >X endif >X ifeq (${PLATFORM}, TRU64) >X SUBMODULE = Tru64 >X+endif >X+ifeq (${PLATFORM}, FREEBSD) >X+ SUBMODULE = FreeBSD >X endif >X >X includes:: >END-of-/usr/ports/textproc/xerces-c/files/patch-af >echo x - /usr/ports/textproc/xerces-c/distinfo >sed 's/^X//' >/usr/ports/textproc/xerces-c/distinfo << 'END-of-/usr/ports/textproc/xerces-c/distinfo' >XMD5 (xerces-c-src1_3_0.tar.gz) = a4ae10402823dba553b63431cfd712dc >END-of-/usr/ports/textproc/xerces-c/distinfo >echo x - /usr/ports/textproc/xerces-c/pkg-plist >sed 's/^X//' >/usr/ports/textproc/xerces-c/pkg-plist << 'END-of-/usr/ports/textproc/xerces-c/pkg-plist' >Xdom/DOM.hpp >Xdom/DOM_TreeWalker.hpp >Xdom/DOM_Text.hpp >Xdom/DOM_RangeException.hpp >Xdom/DOM_Range.hpp >Xdom/DOM_ProcessingInstruction.hpp >Xdom/DOM_Notation.hpp >Xdom/DOM_NodeList.hpp >Xdom/DOM_NodeIterator.hpp >Xdom/DOM_NodeFilter.hpp >Xdom/DOM_Node.hpp >Xdom/DOM_NamedNodeMap.hpp >Xdom/DomMemDebug.hpp >Xdom/DOM_EntityReference.hpp >Xdom/DOM_Entity.hpp >Xdom/DOM_Element.hpp >Xdom/DOM_DocumentType.hpp >Xdom/DOM_DocumentFragment.hpp >Xdom/DOM_Document.hpp >Xdom/DOM_DOMImplementation.hpp >Xdom/DOM_DOMException.hpp >Xdom/DOM_Comment.hpp >Xdom/DOM_CharacterData.hpp >Xdom/DOM_CDATASection.hpp >Xdom/DOM_Attr.hpp >Xdom/DOMString.hpp >Xdom/DOM_XMLDecl.hpp >Xframework/LocalFileInputSource.hpp >Xframework/XMLValidator.hpp >Xframework/XMLRefInfo.hpp >Xframework/XMLRecognizer.hpp >Xframework/XMLPScanToken.hpp >Xframework/XMLNotationDecl.hpp >Xframework/XMLFormatter.hpp >Xframework/XMLErrorReporter.hpp >Xframework/XMLErrorCodes.hpp >Xframework/XMLEntityHandler.hpp >Xframework/XMLEntityDecl.hpp >Xframework/XMLElementDecl.hpp >Xframework/XMLDocumentHandler.hpp >Xframework/XMLContentModel.hpp >Xframework/XMLBufferMgr.hpp >Xframework/XMLBuffer.hpp >Xframework/XMLAttr.hpp >Xframework/XMLAttDefList.hpp >Xframework/XMLAttDef.hpp >Xframework/URLInputSource.hpp >Xframework/StdInInputSource.hpp >Xframework/MemBufInputSource.hpp >Xframework/XMLValidityCodes.hpp >Xinternal/CharTypeTables.hpp >Xinternal/XMLReader.hpp >Xinternal/VecAttributesImpl.hpp >Xinternal/VecAttrListImpl.hpp >Xinternal/ReaderMgr.hpp >Xinternal/EndOfEntityException.hpp >Xinternal/ElemStack.hpp >Xinternal/XMLScanner.hpp >Xlib/libxerces-c1_3.so >Xparsers/SAX2XMLReaderImpl.hpp >Xparsers/SAXParser.hpp >Xparsers/DOMParser.hpp >Xsax/AttributeList.hpp >Xsax/SAXException.hpp >Xsax/Parser.hpp >Xsax/Locator.hpp >Xsax/InputSource.hpp >Xsax/HandlerBase.hpp >Xsax/ErrorHandler.hpp >Xsax/EntityResolver.hpp >Xsax/DocumentHandler.hpp >Xsax/DTDHandler.hpp >Xsax/SAXParseException.hpp >Xsax2/XMLReaderFactory.hpp >Xsax2/SAX2XMLReader.hpp >Xsax2/DefaultHandler.hpp >Xsax2/ContentHandler.hpp >Xsax2/Attributes.hpp >Xutil/ArrayIndexOutOfBoundsException.hpp >Xutil/ValueVectorOf.c >Xutil/ValueStackOf.c >Xutil/ValueArrayOf.c >Xutil/TransENameMap.c >Xutil/RefVectorOf.c >Xutil/RefStackOf.c >Xutil/RefHashTableOf.c >Xutil/RefArrayOf.c >Xutil/NameIdPool.c >Xutil/KeyValuePair.c >Xutil/Janitor.c >Xutil/FlagJanitor.c >Xutil/CountedPointer.c >Xutil/XMLWin1252Transcoder.hpp >Xutil/XMLUni.hpp >Xutil/XMLUniDefs.hpp >Xutil/XMLUTF8Transcoder.hpp >Xutil/XMLUTF16Transcoder.hpp >Xutil/XMLURL.hpp >Xutil/XMLUCS4Transcoder.hpp >Xutil/XMLString.hpp >Xutil/XMLNetAccessor.hpp >Xutil/XMLMsgLoader.hpp >Xutil/XMLException.hpp >Xutil/XMLExceptMsgs.hpp >Xutil/XMLEnumerator.hpp >Xutil/XMLEBCDICTranscoder.hpp >Xutil/XMLDeleterFor.hpp >Xutil/XMLIBM1140Transcoder.hpp >Xutil/XMLChTranscoder.hpp >Xutil/XMLASCIITranscoder.hpp >Xutil/XML88591Transcoder.hpp >Xutil/XML256TableTranscoder.hpp >Xutil/XercesDefs.hpp >Xutil/ValueVectorOf.hpp >Xutil/ValueStackOf.hpp >Xutil/ValueArrayOf.hpp >Xutil/UnsupportedEncodingException.hpp >Xutil/UnexpectedEOFException.hpp >Xutil/UTFDataFormatException.hpp >Xutil/TranscodingException.hpp >Xutil/TransService.hpp >Xutil/TransENameMap.hpp >Xutil/StringPool.hpp >Xutil/RuntimeException.hpp >Xutil/RefVectorOf.hpp >Xutil/RefStackOf.hpp >Xutil/RefHashTableOf.hpp >Xutil/RefArrayOf.hpp >Xutil/PlatformUtils.hpp >Xutil/NullPointerException.hpp >Xutil/NoSuchElementException.hpp >Xutil/NoDefTranscoderException.hpp >Xutil/NameIdPool.hpp >Xutil/Mutexes.hpp >Xutil/KeyValuePair.hpp >Xutil/KVStringPair.hpp >Xutil/Janitor.hpp >Xutil/InvalidCastException.hpp >Xutil/IllegalArgumentException.hpp >Xutil/IOException.hpp >Xutil/HashPtr.hpp >Xutil/HashXMLCh.hpp >Xutil/HashBase.hpp >Xutil/FlagJanitor.hpp >Xutil/EmptyStackException.hpp >Xutil/CountedPointer.hpp >Xutil/BitSet.hpp >Xutil/BitOps.hpp >Xutil/AutoSense.hpp >Xutil/BinMemInputStream.hpp >Xutil/BinInputStream.hpp >Xutil/BinFileInputStream.hpp >Xutil/XMLDeleterFor.c >Xutil/Platforms/FreeBSD/FreeBSDDefs.hpp >Xutil/Transcoders/ICU/ICUTransService.hpp >Xutil/MsgLoaders/InMemory/InMemMsgLoader.hpp >Xutil/MsgLoaders/InMemory/CppErrMsgs_EN_US.hpp >Xutil/Compilers/BorlandCDefs.hpp >Xutil/Compilers/TandemCCDefs.hpp >Xutil/Compilers/MIPSproDefs.hpp >Xutil/Compilers/OS400SetDefs.hpp >Xutil/Compilers/SunKaiDefs.hpp >Xutil/Compilers/SunCCDefs.hpp >Xutil/Compilers/SCOCCDefs.hpp >Xutil/Compilers/PTXCCDefs.hpp >Xutil/Compilers/MVSCPPDefs.hpp >Xutil/Compilers/IBMVAW32Defs.hpp >Xutil/Compilers/IBMVAOS2Defs.hpp >Xutil/Compilers/HPCCDefs.hpp >Xutil/Compilers/GCCDefs.hpp >Xutil/Compilers/DECCXXDefs.hpp >Xutil/Compilers/CodeWarriorDefs.hpp >Xutil/Compilers/CSetDefs.hpp >Xutil/Compilers/VCPPDefs.hpp >Xvalidators/DTD/CMBinaryOp.hpp >Xvalidators/DTD/MixedContentModel.hpp >Xvalidators/DTD/DocTypeHandler.hpp >Xvalidators/DTD/DTDValidator.hpp >Xvalidators/DTD/DTDEntityDecl.hpp >Xvalidators/DTD/DTDElementDecl.hpp >Xvalidators/DTD/DTDAttDefList.hpp >Xvalidators/DTD/DTDAttDef.hpp >Xvalidators/DTD/DFAContentModel.hpp >Xvalidators/DTD/ContentSpecNode.hpp >Xvalidators/DTD/CMUnaryOp.hpp >Xvalidators/DTD/CMStateSet.hpp >Xvalidators/DTD/CMNode.hpp >Xvalidators/DTD/CMLeaf.hpp >Xvalidators/DTD/SimpleContentModel.hpp >X@dirrm dom >X@dirrm framework >X@dirrm internal >X@dirrm lib >X@dirrm parsers >X@dirrm sax >X@dirrm sax2 >X@dirrm util/Platforms/FreeBSD >X@dirrm util/Platforms >X@dirrm util/Transcoders/ICU >X@dirrm util/Transcoders >X@dirrm util/MsgLoaders/InMemory >X@dirrm util/MsgLoaders >X@dirrm util/Compilers >X@dirrm util >X@dirrm validators/DTD >X@dirrm validators >END-of-/usr/ports/textproc/xerces-c/pkg-plist >echo x - /usr/ports/textproc/xerces-c/pkg-descr >sed 's/^X//' >/usr/ports/textproc/xerces-c/pkg-descr << 'END-of-/usr/ports/textproc/xerces-c/pkg-descr' >X Xerces-C++ Version 1.3.0 >X >XXerces-C is a validating XML parser written in a portable subset of >XC++. Xerces-C makes it easy to give your application the ability to read >Xand write XML data. A shared library is provided for parsing, >Xgenerating, manipulating, and validating XML documents. Xerces-C is >Xfaithful to the XML 1.0 recommendation and associated standards (DOM >X1.0, SAX 1.0, SAX 2.0, Namespaces, DOM Level 2). The parser provides >Xhigh performance, modularity, and scalability. >X >XWWW: http://xml.apache.org/xerces-c/index.html >END-of-/usr/ports/textproc/xerces-c/pkg-descr >echo x - /usr/ports/textproc/xerces-c/pkg-comment >sed 's/^X//' >/usr/ports/textproc/xerces-c/pkg-comment << 'END-of-/usr/ports/textproc/xerces-c/pkg-comment' >XXerces-C validating XML parser in C++ >END-of-/usr/ports/textproc/xerces-c/pkg-comment >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 24660
: 12858