Subject: pkg/23861: textproc/xerces-c update to 2.3.0
To: None <gnats-bugs@gnats.NetBSD.org>
From: Min Sik Kim <minskim@bawi.org>
List: netbsd-bugs
Date: 12/23/2003 13:02:50
>Number:         23861
>Category:       pkg
>Synopsis:       textproc/xerces-c update to 2.3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 23 19:04:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Min Sik Kim
>Release:        NetBSD 1.6ZG
>Organization:
>Environment:
System: NetBSD sulley.infnis.com 1.6ZG NetBSD 1.6ZG (SULLEY) #4: Sat Dec 13 23:18:32 CST 2003 root@sulley.infnis.com:/usr/obj/sys/arch/i386/compile/SULLEY i386
Architecture: i386
Machine: i386
>Description:
So many changes since 1.7.0.

See http://xml.apache.org/xerces-c/releases_archive.html for release
information.

The most recent version is 2.4.0, but this is the version required by
p5-XML-Xerces-2.3.0-4 (http://xml.apache.org/xerces-p/).  I'm not sure
if p5-XML-Xerces-2.3.0-4 works with 2.4.0.

>How-To-Repeat:
>Fix:

Index: DESCR
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xerces-c/DESCR,v
retrieving revision 1.2
diff -u -r1.2 DESCR
--- DESCR	2003/05/06 17:42:52	1.2
+++ DESCR	2003/12/23 18:27:55
@@ -1,8 +1,7 @@
-Xerces (named after the Xerces Blue butterfly) provides world-class XML
-parsing and generation. Fully-validating parsers are available for both
-Java and C++, implementing the W3C XML and DOM (Level 1 and 2) standards,
-as well as the defacto SAX (version 2) standard. The parsers are highly
-modular and configurable.  Initial support for XML Schema (draft W3C
-standard) is also provided.
+Xerces-C++ is a validating XML parser written in a portable subset of
+C++.  Xerces-C++ makes it easy to give your application the ability to
+read and write XML data.  A shared library is provided for parsing,
+generating, manipulating, and validating XML documents.
 
-This package provides the C++ version of Xerces.
+Xerces-C++ is faithful to the XML 1.0 recommendation and many
+associated standards.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xerces-c/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile	2003/07/21 17:27:56	1.13
+++ Makefile	2003/12/23 18:27:55
@@ -1,11 +1,11 @@
 # $NetBSD: Makefile,v 1.13 2003/07/21 17:27:56 martti Exp $
 #
 
-DISTNAME=	xerces-c-src1_7_0
-PKGNAME=	${DISTNAME:S/-src/-/:S/_/./g}
+DISTNAME=	xerces-c-src_2_3_0
+PKGNAME=	${DISTNAME:S/-src_/-/:S/_/./g}
 WRKSRC=		${WRKDIR}/${DISTNAME}/src/xercesc
 CATEGORIES=	textproc
-MASTER_SITES=	http://xml.apache.org/dist/xerces-c/stable/archives/Xerces-C_${DISTNAME:S/xerces-c-src//}/
+MASTER_SITES=	http://archive.apache.org/dist/xml/xerces-c/
 
 MAINTAINER=	tech-pkg@NetBSD.org
 HOMEPAGE=	http://xml.apache.org/xerces-c/
@@ -23,29 +23,25 @@
 XERCES_PLATFORM=	${LOWER_OPSYS}
 .endif
 XERCES_ENV+=		XERCESCROOT="${WRKDIR}/${DISTNAME}"
-XERCES_ENV+=		ICUROOT="${BUILDLINK_PREFIX.icu}"
 
 HAS_CONFIGURE=		YES
 CONFIGURE_SCRIPT=	./runConfigure
 CONFIGURE_ARGS+=	-P ${PREFIX}		# installation prefix
 CONFIGURE_ARGS+=	-p ${XERCES_PLATFORM}	# platform
 CONFIGURE_ARGS+=	-n socket		# net accessor
-CONFIGURE_ARGS+=	-m icu			# message loader
-CONFIGURE_ARGS+=	-t icu			# transcoder
+CONFIGURE_ARGS+=	-m iconv		# message loader
 CONFIGURE_ARGS+=	-r none			# threading
 
+.include "../../converters/libiconv/buildlink2.mk"
+.if defined(ICONV_IS_GNU)
+CONFIGURE_ARGS+=	-t IconvGNU		# transcoder
+PLIST_SUBST+=		NATIVEICONV="@comment " GNUICONV=""
+.else
+CONFIGURE_ARGS+=	-t native		# transcoder
+PLIST_SUBST+=		NATIVEICONV="" GNUICONV="@comment "
+.endif
+
 CONFIGURE_ENV+=		${XERCES_ENV}
 MAKE_ENV+=		${XERCES_ENV}
 
-post-extract:
-	${MKDIR} ${WRKSRC}/util/Platforms/NetBSD
-	${CP}	${FILESDIR}/Makefile.in					\
-		${FILESDIR}/NetBSDDefs.hpp				\
-		${FILESDIR}/NetBSDPlatformUtils.cpp			\
-		${WRKSRC}/util/Platforms/NetBSD
-
-pre-configure:
-	${CHMOD} +x ${WRKSRC}/${CONFIGURE_SCRIPT}
-
-.include "../../textproc/icu/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xerces-c/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- PLIST	2003/06/23 07:52:39	1.2
+++ PLIST	2003/12/23 18:27:56
@@ -1,352 +1,407 @@
 @comment $NetBSD: PLIST,v 1.2 2003/06/23 07:52:39 jlam Exp $
-include/xercesc/dom/DOM.hpp
-include/xercesc/dom/DOMString.hpp
-include/xercesc/dom/DOM_Attr.hpp
-include/xercesc/dom/DOM_CDATASection.hpp
-include/xercesc/dom/DOM_CharacterData.hpp
-include/xercesc/dom/DOM_Comment.hpp
-include/xercesc/dom/DOM_DOMException.hpp
-include/xercesc/dom/DOM_DOMImplementation.hpp
-include/xercesc/dom/DOM_Document.hpp
-include/xercesc/dom/DOM_DocumentFragment.hpp
-include/xercesc/dom/DOM_DocumentType.hpp
-include/xercesc/dom/DOM_Element.hpp
-include/xercesc/dom/DOM_Entity.hpp
-include/xercesc/dom/DOM_EntityReference.hpp
-include/xercesc/dom/DOM_NamedNodeMap.hpp
-include/xercesc/dom/DOM_Node.hpp
-include/xercesc/dom/DOM_NodeFilter.hpp
-include/xercesc/dom/DOM_NodeIterator.hpp
-include/xercesc/dom/DOM_NodeList.hpp
-include/xercesc/dom/DOM_Notation.hpp
-include/xercesc/dom/DOM_ProcessingInstruction.hpp
-include/xercesc/dom/DOM_Range.hpp
-include/xercesc/dom/DOM_RangeException.hpp
-include/xercesc/dom/DOM_Text.hpp
-include/xercesc/dom/DOM_TreeWalker.hpp
-include/xercesc/dom/DOM_XMLDecl.hpp
-include/xercesc/dom/DomMemDebug.hpp
-include/xercesc/framework/LocalFileInputSource.hpp
-include/xercesc/framework/MemBufInputSource.hpp
-include/xercesc/framework/StdInInputSource.hpp
-include/xercesc/framework/URLInputSource.hpp
-include/xercesc/framework/XMLAttDef.hpp
-include/xercesc/framework/XMLAttDefList.hpp
-include/xercesc/framework/XMLAttr.hpp
-include/xercesc/framework/XMLBuffer.hpp
-include/xercesc/framework/XMLBufferMgr.hpp
-include/xercesc/framework/XMLContentModel.hpp
-include/xercesc/framework/XMLDocumentHandler.hpp
-include/xercesc/framework/XMLElementDecl.hpp
-include/xercesc/framework/XMLEntityDecl.hpp
-include/xercesc/framework/XMLEntityHandler.hpp
-include/xercesc/framework/XMLErrorCodes.hpp
-include/xercesc/framework/XMLErrorReporter.hpp
-include/xercesc/framework/XMLFormatter.hpp
-include/xercesc/framework/XMLNotationDecl.hpp
-include/xercesc/framework/XMLPScanToken.hpp
-include/xercesc/framework/XMLRecognizer.hpp
-include/xercesc/framework/XMLRefInfo.hpp
-include/xercesc/framework/XMLValidator.hpp
-include/xercesc/framework/XMLValidityCodes.hpp
-include/xercesc/idom/IDCasts.hpp
-include/xercesc/idom/IDChildNode.hpp
-include/xercesc/idom/IDDeepNodeListPool.c
-include/xercesc/idom/IDDeepNodeListPool.hpp
-include/xercesc/idom/IDNodeIDMap.hpp
-include/xercesc/idom/IDNodeVector.hpp
-include/xercesc/idom/IDOM.hpp
-include/xercesc/idom/IDOM_Attr.hpp
-include/xercesc/idom/IDOM_CDATASection.hpp
-include/xercesc/idom/IDOM_CharacterData.hpp
-include/xercesc/idom/IDOM_Comment.hpp
-include/xercesc/idom/IDOM_DOMException.hpp
-include/xercesc/idom/IDOM_DOMImplementation.hpp
-include/xercesc/idom/IDOM_Document.hpp
-include/xercesc/idom/IDOM_DocumentFragment.hpp
-include/xercesc/idom/IDOM_DocumentType.hpp
-include/xercesc/idom/IDOM_Element.hpp
-include/xercesc/idom/IDOM_Entity.hpp
-include/xercesc/idom/IDOM_EntityReference.hpp
-include/xercesc/idom/IDOM_NamedNodeMap.hpp
-include/xercesc/idom/IDOM_Node.hpp
-include/xercesc/idom/IDOM_NodeFilter.hpp
-include/xercesc/idom/IDOM_NodeIterator.hpp
-include/xercesc/idom/IDOM_NodeList.hpp
-include/xercesc/idom/IDOM_Notation.hpp
-include/xercesc/idom/IDOM_ProcessingInstruction.hpp
-include/xercesc/idom/IDOM_Range.hpp
-include/xercesc/idom/IDOM_RangeException.hpp
-include/xercesc/idom/IDOM_Text.hpp
-include/xercesc/idom/IDOM_TreeWalker.hpp
-include/xercesc/idom/IDParentNode.hpp
-include/xercesc/idom/IDStringPool.hpp
-include/xercesc/internal/CharTypeTables.hpp
-include/xercesc/internal/ElemStack.hpp
-include/xercesc/internal/EndOfEntityException.hpp
-include/xercesc/internal/ReaderMgr.hpp
-include/xercesc/internal/VecAttrListImpl.hpp
-include/xercesc/internal/VecAttributesImpl.hpp
-include/xercesc/internal/XMLInternalErrorHandler.hpp
-include/xercesc/internal/XMLReader.hpp
-include/xercesc/internal/XMLScanner.hpp
-include/xercesc/parsers/DOMParser.hpp
-include/xercesc/parsers/IDOMParser.hpp
-include/xercesc/parsers/SAX2XMLReaderImpl.hpp
-include/xercesc/parsers/SAXParser.hpp
-include/xercesc/sax/AttributeList.hpp
-include/xercesc/sax/DTDHandler.hpp
-include/xercesc/sax/DocumentHandler.hpp
-include/xercesc/sax/EntityResolver.hpp
-include/xercesc/sax/ErrorHandler.hpp
-include/xercesc/sax/HandlerBase.hpp
-include/xercesc/sax/InputSource.hpp
-include/xercesc/sax/Locator.hpp
-include/xercesc/sax/Parser.hpp
-include/xercesc/sax/SAXException.hpp
-include/xercesc/sax/SAXParseException.hpp
-include/xercesc/sax2/Attributes.hpp
-include/xercesc/sax2/ContentHandler.hpp
-include/xercesc/sax2/DeclHandler.hpp
-include/xercesc/sax2/DefaultHandler.hpp
-include/xercesc/sax2/LexicalHandler.hpp
-include/xercesc/sax2/SAX2XMLReader.hpp
-include/xercesc/sax2/XMLReaderFactory.hpp
 include/xercesc/util/ArrayIndexOutOfBoundsException.hpp
-include/xercesc/util/AutoSense.hpp
-include/xercesc/util/Base64.hpp
-include/xercesc/util/BinFileInputStream.hpp
-include/xercesc/util/BinInputStream.hpp
-include/xercesc/util/BinMemInputStream.hpp
-include/xercesc/util/BitOps.hpp
-include/xercesc/util/BitSet.hpp
-include/xercesc/util/Compilers/BorlandCDefs.hpp
-include/xercesc/util/Compilers/CSetDefs.hpp
-include/xercesc/util/Compilers/CodeWarriorDefs.hpp
-include/xercesc/util/Compilers/DECCXXDefs.hpp
-include/xercesc/util/Compilers/GCCDefs.hpp
-include/xercesc/util/Compilers/HPCCDefs.hpp
-include/xercesc/util/Compilers/IBMVAOS2Defs.hpp
-include/xercesc/util/Compilers/IBMVAW32Defs.hpp
-include/xercesc/util/Compilers/MIPSproDefs.hpp
-include/xercesc/util/Compilers/MVSCPPDefs.hpp
-include/xercesc/util/Compilers/OS400SetDefs.hpp
-include/xercesc/util/Compilers/PTXCCDefs.hpp
-include/xercesc/util/Compilers/SCOCCDefs.hpp
-include/xercesc/util/Compilers/SunCCDefs.hpp
-include/xercesc/util/Compilers/SunKaiDefs.hpp
-include/xercesc/util/Compilers/TandemCCDefs.hpp
-include/xercesc/util/Compilers/VCPPDefs.hpp
-include/xercesc/util/CountedPointer.c
-include/xercesc/util/CountedPointer.hpp
-include/xercesc/util/EmptyStackException.hpp
-include/xercesc/util/FlagJanitor.c
-include/xercesc/util/FlagJanitor.hpp
-include/xercesc/util/HashBase.hpp
-include/xercesc/util/HashCMStateSet.hpp
-include/xercesc/util/HashPtr.hpp
-include/xercesc/util/HashXMLCh.hpp
-include/xercesc/util/HexBin.hpp
-include/xercesc/util/IOException.hpp
-include/xercesc/util/IllegalArgumentException.hpp
-include/xercesc/util/InvalidCastException.hpp
-include/xercesc/util/Janitor.c
-include/xercesc/util/Janitor.hpp
-include/xercesc/util/KVStringPair.hpp
-include/xercesc/util/KeyValuePair.c
-include/xercesc/util/KeyValuePair.hpp
-include/xercesc/util/MsgLoaders/ICU/ICUMsgLoader.hpp
-include/xercesc/util/Mutexes.hpp
-include/xercesc/util/NameIdPool.c
-include/xercesc/util/NameIdPool.hpp
-include/xercesc/util/NoDefTranscoderException.hpp
-include/xercesc/util/NoSuchElementException.hpp
-include/xercesc/util/NullPointerException.hpp
-include/xercesc/util/NumberFormatException.hpp
-include/xercesc/util/ParseException.hpp
-include/xercesc/util/PlatformUtils.hpp
-include/xercesc/util/Platforms/NetBSD/NetBSDDefs.hpp
-include/xercesc/util/QName.hpp
-include/xercesc/util/RefArrayOf.c
-include/xercesc/util/RefArrayOf.hpp
-include/xercesc/util/RefHash2KeysTableOf.c
-include/xercesc/util/RefHash2KeysTableOf.hpp
-include/xercesc/util/RefHash3KeysIdPool.c
-include/xercesc/util/RefHash3KeysIdPool.hpp
-include/xercesc/util/RefHashTableOf.c
-include/xercesc/util/RefHashTableOf.hpp
-include/xercesc/util/RefStackOf.c
-include/xercesc/util/RefStackOf.hpp
-include/xercesc/util/RefVectorOf.c
-include/xercesc/util/RefVectorOf.hpp
-include/xercesc/util/RuntimeException.hpp
-include/xercesc/util/SchemaDateTimeException.hpp
-include/xercesc/util/StringPool.hpp
-include/xercesc/util/TransENameMap.c
-include/xercesc/util/TransENameMap.hpp
-include/xercesc/util/TransService.hpp
-include/xercesc/util/Transcoders/ICU/ICUTransService.hpp
-include/xercesc/util/TranscodingException.hpp
-include/xercesc/util/UTFDataFormatException.hpp
-include/xercesc/util/UnexpectedEOFException.hpp
-include/xercesc/util/UnsupportedEncodingException.hpp
-include/xercesc/util/ValueArrayOf.c
-include/xercesc/util/ValueArrayOf.hpp
-include/xercesc/util/ValueStackOf.c
-include/xercesc/util/ValueStackOf.hpp
 include/xercesc/util/ValueVectorOf.c
-include/xercesc/util/ValueVectorOf.hpp
-include/xercesc/util/XML256TableTranscoder.hpp
-include/xercesc/util/XML88591Transcoder.hpp
-include/xercesc/util/XMLASCIITranscoder.hpp
-include/xercesc/util/XMLAbstractDoubleFloat.hpp
-include/xercesc/util/XMLBigDecimal.hpp
-include/xercesc/util/XMLBigInteger.hpp
-include/xercesc/util/XMLChTranscoder.hpp
-include/xercesc/util/XMLDateTime.hpp
-include/xercesc/util/XMLDeleterFor.c
-include/xercesc/util/XMLDeleterFor.hpp
-include/xercesc/util/XMLDouble.hpp
-include/xercesc/util/XMLEBCDICTranscoder.hpp
-include/xercesc/util/XMLEnumerator.hpp
-include/xercesc/util/XMLExceptMsgs.hpp
-include/xercesc/util/XMLException.hpp
-include/xercesc/util/XMLFloat.hpp
-include/xercesc/util/XMLIBM1140Transcoder.hpp
-include/xercesc/util/XMLInteger.hpp
-include/xercesc/util/XMLMsgLoader.hpp
-include/xercesc/util/XMLNetAccessor.hpp
-include/xercesc/util/XMLNumber.hpp
-include/xercesc/util/XMLRegisterCleanup.hpp
-include/xercesc/util/XMLString.hpp
-include/xercesc/util/XMLStringTokenizer.hpp
-include/xercesc/util/XMLUCS4Transcoder.hpp
-include/xercesc/util/XMLURL.hpp
-include/xercesc/util/XMLUTF16Transcoder.hpp
-include/xercesc/util/XMLUTF8Transcoder.hpp
+include/xercesc/util/ValueStackOf.c
+include/xercesc/util/ValueHashTableOf.c
+include/xercesc/util/ValueArrayOf.c
+include/xercesc/util/TransENameMap.c
+include/xercesc/util/RefVectorOf.c
+include/xercesc/util/RefStackOf.c
+include/xercesc/util/RefHashTableOf.c
+include/xercesc/util/RefHash3KeysIdPool.c
+include/xercesc/util/RefHash2KeysTableOf.c
+include/xercesc/util/RefArrayOf.c
+include/xercesc/util/RefArrayVectorOf.c
+include/xercesc/util/RefArrayVectorOf.hpp
+include/xercesc/util/BaseRefVectorOf.c
+include/xercesc/util/BaseRefVectorOf.hpp
+include/xercesc/util/NameIdPool.c
+include/xercesc/util/KeyValuePair.c
+include/xercesc/util/KeyRefPair.c
+include/xercesc/util/Janitor.c
+include/xercesc/util/FlagJanitor.c
+include/xercesc/util/CountedPointer.c
+include/xercesc/util/XMLWin1252Transcoder.hpp
 include/xercesc/util/XMLUni.hpp
 include/xercesc/util/XMLUniDefs.hpp
+include/xercesc/util/XMLUTF8Transcoder.hpp
+include/xercesc/util/XMLUTF16Transcoder.hpp
+include/xercesc/util/XMLURL.hpp
 include/xercesc/util/XMLUri.hpp
-include/xercesc/util/XMLWin1252Transcoder.hpp
-include/xercesc/util/XercesDefs.hpp
-include/xercesc/util/regx/ASCIIRangeFactory.hpp
-include/xercesc/util/regx/BMPattern.hpp
-include/xercesc/util/regx/BlockRangeFactory.hpp
-include/xercesc/util/regx/CharToken.hpp
-include/xercesc/util/regx/ClosureToken.hpp
-include/xercesc/util/regx/ConcatToken.hpp
-include/xercesc/util/regx/ConditionToken.hpp
-include/xercesc/util/regx/Match.hpp
-include/xercesc/util/regx/ModifierToken.hpp
-include/xercesc/util/regx/Op.hpp
-include/xercesc/util/regx/OpFactory.hpp
-include/xercesc/util/regx/ParenToken.hpp
-include/xercesc/util/regx/ParserForXMLSchema.hpp
-include/xercesc/util/regx/RangeFactory.hpp
-include/xercesc/util/regx/RangeToken.hpp
-include/xercesc/util/regx/RangeTokenMap.hpp
-include/xercesc/util/regx/RegularExpression.hpp
+include/xercesc/util/XMLUCS4Transcoder.hpp
+include/xercesc/util/XMLString.hpp
+include/xercesc/util/XMLRegisterCleanup.hpp
+include/xercesc/util/XMLNetAccessor.hpp
+include/xercesc/util/XMLMsgLoader.hpp
+include/xercesc/util/XMLFloat.hpp
+include/xercesc/util/XMLException.hpp
+include/xercesc/util/XMLExceptMsgs.hpp
+include/xercesc/util/XMLEnumerator.hpp
+include/xercesc/util/XMLEBCDICTranscoder.hpp
+include/xercesc/util/XMLDeleterFor.hpp
+include/xercesc/util/XMLDOMMsg.hpp
+include/xercesc/util/XMLChar.hpp
+include/xercesc/util/XMemory.hpp
+include/xercesc/util/SecurityManager.hpp
+include/xercesc/util/PanicHandler.hpp
+include/xercesc/util/DefaultPanicHandler.hpp
+include/xercesc/util/LogicalPath.c
 include/xercesc/util/regx/RegxDefs.hpp
+include/xercesc/util/regx/ParserForXMLSchema.hpp
 include/xercesc/util/regx/RegxParser.hpp
-include/xercesc/util/regx/RegxUtil.hpp
-include/xercesc/util/regx/StringToken.hpp
-include/xercesc/util/regx/Token.hpp
 include/xercesc/util/regx/TokenFactory.hpp
-include/xercesc/util/regx/TokenInc.hpp
-include/xercesc/util/regx/UniCharTable.hpp
+include/xercesc/util/regx/RangeTokenMap.hpp
+include/xercesc/util/regx/ASCIIRangeFactory.hpp
 include/xercesc/util/regx/UnicodeRangeFactory.hpp
-include/xercesc/util/regx/UnionToken.hpp
+include/xercesc/util/regx/BlockRangeFactory.hpp
 include/xercesc/util/regx/XMLRangeFactory.hpp
+include/xercesc/util/regx/RangeFactory.hpp
 include/xercesc/util/regx/XMLUniCharacter.hpp
-include/xercesc/validators/DTD/DTDAttDef.hpp
-include/xercesc/validators/DTD/DTDAttDefList.hpp
-include/xercesc/validators/DTD/DTDElementDecl.hpp
-include/xercesc/validators/DTD/DTDEntityDecl.hpp
-include/xercesc/validators/DTD/DTDGrammar.hpp
-include/xercesc/validators/DTD/DTDScanner.hpp
-include/xercesc/validators/DTD/DTDValidator.hpp
-include/xercesc/validators/DTD/DocTypeHandler.hpp
+include/xercesc/util/regx/TokenInc.hpp
+include/xercesc/util/regx/UnionToken.hpp
+include/xercesc/util/regx/StringToken.hpp
+include/xercesc/util/regx/ParenToken.hpp
+include/xercesc/util/regx/ModifierToken.hpp
+include/xercesc/util/regx/ConditionToken.hpp
+include/xercesc/util/regx/Token.hpp
+include/xercesc/util/regx/ConcatToken.hpp
+include/xercesc/util/regx/ClosureToken.hpp
+include/xercesc/util/regx/CharToken.hpp
+include/xercesc/util/regx/RangeToken.hpp
+include/xercesc/util/regx/RegxUtil.hpp
+include/xercesc/util/regx/Match.hpp
+include/xercesc/util/regx/BMPattern.hpp
+include/xercesc/util/regx/OpFactory.hpp
+include/xercesc/util/regx/Op.hpp
+include/xercesc/util/regx/UniCharTable.hpp
+include/xercesc/util/regx/RegularExpression.hpp
+include/xercesc/util/XMLIBM1140Transcoder.hpp
+include/xercesc/util/XMLInteger.hpp
+include/xercesc/util/XMLChTranscoder.hpp
+include/xercesc/util/XMLDateTime.hpp
+include/xercesc/util/XMLDouble.hpp
+include/xercesc/util/XMLAbstractDoubleFloat.hpp
+include/xercesc/util/XMLBigInteger.hpp
+include/xercesc/util/XMLBigDecimal.hpp
+include/xercesc/util/XMLNumber.hpp
+include/xercesc/util/XMLASCIITranscoder.hpp
+include/xercesc/util/XML88591Transcoder.hpp
+include/xercesc/util/XML256TableTranscoder.hpp
+include/xercesc/util/XercesVersion.hpp
+include/xercesc/util/XercesDefs.hpp
+include/xercesc/util/ValueVectorOf.hpp
+include/xercesc/util/ValueStackOf.hpp
+include/xercesc/util/ValueHashTableOf.hpp
+include/xercesc/util/QName.hpp
+include/xercesc/util/ValueArrayOf.hpp
+include/xercesc/util/UnsupportedEncodingException.hpp
+include/xercesc/util/UnexpectedEOFException.hpp
+include/xercesc/util/UTFDataFormatException.hpp
+include/xercesc/util/TranscodingException.hpp
+include/xercesc/util/TransService.hpp
+include/xercesc/util/TransENameMap.hpp
+include/xercesc/util/XMLStringTokenizer.hpp
+include/xercesc/util/StringPool.hpp
+include/xercesc/util/SchemaDateTimeException.hpp
+include/xercesc/util/RuntimeException.hpp
+include/xercesc/util/RefVectorOf.hpp
+include/xercesc/util/RefStackOf.hpp
+include/xercesc/util/RefHashTableOf.hpp
+include/xercesc/util/RefHash3KeysIdPool.hpp
+include/xercesc/util/RefHash2KeysTableOf.hpp
+include/xercesc/util/RefArrayOf.hpp
+include/xercesc/util/PlatformUtils.hpp
+include/xercesc/util/ParseException.hpp
+include/xercesc/util/NumberFormatException.hpp
+include/xercesc/util/NullPointerException.hpp
+include/xercesc/util/NoSuchElementException.hpp
+include/xercesc/util/NoDefTranscoderException.hpp
+include/xercesc/util/NameIdPool.hpp
+include/xercesc/util/Mutexes.hpp
+include/xercesc/util/KeyValuePair.hpp
+include/xercesc/util/KeyRefPair.hpp
+include/xercesc/util/KVStringPair.hpp
+include/xercesc/util/Janitor.hpp
+include/xercesc/util/InvalidCastException.hpp
+include/xercesc/util/IllegalArgumentException.hpp
+include/xercesc/util/IOException.hpp
+include/xercesc/util/HexBin.hpp
+include/xercesc/util/HashPtr.hpp
+include/xercesc/util/HashXMLCh.hpp
+include/xercesc/util/HashCMStateSet.hpp
+include/xercesc/util/HashBase.hpp
+include/xercesc/util/FlagJanitor.hpp
+include/xercesc/util/EncodingValidator.hpp
+include/xercesc/util/EmptyStackException.hpp
+include/xercesc/util/CountedPointer.hpp
+include/xercesc/util/BitSet.hpp
+include/xercesc/util/BitOps.hpp
+include/xercesc/util/BinMemInputStream.hpp
+include/xercesc/util/BinInputStream.hpp
+include/xercesc/util/BinFileInputStream.hpp
+include/xercesc/util/Base64.hpp
+include/xercesc/util/AutoSense.hpp
+include/xercesc/util/XMLDeleterFor.c
+include/xercesc/util/Platforms/${OPSYS}/${OPSYS}Defs.hpp
+${NATIVEICONV}include/xercesc/util/Transcoders/Iconv/IconvTransService.hpp
+${GNUICONV}include/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.hpp
+include/xercesc/util/MsgLoaders/MsgCatalog/MsgCatalogLoader.hpp
+include/xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.hpp
+include/xercesc/util/NetAccessors/Socket/SocketNetAccessor.hpp
+include/xercesc/util/Compilers/BorlandCDefs.hpp
+include/xercesc/util/Compilers/TandemCCDefs.hpp
+include/xercesc/util/Compilers/MIPSproDefs.hpp
+include/xercesc/util/Compilers/OS400SetDefs.hpp
+include/xercesc/util/Compilers/SunKaiDefs.hpp
+include/xercesc/util/Compilers/SunCCDefs.hpp
+include/xercesc/util/Compilers/SCOCCDefs.hpp
+include/xercesc/util/Compilers/QCCDefs.hpp
+include/xercesc/util/Compilers/PTXCCDefs.hpp
+include/xercesc/util/Compilers/MVSCPPDefs.hpp
+include/xercesc/util/Compilers/IBMVAW32Defs.hpp
+include/xercesc/util/Compilers/IBMVAOS2Defs.hpp
+include/xercesc/util/Compilers/HPCCDefs.hpp
+include/xercesc/util/Compilers/GCCDefs.hpp
+include/xercesc/util/Compilers/DECCXXDefs.hpp
+include/xercesc/util/Compilers/CodeWarriorDefs.hpp
+include/xercesc/util/Compilers/CSetDefs.hpp
+include/xercesc/util/Compilers/VCPPDefs.hpp
+include/xercesc/sax/AttributeList.hpp
+include/xercesc/sax/SAXException.hpp
+include/xercesc/sax/Parser.hpp
+include/xercesc/sax/Locator.hpp
+include/xercesc/sax/InputSource.hpp
+include/xercesc/sax/HandlerBase.hpp
+include/xercesc/sax/ErrorHandler.hpp
+include/xercesc/sax/EntityResolver.hpp
+include/xercesc/sax/DocumentHandler.hpp
+include/xercesc/sax/DTDHandler.hpp
+include/xercesc/sax/SAXParseException.hpp
+include/xercesc/sax2/LexicalHandler.hpp
+include/xercesc/sax2/SAX2XMLReader.hpp
+include/xercesc/sax2/DeclHandler.hpp
+include/xercesc/sax2/XMLReaderFactory.hpp
+include/xercesc/sax2/DefaultHandler.hpp
+include/xercesc/sax2/ContentHandler.hpp
+include/xercesc/sax2/Attributes.hpp
+include/xercesc/internal/CharTypeTables.hpp
+include/xercesc/internal/XMLReader.hpp
+include/xercesc/internal/XMLInternalErrorHandler.hpp
+include/xercesc/internal/VecAttributesImpl.hpp
+include/xercesc/internal/VecAttrListImpl.hpp
+include/xercesc/internal/MemoryManagerImpl.hpp
+include/xercesc/internal/ReaderMgr.hpp
+include/xercesc/internal/IANAEncodings.hpp
+include/xercesc/internal/EndOfEntityException.hpp
+include/xercesc/internal/ElemStack.hpp
+include/xercesc/internal/XMLScanner.hpp
+include/xercesc/internal/WFXMLScanner.hpp
+include/xercesc/internal/IGXMLScanner.hpp
+include/xercesc/internal/SGXMLScanner.hpp
+include/xercesc/internal/DGXMLScanner.hpp
+include/xercesc/internal/XMLScannerResolver.hpp
+include/xercesc/framework/LocalFileInputSource.hpp
+include/xercesc/framework/XMLValidator.hpp
+include/xercesc/framework/XMLRefInfo.hpp
+include/xercesc/framework/XMLRecognizer.hpp
+include/xercesc/framework/XMLPScanToken.hpp
+include/xercesc/framework/XMLNotationDecl.hpp
+include/xercesc/framework/XMLFormatter.hpp
+include/xercesc/framework/XMLErrorReporter.hpp
+include/xercesc/framework/XMLErrorCodes.hpp
+include/xercesc/framework/XMLEntityHandler.hpp
+include/xercesc/framework/XMLEntityDecl.hpp
+include/xercesc/framework/XMLElementDecl.hpp
+include/xercesc/framework/XMLDocumentHandler.hpp
+include/xercesc/framework/XMLContentModel.hpp
+include/xercesc/framework/XMLBufferMgr.hpp
+include/xercesc/framework/XMLBuffer.hpp
+include/xercesc/framework/XMLAttr.hpp
+include/xercesc/framework/XMLAttDefList.hpp
+include/xercesc/framework/XMLAttDef.hpp
+include/xercesc/framework/Wrapper4InputSource.hpp
+include/xercesc/framework/Wrapper4DOMInputSource.hpp
+include/xercesc/framework/URLInputSource.hpp
+include/xercesc/framework/StdOutFormatTarget.hpp
+include/xercesc/framework/StdInInputSource.hpp
+include/xercesc/framework/MemoryManager.hpp
+include/xercesc/framework/MemBufFormatTarget.hpp
+include/xercesc/framework/MemBufInputSource.hpp
+include/xercesc/framework/LocalFileFormatTarget.hpp
+include/xercesc/framework/XMLValidityCodes.hpp
+include/xercesc/parsers/SAX2XMLReaderImpl.hpp
+include/xercesc/parsers/SAXParser.hpp
+include/xercesc/parsers/XercesDOMParser.hpp
+include/xercesc/parsers/DOMBuilderImpl.hpp
+include/xercesc/parsers/AbstractDOMParser.hpp
+include/xercesc/dom/DOM.hpp
+include/xercesc/dom/DOMWriter.hpp
+include/xercesc/dom/DOMUserDataHandler.hpp
+include/xercesc/dom/DOMTreeWalker.hpp
+include/xercesc/dom/DOMTypeInfo.hpp
+include/xercesc/dom/DOMText.hpp
+include/xercesc/dom/DOMRangeException.hpp
+include/xercesc/dom/DOMRange.hpp
+include/xercesc/dom/DOMProcessingInstruction.hpp
+include/xercesc/dom/DOMNotation.hpp
+include/xercesc/dom/DOMNodeList.hpp
+include/xercesc/dom/DOMNodeIterator.hpp
+include/xercesc/dom/DOMNodeFilter.hpp
+include/xercesc/dom/DOMNode.hpp
+include/xercesc/dom/DOMNamedNodeMap.hpp
+include/xercesc/dom/DOMLocator.hpp
+include/xercesc/dom/DOMInputSource.hpp
+include/xercesc/dom/DOMImplementationSource.hpp
+include/xercesc/dom/DOMImplementationLS.hpp
+include/xercesc/dom/DOMImplementationRegistry.hpp
+include/xercesc/dom/DOMImplementation.hpp
+include/xercesc/dom/DOMException.hpp
+include/xercesc/dom/DOMErrorHandler.hpp
+include/xercesc/dom/DOMError.hpp
+include/xercesc/dom/DOMEntityResolver.hpp
+include/xercesc/dom/DOMEntityReference.hpp
+include/xercesc/dom/DOMEntity.hpp
+include/xercesc/dom/DOMElement.hpp
+include/xercesc/dom/DOMDocumentType.hpp
+include/xercesc/dom/DOMDocumentFragment.hpp
+include/xercesc/dom/DOMDocumentTraversal.hpp
+include/xercesc/dom/DOMDocumentRange.hpp
+include/xercesc/dom/DOMDocument.hpp
+include/xercesc/dom/DOMConfiguration.hpp
+include/xercesc/dom/DOMComment.hpp
+include/xercesc/dom/DOMCharacterData.hpp
+include/xercesc/dom/DOMCDATASection.hpp
+include/xercesc/dom/DOMBuilder.hpp
+include/xercesc/dom/DOMAttr.hpp
+include/xercesc/dom/DOMWriterFilter.hpp
+include/xercesc/dom/StDOMNode.hpp
+include/xercesc/dom/impl/DOMDeepNodeListPool.c
+include/xercesc/dom/deprecated/DOM.hpp
+include/xercesc/dom/deprecated/DOM_TreeWalker.hpp
+include/xercesc/dom/deprecated/DOM_Text.hpp
+include/xercesc/dom/deprecated/DOM_RangeException.hpp
+include/xercesc/dom/deprecated/DOM_Range.hpp
+include/xercesc/dom/deprecated/DOM_ProcessingInstruction.hpp
+include/xercesc/dom/deprecated/DOM_Notation.hpp
+include/xercesc/dom/deprecated/DOM_NodeList.hpp
+include/xercesc/dom/deprecated/DOM_NodeIterator.hpp
+include/xercesc/dom/deprecated/DOM_NodeFilter.hpp
+include/xercesc/dom/deprecated/DOM_Node.hpp
+include/xercesc/dom/deprecated/DOM_NamedNodeMap.hpp
+include/xercesc/dom/deprecated/DomMemDebug.hpp
+include/xercesc/dom/deprecated/DOM_EntityReference.hpp
+include/xercesc/dom/deprecated/DOM_Entity.hpp
+include/xercesc/dom/deprecated/DOM_Element.hpp
+include/xercesc/dom/deprecated/DOM_DocumentType.hpp
+include/xercesc/dom/deprecated/DOM_DocumentFragment.hpp
+include/xercesc/dom/deprecated/DOM_Document.hpp
+include/xercesc/dom/deprecated/DOM_DOMImplementation.hpp
+include/xercesc/dom/deprecated/DOM_DOMException.hpp
+include/xercesc/dom/deprecated/DOM_Comment.hpp
+include/xercesc/dom/deprecated/DOM_CharacterData.hpp
+include/xercesc/dom/deprecated/DOM_CDATASection.hpp
+include/xercesc/dom/deprecated/DOM_Attr.hpp
+include/xercesc/dom/deprecated/DOMString.hpp
+include/xercesc/dom/deprecated/DOMParser.hpp
+include/xercesc/dom/deprecated/DOM_XMLDecl.hpp
 include/xercesc/validators/common/AllContentModel.hpp
-include/xercesc/validators/common/CMAny.hpp
-include/xercesc/validators/common/CMBinaryOp.hpp
-include/xercesc/validators/common/CMLeaf.hpp
-include/xercesc/validators/common/CMNode.hpp
-include/xercesc/validators/common/CMStateSet.hpp
-include/xercesc/validators/common/CMUnaryOp.hpp
-include/xercesc/validators/common/ContentLeafNameTypeVector.hpp
-include/xercesc/validators/common/ContentSpecNode.hpp
-include/xercesc/validators/common/DFAContentModel.hpp
-include/xercesc/validators/common/Grammar.hpp
-include/xercesc/validators/common/GrammarResolver.hpp
 include/xercesc/validators/common/MixedContentModel.hpp
+include/xercesc/validators/common/GrammarResolver.hpp
+include/xercesc/validators/common/Grammar.hpp
+include/xercesc/validators/common/DFAContentModel.hpp
+include/xercesc/validators/common/ContentSpecNode.hpp
+include/xercesc/validators/common/ContentLeafNameTypeVector.hpp
+include/xercesc/validators/common/CMUnaryOp.hpp
+include/xercesc/validators/common/CMStateSet.hpp
+include/xercesc/validators/common/CMNode.hpp
+include/xercesc/validators/common/CMLeaf.hpp
+include/xercesc/validators/common/CMBinaryOp.hpp
+include/xercesc/validators/common/CMAny.hpp
 include/xercesc/validators/common/SimpleContentModel.hpp
-include/xercesc/validators/datatype/AbstractNumericFacetValidator.hpp
-include/xercesc/validators/datatype/AbstractNumericValidator.hpp
-include/xercesc/validators/datatype/AbstractStringValidator.hpp
-include/xercesc/validators/datatype/AnySimpleTypeDatatypeValidator.hpp
-include/xercesc/validators/datatype/AnyURIDatatypeValidator.hpp
-include/xercesc/validators/datatype/Base64BinaryDatatypeValidator.hpp
-include/xercesc/validators/datatype/BooleanDatatypeValidator.hpp
-include/xercesc/validators/datatype/DatatypeValidator.hpp
-include/xercesc/validators/datatype/DatatypeValidatorFactory.hpp
+include/xercesc/validators/datatype/InvalidDatatypeFacetException.hpp
+include/xercesc/validators/datatype/YearMonthDatatypeValidator.hpp
+include/xercesc/validators/datatype/YearDatatypeValidator.hpp
+include/xercesc/validators/datatype/MonthDayDatatypeValidator.hpp
+include/xercesc/validators/datatype/MonthDatatypeValidator.hpp
+include/xercesc/validators/datatype/DayDatatypeValidator.hpp
+include/xercesc/validators/datatype/TimeDatatypeValidator.hpp
 include/xercesc/validators/datatype/DateDatatypeValidator.hpp
 include/xercesc/validators/datatype/DateTimeDatatypeValidator.hpp
 include/xercesc/validators/datatype/DateTimeValidator.hpp
-include/xercesc/validators/datatype/DayDatatypeValidator.hpp
-include/xercesc/validators/datatype/DecimalDatatypeValidator.hpp
-include/xercesc/validators/datatype/DoubleDatatypeValidator.hpp
-include/xercesc/validators/datatype/DurationDatatypeValidator.hpp
-include/xercesc/validators/datatype/ENTITYDatatypeValidator.hpp
-include/xercesc/validators/datatype/FloatDatatypeValidator.hpp
-include/xercesc/validators/datatype/HexBinaryDatatypeValidator.hpp
-include/xercesc/validators/datatype/IDDatatypeValidator.hpp
+include/xercesc/validators/datatype/AbstractStringValidator.hpp
+include/xercesc/validators/datatype/AbstractNumericValidator.hpp
 include/xercesc/validators/datatype/IDREFDatatypeValidator.hpp
-include/xercesc/validators/datatype/InvalidDatatypeFacetException.hpp
-include/xercesc/validators/datatype/InvalidDatatypeValueException.hpp
+include/xercesc/validators/datatype/AbstractNumericFacetValidator.hpp
+include/xercesc/validators/datatype/AnySimpleTypeDatatypeValidator.hpp
+include/xercesc/validators/datatype/AnyURIDatatypeValidator.hpp
+include/xercesc/validators/datatype/FloatDatatypeValidator.hpp
+include/xercesc/validators/datatype/DoubleDatatypeValidator.hpp
+include/xercesc/validators/datatype/UnionDatatypeValidator.hpp
 include/xercesc/validators/datatype/ListDatatypeValidator.hpp
-include/xercesc/validators/datatype/MonthDatatypeValidator.hpp
-include/xercesc/validators/datatype/MonthDayDatatypeValidator.hpp
 include/xercesc/validators/datatype/NCNameDatatypeValidator.hpp
-include/xercesc/validators/datatype/NOTATIONDatatypeValidator.hpp
 include/xercesc/validators/datatype/NameDatatypeValidator.hpp
 include/xercesc/validators/datatype/QNameDatatypeValidator.hpp
+include/xercesc/validators/datatype/ENTITYDatatypeValidator.hpp
+include/xercesc/validators/datatype/NOTATIONDatatypeValidator.hpp
+include/xercesc/validators/datatype/IDDatatypeValidator.hpp
 include/xercesc/validators/datatype/StringDatatypeValidator.hpp
-include/xercesc/validators/datatype/TimeDatatypeValidator.hpp
-include/xercesc/validators/datatype/UnionDatatypeValidator.hpp
-include/xercesc/validators/datatype/YearDatatypeValidator.hpp
-include/xercesc/validators/datatype/YearMonthDatatypeValidator.hpp
+include/xercesc/validators/datatype/HexBinaryDatatypeValidator.hpp
+include/xercesc/validators/datatype/DecimalDatatypeValidator.hpp
+include/xercesc/validators/datatype/BooleanDatatypeValidator.hpp
+include/xercesc/validators/datatype/Base64BinaryDatatypeValidator.hpp
+include/xercesc/validators/datatype/DatatypeValidatorFactory.hpp
+include/xercesc/validators/datatype/DatatypeValidator.hpp
+include/xercesc/validators/datatype/InvalidDatatypeValueException.hpp
+include/xercesc/validators/datatype/DurationDatatypeValidator.hpp
+include/xercesc/validators/DTD/DTDAttDef.hpp
+include/xercesc/validators/DTD/DTDValidator.hpp
+include/xercesc/validators/DTD/DTDScanner.hpp
+include/xercesc/validators/DTD/DTDGrammar.hpp
+include/xercesc/validators/DTD/DTDEntityDecl.hpp
+include/xercesc/validators/DTD/DTDElementDecl.hpp
+include/xercesc/validators/DTD/DTDAttDefList.hpp
+include/xercesc/validators/DTD/DocTypeHandler.hpp
 include/xercesc/validators/schema/ComplexTypeInfo.hpp
-include/xercesc/validators/schema/GeneralAttributeCheck.hpp
-include/xercesc/validators/schema/NamespaceScope.hpp
-include/xercesc/validators/schema/SchemaAttDef.hpp
-include/xercesc/validators/schema/SchemaAttDefList.hpp
-include/xercesc/validators/schema/SchemaElementDecl.hpp
-include/xercesc/validators/schema/SchemaGrammar.hpp
-include/xercesc/validators/schema/SchemaInfo.hpp
-include/xercesc/validators/schema/SchemaSymbols.hpp
-include/xercesc/validators/schema/SchemaValidator.hpp
-include/xercesc/validators/schema/SubstitutionGroupComparator.hpp
-include/xercesc/validators/schema/TraverseSchema.hpp
+include/xercesc/validators/schema/XSDLocator.hpp
+include/xercesc/validators/schema/XSDDOMParser.hpp
 include/xercesc/validators/schema/XUtil.hpp
-include/xercesc/validators/schema/XercesAttGroupInfo.hpp
-include/xercesc/validators/schema/XercesElementWildcard.hpp
 include/xercesc/validators/schema/XercesGroupInfo.hpp
+include/xercesc/validators/schema/XercesElementWildcard.hpp
+include/xercesc/validators/schema/XercesAttGroupInfo.hpp
+include/xercesc/validators/schema/TraverseSchema.hpp
+include/xercesc/validators/schema/SubstitutionGroupComparator.hpp
+include/xercesc/validators/schema/SchemaValidator.hpp
+include/xercesc/validators/schema/SchemaSymbols.hpp
+include/xercesc/validators/schema/SchemaInfo.hpp
+include/xercesc/validators/schema/SchemaGrammar.hpp
+include/xercesc/validators/schema/SchemaElementDecl.hpp
+include/xercesc/validators/schema/SchemaAttDefList.hpp
+include/xercesc/validators/schema/SchemaAttDef.hpp
 include/xercesc/validators/schema/identity/FieldActivator.hpp
-include/xercesc/validators/schema/identity/FieldValueMap.hpp
-include/xercesc/validators/schema/identity/IC_Field.hpp
-include/xercesc/validators/schema/identity/IC_Key.hpp
-include/xercesc/validators/schema/identity/IC_KeyRef.hpp
-include/xercesc/validators/schema/identity/IC_Selector.hpp
-include/xercesc/validators/schema/identity/IC_Unique.hpp
-include/xercesc/validators/schema/identity/IdentityConstraint.hpp
-include/xercesc/validators/schema/identity/ValueStore.hpp
-include/xercesc/validators/schema/identity/ValueStoreCache.hpp
-include/xercesc/validators/schema/identity/XPathException.hpp
-include/xercesc/validators/schema/identity/XPathMatcher.hpp
 include/xercesc/validators/schema/identity/XPathMatcherStack.hpp
-include/xercesc/validators/schema/identity/XPathSymbols.hpp
+include/xercesc/validators/schema/identity/XPathMatcher.hpp
+include/xercesc/validators/schema/identity/XPathException.hpp
 include/xercesc/validators/schema/identity/XercesXPath.hpp
-lib/libxerces-c1_7_0.so
+include/xercesc/validators/schema/identity/ValueStoreCache.hpp
+include/xercesc/validators/schema/identity/ValueStore.hpp
+include/xercesc/validators/schema/identity/IdentityConstraint.hpp
+include/xercesc/validators/schema/identity/IC_Unique.hpp
+include/xercesc/validators/schema/identity/IC_Selector.hpp
+include/xercesc/validators/schema/identity/IC_KeyRef.hpp
+include/xercesc/validators/schema/identity/IC_Key.hpp
+include/xercesc/validators/schema/identity/IC_Field.hpp
+include/xercesc/validators/schema/identity/FieldValueMap.hpp
+include/xercesc/validators/schema/identity/XPathSymbols.hpp
+include/xercesc/validators/schema/NamespaceScope.hpp
+include/xercesc/validators/schema/GeneralAttributeCheck.hpp
+include/xercesc/validators/schema/PSVIDefs.hpp
+include/xercesc/validators/schema/XSDErrorReporter.hpp
+lib/libxerces-c.so
+lib/libxerces-c.so.23
+lib/libxerces-c.so.23.0
+share/xerces-c/msg/XercesMessages_en_US.cat
+@dirrm share/xerces-c/msg
+@dirrm share/xerces-c
 @dirrm include/xercesc/validators/schema/identity
 @dirrm include/xercesc/validators/schema
 @dirrm include/xercesc/validators/datatype
@@ -354,11 +409,14 @@
 @dirrm include/xercesc/validators/DTD
 @dirrm include/xercesc/validators
 @dirrm include/xercesc/util/regx
-@dirrm include/xercesc/util/Transcoders/ICU
+${NATIVEICONV}@dirrm include/xercesc/util/Transcoders/Iconv
+${GNUICONV}@dirrm include/xercesc/util/Transcoders/IconvGNU
 @dirrm include/xercesc/util/Transcoders
 @dirrm include/xercesc/util/Platforms/${OPSYS}
 @dirrm include/xercesc/util/Platforms
-@dirrm include/xercesc/util/MsgLoaders/ICU
+@dirrm include/xercesc/util/NetAccessors/Socket
+@dirrm include/xercesc/util/NetAccessors
+@dirrm include/xercesc/util/MsgLoaders/MsgCatalog
 @dirrm include/xercesc/util/MsgLoaders
 @dirrm include/xercesc/util/Compilers
 @dirrm include/xercesc/util
@@ -366,7 +424,8 @@
 @dirrm include/xercesc/sax
 @dirrm include/xercesc/parsers
 @dirrm include/xercesc/internal
-@dirrm include/xercesc/idom
 @dirrm include/xercesc/framework
+@dirrm include/xercesc/dom/impl
+@dirrm include/xercesc/dom/deprecated
 @dirrm include/xercesc/dom
 @dirrm include/xercesc
Index: buildlink2.mk
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xerces-c/buildlink2.mk,v
retrieving revision 1.3
diff -u -r1.3 buildlink2.mk
--- buildlink2.mk	2003/06/23 07:52:40	1.3
+++ buildlink2.mk	2003/12/23 18:27:56
@@ -2,14 +2,12 @@
 #
 # This Makefile fragment is included by packages that use xerces-c.
 #
-# This file was created automatically using createbuildlink 2.2.
-#
 
 .if !defined(XERCES_C_BUILDLINK2_MK)
 XERCES_C_BUILDLINK2_MK=	# defined
 
 BUILDLINK_PACKAGES+=		xerces-c
-BUILDLINK_DEPENDS.xerces-c?=	xerces-c>=1.7.0
+BUILDLINK_DEPENDS.xerces-c?=	xerces-c>=2.3.0
 BUILDLINK_PKGSRCDIR.xerces-c?=	../../textproc/xerces-c
 
 EVAL_PREFIX+=	BUILDLINK_PREFIX.xerces-c=xerces-c
@@ -19,7 +17,7 @@
 BUILDLINK_FILES.xerces-c+=	include/xercesc/*/*
 BUILDLINK_FILES.xerces-c+=	lib/libxerces-c*.*
 
-.include "../../textproc/icu/buildlink2.mk"
+.include "../../converters/libiconv/buildlink2.mk"
 
 BUILDLINK_TARGETS+=	xerces-c-buildlink
 
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xerces-c/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	2003/06/23 07:52:40	1.3
+++ distinfo	2003/12/23 18:27:56
@@ -1,13 +1,8 @@
 $NetBSD: distinfo,v 1.3 2003/06/23 07:52:40 jlam Exp $
 
-SHA1 (xerces-c-src1_7_0.tar.gz) = 39048b762d3def44492493b2fbd6ca00125584b1
-Size (xerces-c-src1_7_0.tar.gz) = 6914463 bytes
-SHA1 (patch-aa) = e9452b5cd5318ff85aa0a6a2e2744d895f704766
-SHA1 (patch-ab) = ff2ce93680d8b373f152235b62196d9443f8b11f
-SHA1 (patch-ac) = 30ce79950ec4091ef77c79b124bea4d2db1d9810
-SHA1 (patch-ad) = 5cfa9095f4ca47cc56d7ab2db0894ac5d1aa71a5
-SHA1 (patch-ae) = 1ee42f883ddef78e308cc364409da824468c4976
-SHA1 (patch-af) = ebf8a00d8665f8e786ec063cf657e3fa5407d5da
-SHA1 (patch-ag) = d5a1503dd00bac7c6f6ec89b9350e09fde701aaa
-SHA1 (patch-ah) = aba02b027b22c40f659c604c7e7cc6b95095405d
-SHA1 (patch-ai) = f84599c94366a9b7f75d133087dbc5a08a02b967
+SHA1 (xerces-c-src_2_3_0.tar.gz) = ea47e1899d569344e7ff1ca09f31f725bbe92033
+Size (xerces-c-src_2_3_0.tar.gz) = 6885335 bytes
+SHA1 (patch-aa) = e72de819f840a867d17db1a8b5d0198213497c54
+SHA1 (patch-ab) = 2c6ad5b6999cd6c9caa64244c4d5e6e7bdf9cf1f
+SHA1 (patch-ac) = fb187d0c5b7dbc09d31be8dea09c88bea755f87d
+SHA1 (patch-ad) = bddb4cb68d86bcc3b09f1a991a39691f82f396d2
Index: files/Makefile.in
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xerces-c/files/Makefile.in,v
retrieving revision 1.3
diff -u -r1.3 Makefile.in
--- files/Makefile.in	2003/06/23 07:52:40	1.3
+++ files/Makefile.in	2003/12/23 18:27:56
@@ -1,82 +0,0 @@
-#
-# The Apache Software License, Version 1.1
-#
-# Copyright (c) 1999-2000 The Apache Software Foundation.  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.
-#
-# 3. The end-user documentation included with the redistribution,
-#    if any, must include the following acknowledgment:
-#       "This product includes software developed by the
-#        Apache Software Foundation (http://www.apache.org/)."
-#    Alternately, this acknowledgment may appear in the software itself,
-#    if and wherever such third-party acknowledgments normally appear.
-#
-# 4. The names "Xerces" and "Apache Software Foundation" must
-#    not be used to endorse or promote products derived from this
-#    software without prior written permission. For written
-#    permission, please contact apache\@apache.org.
-#
-# 5. Products derived from this software may not be called "Apache",
-#    nor may "Apache" appear in their name, without prior written
-#    permission of the Apache Software Foundation.
-#
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
-# ITS 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.
-# ====================================================================
-#
-# This software consists of voluntary contributions made by many
-# individuals on behalf of the Apache Software Foundation, and was
-# originally based on software copyright (c) 1999, International
-# Business Machines, Inc., http://www.ibm.com .  For more information
-# on the Apache Software Foundation, please see
-# <http://www.apache.org/>.
-#
-#  
-#
-
-PLATFORM = @platform@
-CC  = @cc@
-CXX = @cxx@
-CXXFLAGS = @cxxflags@
-CFLAGS = @cflags@
-PREFIX = @prefix@
-PREFIX_INCLUDE = @prefix_include@
-LDFLAGS = @ldflags@
-LIBS = @libs@
-OSVER = @osver@
-USELIBWWW = @uselibwww@
-MESSAGELOADER = @messageloader@
-TRANSCODER = @transcoder@
-THREADS = @threads@
-
-MODULE = util
-
-include ../../../Makefile.incl
-
-SUBMODULE = Platforms/NetBSD
-CPP_PUBHEADERS = NetBSDDefs.hpp
-CPP_OBJECTS = NetBSDPlatformUtils.$(TO)
-
-include ../../Makefile.util.submodule
Index: files/NetBSDDefs.hpp
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xerces-c/files/NetBSDDefs.hpp,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 NetBSDDefs.hpp
--- files/NetBSDDefs.hpp	2001/01/13 16:38:19	1.1.1.1
+++ files/NetBSDDefs.hpp	2003/12/23 18:27:56
@@ -1,76 +0,0 @@
-/*
- * The Apache Software License, Version 1.1
- * 
- * Copyright (c) 1999-2000 The Apache Software Foundation.  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.
- * 
- * 3. The end-user documentation included with the redistribution,
- *    if any, must include the following acknowledgment:  
- *       "This product includes software developed by the
- *        Apache Software Foundation (http://www.apache.org/)."
- *    Alternately, this acknowledgment may appear in the software itself,
- *    if and wherever such third-party acknowledgments normally appear.
- * 
- * 4. The names "Xerces" and "Apache Software Foundation" must
- *    not be used to endorse or promote products derived from this
- *    software without prior written permission. For written 
- *    permission, please contact apache\@apache.org.
- * 
- * 5. Products derived from this software may not be called "Apache",
- *    nor may "Apache" appear in their name, without prior written
- *    permission of the Apache Software Foundation.
- * 
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
- * ITS 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.
- * ====================================================================
- * 
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation, and was
- * originally based on software copyright (c) 1999, International
- * Business Machines, Inc., http://www.ibm.com .  For more information
- * on the Apache Software Foundation, please see
- * <http://www.apache.org/>.
- */
-
-/*
- * 
- *
- */
-
-
-// ---------------------------------------------------------------------------
-//  NetBSD runs on 29 hardware plateforms...
-// ---------------------------------------------------------------------------
-#ifdef __i386__
-#define ENDIANMODE_LITTLE
-#else
-#define ENDIANMODE_BIG
-#endif
-
-typedef void* FileHandle;
-
-#ifndef NETBSD
-#define NETBSD
-#endif
Index: files/NetBSDPlatformUtils.cpp
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xerces-c/files/NetBSDPlatformUtils.cpp,v
retrieving revision 1.3
diff -u -r1.3 NetBSDPlatformUtils.cpp
--- files/NetBSDPlatformUtils.cpp	2003/06/23 07:52:40	1.3
+++ files/NetBSDPlatformUtils.cpp	2003/12/23 18:27:56
@@ -1,663 +0,0 @@
-/*
- * The Apache Software License, Version 1.1
- * 
- * Copyright (c) 1999-2000 The Apache Software Foundation.  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.
- * 
- * 3. The end-user documentation included with the redistribution,
- *    if any, must include the following acknowledgment:  
- *       "This product includes software developed by the
- *        Apache Software Foundation (http://www.apache.org/)."
- *    Alternately, this acknowledgment may appear in the software itself,
- *    if and wherever such third-party acknowledgments normally appear.
- * 
- * 4. The names "Xerces" and "Apache Software Foundation" must
- *    not be used to endorse or promote products derived from this
- *    software without prior written permission. For written 
- *    permission, please contact apache\@apache.org.
- * 
- * 5. Products derived from this software may not be called "Apache",
- *    nor may "Apache" appear in their name, without prior written
- *    permission of the Apache Software Foundation.
- * 
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR
- * ITS 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.
- * ====================================================================
- * 
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation, and was
- * originally based on software copyright (c) 1999, International
- * Business Machines, Inc., http://www.ibm.com .  For more information
- * on the Apache Software Foundation, please see
- * <http://www.apache.org/>.
- */
-
-/*
- * 
- *
- */
-
-
-// ---------------------------------------------------------------------------
-//  Includes
-// ---------------------------------------------------------------------------
-
-#if !defined(APP_NO_THREADS)
-#include    <pthread.h>
-#endif
-
-/* #ifndef __USE_UNIX98
-    #error __USE_UNIX98 is not defined in your compile settings
-#endif */
-
-#include    <unistd.h>
-#include    <stdio.h>
-#include    <stdlib.h>
-#include    <errno.h>
-#include    <libgen.h>
-#include    <sys/time.h>
-#include    <string.h>
-#include    <strings.h>/* for strcasecmp & strncasecmp */
-#include    <wchar.h>  /* for win_t */
-#include    <xercesc/util/PlatformUtils.hpp>
-#include    <xercesc/util/RuntimeException.hpp>
-#include    <xercesc/util/Janitor.hpp>
-#include    <xercesc/util/Mutexes.hpp>
-#include    <xercesc/util/XMLString.hpp>
-#include    <xercesc/util/XMLUniDefs.hpp>
-#include    <xercesc/util/XMLUni.hpp>
-
-#if defined(XML_USE_ICU_TRANSCODER)
-    #include <xercesc/util/Transcoders/ICU/ICUTransService.hpp>
-#else
-    // Use native transcoder. Same as -DXML_USE_NATIVE_TRANSCODER
-    #include <xercesc/util/Transcoders/Iconv/IconvTransService.hpp>
-#endif
-
-
-#if defined(XML_USE_ICU_MESSAGELOADER)
-    #include <xercesc/util/MsgLoaders/ICU/ICUMsgLoader.hpp>
-#else
-    // Same as -DXML_USE_INMEM_MESSAGELOADER
-    #include <xercesc/util/MsgLoaders/InMemory/InMemMsgLoader.hpp>
-#endif
-
-
-#if defined (XML_USE_NETACCESSOR_SOCKET)
-    #include <xercesc/util/NetAccessors/Socket/SocketNetAccessor.hpp>
-#endif
-
-
-
-// ---------------------------------------------------------------------------
-//  Local Methods
-// ---------------------------------------------------------------------------
-
-static void WriteCharStr( FILE* stream, const char* const toWrite)
-{
-    if (fputs(toWrite, stream) == EOF)
-    {
-        ThrowXML(XMLPlatformUtilsException,
-                 XMLExcepts::Strm_StdErrWriteFailure);
-    }
-}
-
-static void WriteUStrStdErr( const XMLCh* const toWrite)
-{
-    char* tmpVal = XMLString::transcode(toWrite);
-    ArrayJanitor<char> janText(tmpVal);
-    if (fputs(tmpVal, stderr) == EOF)
-    {
-       ThrowXML(XMLPlatformUtilsException,
-                XMLExcepts::Strm_StdErrWriteFailure);
-   }
-}
-
-static void WriteUStrStdOut( const XMLCh* const toWrite)
- {
-    char* tmpVal = XMLString::transcode(toWrite);
-    ArrayJanitor<char> janText(tmpVal);
-    if (fputs(tmpVal, stdout) == EOF)
-    {
-        ThrowXML(XMLPlatformUtilsException,
-                 XMLExcepts::Strm_StdOutWriteFailure);
-    }
-}
-
-XMLNetAccessor* XMLPlatformUtils::makeNetAccessor()
-{
-#if defined (XML_USE_NETACCESSOR_SOCKET)
-    return new SocketNetAccessor();
-#else
-    return 0;
-#endif
-}
-
-
-
-XMLCh* XMLPlatformUtils::weavePaths(const   XMLCh* const    basePath
-                                    , const XMLCh* const    relativePath)
-
-{
-    // Create a buffer as large as both parts and empty it
-    XMLCh* tmpBuf = new XMLCh[XMLString::stringLen(basePath)
-                              + XMLString::stringLen(relativePath)
-                              + 2];
-    *tmpBuf = 0;
-
-    //
-    //  If we have no base path, then just take the relative path as
-    //  is.
-    //
-    if (!basePath)
-    {
-        XMLString::copyString(tmpBuf, relativePath);
-        return tmpBuf;
-    }
-
-    if (!*basePath)
-    {
-        XMLString::copyString(tmpBuf, relativePath);
-        return tmpBuf;
-    }
-
-    const XMLCh* basePtr = basePath + (XMLString::stringLen(basePath) - 1);
-    if ((*basePtr != chForwardSlash)
-    &&  (*basePtr != chBackSlash))
-    {
-        while ((basePtr >= basePath)
-        &&     ((*basePtr != chForwardSlash) && (*basePtr != chBackSlash)))
-        {
-            basePtr--;
-        }
-    }
-
-    // There is no relevant base path, so just take the relative part
-    if (basePtr < basePath)
-    {
-        XMLString::copyString(tmpBuf, relativePath);
-        return tmpBuf;
-    }
-
-    // After this, make sure the buffer gets handled if we exit early
-    ArrayJanitor<XMLCh> janBuf(tmpBuf);
-
-    //
-    //  We have some path part, so we need to check to see if we ahve to
-    //  weave any of the parts together.
-    //
-    const XMLCh* pathPtr = relativePath;
-    while (true)
-    {
-        // If it does not start with some period, then we are done
-        if (*pathPtr != chPeriod)
-            break;
-
-        unsigned int periodCount = 1;
-        pathPtr++;
-        if (*pathPtr == chPeriod)
-        {
-            pathPtr++;
-            periodCount++;
-        }
-
-        // Has to be followed by a \ or / or the null to mean anything
-        if ((*pathPtr != chForwardSlash) && (*pathPtr != chBackSlash)
-        &&  *pathPtr)
-        {
-            break;
-        }
-        if (*pathPtr)
-            pathPtr++;
-
-        // If its one period, just eat it, else move backwards in the base
-        if (periodCount == 2)
-        {
-            basePtr--;
-            while ((basePtr >= basePath)
-            &&     ((*basePtr != chForwardSlash) && (*basePtr != chBackSlash)))
-            {
-                basePtr--;
-            }
-
-            // The base cannot provide enough levels, so its in error/
-            if (basePtr < basePath)
-                ThrowXML(XMLPlatformUtilsException,
-                         XMLExcepts::File_BasePathUnderflow);
-        }
-    }
-
-    // Copy the base part up to the base pointer
-    XMLCh* bufPtr = tmpBuf;
-    const XMLCh* tmpPtr = basePath;
-    while (tmpPtr <= basePtr)
-        *bufPtr++ = *tmpPtr++;
-
-    // And then copy on the rest of our path
-    XMLString::copyString(bufPtr, pathPtr);
-
-    // Orphan the buffer and return it
-    janBuf.orphan();
-    return tmpBuf;
-}
-
-
-// ---------------------------------------------------------------------------
-//  XMLPlatformUtils: Private Static Methods
-// ---------------------------------------------------------------------------
-
-//
-//  This method is called by the platform independent part of this class
-//  when client code asks to have one of the supported message sets loaded.
-//
-
-XMLMsgLoader* XMLPlatformUtils::loadAMsgSet(const XMLCh* const msgDomain)
-{
-    XMLMsgLoader* retVal;
-    try
-    {
-#if defined (XML_USE_ICU_MESSAGELOADER)
-        retVal = new ICUMsgLoader(msgDomain);
-#else
-        // same as -DXML_USE_INMEM_MESSAGELOADER
-        retVal = new InMemMsgLoader(msgDomain);
-#endif
-    }
-
-    catch(...)
-    {
-        panic(XMLPlatformUtils::Panic_CantLoadMsgDomain);
-    }
-    return retVal;
-}
-
-
-//
-//  This method is called very early in the bootstrapping process. This guy
-//  must create a transcoding service and return it. It cannot use any string
-//  methods, any transcoding services, throw any exceptions, etc... It just
-//  makes a transcoding service and returns it, or returns zero on failure.
-//
-
-XMLTransService* XMLPlatformUtils::makeTransService()
-{
-#if defined (XML_USE_ICU_TRANSCODER)
-    // Use ICU transcoding services.
-    // same as -DXML_USE_ICU_MESSAGELOADER
-    return new ICUTransService;
-#else
-    // Use native transcoding services.
-    // same as -DXML_USE_INMEM_MESSAGELOADER
-    return new IconvTransService;
-
-#endif
-}
-
-// ---------------------------------------------------------------------------
-//  XMLPlatformUtils: The panic method
-// ---------------------------------------------------------------------------
-void XMLPlatformUtils::panic(const PanicReasons reason)
-{
-     const char* reasonStr = "Unknown reason";
-    if (reason == Panic_NoTransService)
-        reasonStr = "Could not load a transcoding service";
-    else if (reason == Panic_NoDefTranscoder)
-        reasonStr = "Could not load a local code page transcoder";
-    else if (reason == Panic_CantFindLib)
-        reasonStr = "Could not find the xerces-c DLL";
-    else if (reason == Panic_UnknownMsgDomain)
-        reasonStr = "Unknown message domain";
-    else if (reason == Panic_CantLoadMsgDomain)
-        reasonStr = "Cannot load message domain";
-    else if (reason == Panic_SynchronizationErr)
-        reasonStr = "Cannot synchronize system or mutex";
-    else if (reason == Panic_SystemInit)
-        reasonStr = "Cannot initialize the system or mutex";
-
-    fprintf(stderr, "%s\n", reasonStr);
-    
-    exit(-1);
-}
-
-
-// ---------------------------------------------------------------------------
-//  XMLPlatformUtils: File Methods
-// ---------------------------------------------------------------------------
-
-unsigned int XMLPlatformUtils::curFilePos(FileHandle theFile)
-{
-    int curPos = ftell( (FILE*)theFile);
-    if (curPos == -1)
-        ThrowXML(XMLPlatformUtilsException,
-                 XMLExcepts::File_CouldNotGetSize);
-
-    return (unsigned int)curPos;
-}
-
-void XMLPlatformUtils::closeFile(FileHandle theFile)
-{
-    if (fclose((FILE*)theFile))
-        ThrowXML(XMLPlatformUtilsException,
-                 XMLExcepts::File_CouldNotCloseFile);
-}
-
-unsigned int XMLPlatformUtils::fileSize(FileHandle theFile)
-{
-    // Get the current position
-    long  int curPos = ftell((FILE*) theFile);
-    if (curPos == -1)
-        ThrowXML(XMLPlatformUtilsException,
-                 XMLExcepts::File_CouldNotGetCurPos);
-
-    // Seek to the end and save that value for return
-     if (fseek((FILE*) theFile, 0, SEEK_END))
-        ThrowXML(XMLPlatformUtilsException,
-                 XMLExcepts::File_CouldNotSeekToEnd);
-
-    long int retVal = ftell((FILE*)theFile);
-    if (retVal == -1)
-        ThrowXML(XMLPlatformUtilsException,
-                 XMLExcepts::File_CouldNotSeekToEnd);
-
-    // And put the pointer back
-
-    if (fseek( (FILE*)theFile, curPos, SEEK_SET) )
-        ThrowXML(XMLPlatformUtilsException,
-                 XMLExcepts::File_CouldNotSeekToPos);
-
-    return (unsigned int)retVal;
-}
-
-FileHandle XMLPlatformUtils::openFile(const XMLCh* const fileName)
-{
-    const char* tmpFileName = XMLString::transcode(fileName);
-    ArrayJanitor<char> janText((char*)tmpFileName);
-    FileHandle retVal = (FILE*)fopen( tmpFileName , "rb" );
-
-    if (retVal == NULL)
-        return 0;
-    return retVal;
-}
-
-FileHandle XMLPlatformUtils::openFile(const char* const fileName)
-{
-    FileHandle retVal = (FILE*)fopen( fileName , "rb" );
-
-    if (retVal == NULL)
-        return 0;
-    return retVal;
-}
-
-
-FileHandle XMLPlatformUtils::openStdInHandle()
-{
-        return (FileHandle)fdopen(dup(0), "rb");
-}
-
-
-
-unsigned int
-XMLPlatformUtils::readFileBuffer( FileHandle          theFile
-                                , const unsigned int  toRead
-                                , XMLByte* const      toFill)
-{
-    size_t noOfItemsRead = fread((void*) toFill, 1, toRead, (FILE*)theFile);
-
-    if(ferror((FILE*)theFile))
-    {
-        ThrowXML(XMLPlatformUtilsException,
-                 XMLExcepts::File_CouldNotReadFromFile);
-    }
-
-    return (unsigned int)noOfItemsRead;
-}
-
-
-void XMLPlatformUtils::resetFile(FileHandle theFile)
-{
-    // Seek to the start of the file
-    if (fseek((FILE*)theFile, 0, SEEK_SET))
-        ThrowXML(XMLPlatformUtilsException,
-                 XMLExcepts::File_CouldNotResetFile);
-}
-
-
-// ---------------------------------------------------------------------------
-//  XMLPlatformUtils: Timing Methods
-// ---------------------------------------------------------------------------
-
-unsigned long XMLPlatformUtils::getCurrentMillis()
-{
-    struct timeval t;
-    struct timezone tz;
-
-    gettimeofday(&t, &tz);
-    return (unsigned long)(t.tv_sec*1000 + t.tv_usec);
-}
-
-XMLCh* XMLPlatformUtils::getFullPath(const XMLCh* const srcPath)
-{
-
-    //
-    //  NOTE: THe path provided has always already been opened successfully,
-    //  so we know that its not some pathological freaky path. It comes in
-    //  in native format, and goes out as Unicode always
-    //
-    char* newSrc = XMLString::transcode(srcPath);
-    ArrayJanitor<char> janText(newSrc);
-
-    // Use a local buffer that is big enough for the largest legal path
-    char *absPath = new char[1024];
-    // get the absolute path 
-    char* retPath = realpath(newSrc, absPath);  
-    ArrayJanitor<char> janText2(retPath);
-    
-    if (!retPath)
-    {
-        ThrowXML(XMLPlatformUtilsException, XMLExcepts::File_CouldNotGetBasePathName);
-    }
-    return XMLString::transcode(absPath);
-}
-
-bool XMLPlatformUtils::isRelative(const XMLCh* const toCheck)
-{
-    // Check for pathological case of empty path
-    if (!toCheck[0])
-        return false;
-
-    //
-    //  If it starts with a slash, then it cannot be relative. This covers
-    //  both something like "\Test\File.xml" and an NT Lan type remote path
-    //  that starts with a node like "\\MyNode\Test\File.xml".
-    //
-    if (toCheck[0] == XMLCh('/'))
-        return false;
-
-    // Else assume its a relative path
-    return true;
-}
-
-
-// -----------------------------------------------------------------------
-//  Mutex methods
-// -----------------------------------------------------------------------
-
-#if !defined(APP_NO_THREADS)
-
-// ---------------------------------------------------------------------------
-//  XMLPlatformUtils: Platform init method
-// ---------------------------------------------------------------------------
-
-static XMLMutex atomicOpsMutex;
-
-void XMLPlatformUtils::platformInit()
-{
-    //
-    // The atomicOps mutex needs to be created early.
-    // Normally, mutexes are created on first use, but there is a
-    // circular dependency between compareAndExchange() and
-    // mutex creation that must be broken.
-
-    atomicOpsMutex.fHandle = XMLPlatformUtils::makeMutex();
-}
-
-void* XMLPlatformUtils::makeMutex()
-{
-    pthread_mutex_t* mutex = new pthread_mutex_t;
-    pthread_mutexattr_t*  attr = new pthread_mutexattr_t;
-    pthread_mutexattr_init(attr);
-    pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE);
-    if (pthread_mutex_init(mutex, attr))
-    {
-        ThrowXML(XMLPlatformUtilsException,
-                 XMLExcepts::Mutex_CouldNotCreate);
-    }
-    pthread_mutexattr_destroy(attr);
-    delete attr;
-    return (void*)(mutex);
-
-}
-
-void XMLPlatformUtils::closeMutex(void* const mtxHandle)
-{
-    if (mtxHandle != NULL)
-    {
-        if (pthread_mutex_destroy((pthread_mutex_t*) mtxHandle))
-        {
-            ThrowXML(XMLPlatformUtilsException,
-                     XMLExcepts::Mutex_CouldNotDestroy);
-        }
-        delete mtxHandle;
-    }
-}
-
-
-void XMLPlatformUtils::lockMutex(void* const mtxHandle)
-{
-    if (mtxHandle != NULL)
-    {
-        if (pthread_mutex_lock((pthread_mutex_t*) mtxHandle))
-        {
-            ThrowXML(XMLPlatformUtilsException,
-                     XMLExcepts::Mutex_CouldNotLock);
-        }
-    }
-}
-
-
-void XMLPlatformUtils::unlockMutex(void* const mtxHandle)
-{
-    if (mtxHandle != NULL)
-    {
-        if (pthread_mutex_unlock((pthread_mutex_t*) mtxHandle))
-        {
-            ThrowXML(XMLPlatformUtilsException,
-                     XMLExcepts::Mutex_CouldNotUnlock);
-        }
-    }
-}
-
-
-// -----------------------------------------------------------------------
-//  Miscellaneous synchronization methods
-// -----------------------------------------------------------------------
-
-void* XMLPlatformUtils::compareAndSwap(void**            toFill
-                                     , const void* const newValue
-                                     , const void* const toCompare)
-{
-    XMLMutexLock lockMutex(&atomicOpsMutex);
-
-    void *retVal = *toFill;
-    if (*toFill == toCompare)
-        *toFill = (void *)newValue;
-
-    return retVal;
-}
-
-int XMLPlatformUtils::atomicIncrement(int &location)
-{
-    XMLMutexLock localLock(&atomicOpsMutex);
-
-    return ++location;
-}
-
-int XMLPlatformUtils::atomicDecrement(int &location)
-{
-    XMLMutexLock localLock(&atomicOpsMutex);
-
-    return --location;
-}
-
-#else // #if !defined (APP_NO_THREADS)
-
-void XMLPlatformUtils::platformInit()
-{
-}
-
-void* XMLPlatformUtils::makeMutex()
-{
-        return 0;
-}
-
-void XMLPlatformUtils::closeMutex(void* const mtxHandle)
-{
-}
-
-void XMLPlatformUtils::lockMutex(void* const mtxHandle)
-{
-}
-
-void XMLPlatformUtils::unlockMutex(void* const mtxHandle)
-{
-}
-
-void* XMLPlatformUtils::compareAndSwap (void**             toFill,
-                                        const void* const  newValue,
-                                        const void* const  toCompare)
-{
-    void *retVal = *toFill;
-    if (*toFill == toCompare)
-       *toFill = (void *)newValue;
-    return retVal;
-}
-
-int XMLPlatformUtils::atomicIncrement(int &location)
-{
-    return ++location;
-}
-
-int XMLPlatformUtils::atomicDecrement(int &location)
-{
-    return --location;
-}
-
-#endif // APP_NO_THREADS
-
-void XMLPlatformUtils::platformTerm()
-{
-    // We don't have any termination requirements at this time
-}
-
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xerces-c/patches/patch-aa,v
retrieving revision 1.2
diff -u -r1.2 patch-aa
--- patches/patch-aa	2003/06/23 07:52:41	1.2
+++ patches/patch-aa	2003/12/23 18:27:56
@@ -1,24 +1,58 @@
-$NetBSD: patch-aa,v 1.2 2003/06/23 07:52:41 jlam Exp $
+$NetBSD$
 
---- Makefile.incl.orig	Thu Mar  7 14:45:22 2002
-+++ Makefile.incl
-@@ -437,6 +437,19 @@ ifeq (${PLATFORM}, MACOSX)
- 	SHLIBSUFFIX=.dylib
- endif
+--- util/Platforms/NetBSD/NetBSDPlatformUtils.cpp.orig	2003-05-27 10:04:53.000000000 -0500
++++ util/Platforms/NetBSD/NetBSDPlatformUtils.cpp
+@@ -92,6 +92,8 @@
  
-+#=============== NETBSD SPECIFIC OPTIONS =========================
-+ifeq (${PLATFORM}, NETBSD)
-+PLATFORM_COMPILE_OPTIONS = -fPIC -D${PLATFORM}
-+MAKE_SHARED = ${CXX} -D${PLATFORM} -shared ${LDFLAGS}
-+MAKE_SHARED_C = ${CC} -D${PLATFORM} -shared ${LDFLAGS}
-+ifeq (${TRANSCODER}, ICU)
-+    ALLLIBS = ${LIBS} -L${ICUROOT}/lib -licuuc -licudata -lm
-+else
-+    ALLLIBS = ${LIBS} -lm
-+endif
-+SHLIBSUFFIX=.so
-+endif
-+
+ #if defined(XML_USE_ICU_TRANSCODER)
+     #include <xercesc/util/Transcoders/ICU/ICUTransService.hpp>
++#elif defined (XML_USE_GNU_TRANSCODER)
++    #include <xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.hpp>
+ #else
+     // Use native transcoder. Same as -DXML_USE_NATIVE_TRANSCODER
+     #include <xercesc/util/Transcoders/Iconv/IconvTransService.hpp>
+@@ -100,6 +102,8 @@
  
- ###################### STANDARD TOOLS #############################
- ifeq (${PLATFORM}, OS400)
+ #if defined(XML_USE_ICU_MESSAGELOADER)
+     #include <xercesc/util/MsgLoaders/ICU/ICUMsgLoader.hpp>
++#elif defined(XML_USE_ICONV_MESSAGELOADER)
++    #include <xercesc/util/MsgLoaders/MsgCatalog/MsgCatalogLoader.hpp>
+ #else
+     // Same as -DXML_USE_INMEM_MESSAGELOADER
+     #include <xercesc/util/MsgLoaders/InMemory/InMemMsgLoader.hpp>
+@@ -172,6 +176,8 @@ XMLMsgLoader* XMLPlatformUtils::loadAMsg
+     {
+ #if defined (XML_USE_ICU_MESSAGELOADER)
+         retVal = new ICUMsgLoader(msgDomain);
++#elif defined (XML_USE_ICONV_MESSAGELOADER)
++        retVal = new MsgCatalogLoader(msgDomain);        
+ #else
+         // same as -DXML_USE_INMEM_MESSAGELOADER
+         retVal = new InMemMsgLoader(msgDomain);
+@@ -199,6 +205,8 @@ XMLTransService* XMLPlatformUtils::makeT
+     // Use ICU transcoding services.
+     // same as -DXML_USE_ICU_MESSAGELOADER
+     return new ICUTransService;
++#elif defined (XML_USE_GNU_TRANSCODER)
++    return new IconvGNUTransService;
+ #else
+     // Use native transcoding services.
+     // same as -DXML_USE_INMEM_MESSAGELOADER
+@@ -421,7 +429,7 @@ unsigned long XMLPlatformUtils::getCurre
+     return (unsigned long)(t.tv_sec*1000 + t.tv_usec);
+ }
+ 
+-XMLCh* XMLPlatformUtils::getFullPath(const XMLCh* const srcPath)
++XMLCh* XMLPlatformUtils::getFullPath(const XMLCh* const srcPath, MemoryManager* const)
+ {
+ 
+     //
+@@ -463,7 +471,7 @@ bool XMLPlatformUtils::isRelative(const 
+     return true;
+ }
+ 
+-XMLCh* XMLPlatformUtils::getCurrentDirectory()
++XMLCh* XMLPlatformUtils::getCurrentDirectory(MemoryManager* const)
+ {
+     char  dirBuf[PATH_MAX + 1];
+     char  *curDir = getcwd(&dirBuf[0], PATH_MAX + 1);
Index: patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xerces-c/patches/patch-ab,v
retrieving revision 1.2
diff -u -r1.2 patch-ab
--- patches/patch-ab	2003/06/23 07:52:41	1.2
+++ patches/patch-ab	2003/12/23 18:27:56
@@ -1,28 +1,19 @@
-$NetBSD: patch-ab,v 1.2 2003/06/23 07:52:41 jlam Exp $
+$NetBSD$
 
---- configure.orig	Thu Mar  7 14:45:12 2002
-+++ configure
-@@ -1276,6 +1276,7 @@ case "${host}" in
-         *-*-OS400*)     platform=OS400 ;;
-         *-*-osf*)		platform=TRU64 ;;
-         *-apple-*)		platform=MACOSX ;;
-+        *-*-netbsd*)    platform=NETBSD ;;
-         *)              platform=UNKNOWN ;;
- esac
+--- ./util/Transcoders/ICU/ICUTransService.cpp.orig	2003-12-20 02:13:26.000000000 -0600
++++ ./util/Transcoders/ICU/ICUTransService.cpp
+@@ -126,12 +126,12 @@ static UChar* convertToUChar( const   XM
+ }
  
-@@ -1457,6 +1458,7 @@ util/Platforms/OpenServer/Makefile \
- util/Platforms/UnixWare/Makefile \
- util/Platforms/Tru64/Makefile \
- util/Platforms/MacOS/Makefile \
-+util/Platforms/NetBSD/Makefile \
- util/Compilers/Makefile \
- util/MsgLoaders/InMemory/Makefile \
- util/MsgLoaders/ICU/Makefile \
-@@ -1601,6 +1603,7 @@ util/Platforms/OpenServer/Makefile \
- util/Platforms/UnixWare/Makefile \
- util/Platforms/Tru64/Makefile \
- util/Platforms/MacOS/Makefile \
-+util/Platforms/NetBSD/Makefile \
- util/Compilers/Makefile \
- util/MsgLoaders/InMemory/Makefile \
- util/MsgLoaders/ICU/Makefile \
+ 
+-static XMLCh* convertToXMLCh( const UChar* const toConvert,
++static XMLCh* convertToXMLCh( const UChar* const toConvert
+                             , MemoryManager* const manager = 0)
+ {
+     const unsigned int srcLen = u_strlen(toConvert);
+     XMLCh* retBuf = (manager)
+-        ? (XMLCh*) manager->allocate((srcLen+1) sizeof(XMLCh))
++        ? (XMLCh*) manager->allocate((srcLen+1) * sizeof(XMLCh))
+         : new XMLCh[srcLen + 1];
+ 
+     XMLCh* outPtr = retBuf;
Index: patches/patch-ac
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xerces-c/patches/patch-ac,v
retrieving revision 1.2
diff -u -r1.2 patch-ac
--- patches/patch-ac	2003/06/23 07:52:41	1.2
+++ patches/patch-ac	2003/12/23 18:27:56
@@ -1,22 +1,33 @@
-$NetBSD: patch-ac,v 1.2 2003/06/23 07:52:41 jlam Exp $
+$NetBSD$
 
---- runConfigure.orig	Thu Mar  7 14:45:22 2002
-+++ runConfigure
-@@ -80,7 +80,7 @@ usage()
-     echo "       where options may be any of the following:"
-     echo "       -p <platform> (accepts 'aix', 'linux', 'freebsd', 'solaris',
-             'hp-10', 'hp-11', 'openserver', 'unixware', 'os400', 'irix',
--            'ptx', 'tru64', 'macosx')"
-+            'ptx', 'tru64', 'macosx', 'netbsd')"
-     echo "       -c <C compiler name> (e.g. gcc, cc, xlc_r, icc)"
-     echo "       -x <C++ compiler name> (e.g. g++, CC, xlC_r, icc, c++)"
-     echo "       -d (specifies that you want to build debug version)"
-@@ -220,7 +220,7 @@ echo "Extra configure options: $configur
- #
- 
- case $platform in
--   aix | linux | freebsd | solaris | hp-10 | hp-11 | irix | openserver | unixware | os400 | ptx | tru64 | macosx)
-+   aix | linux | freebsd | solaris | hp-10 | hp-11 | irix | openserver | unixware | os400 | ptx | tru64 | macosx | netbsd)
-        # platform has been recognized
-        ;;
-    *)
+--- framework/StdOutFormatTarget.cpp.orig	2003-05-27 10:04:45.000000000 -0500
++++ framework/StdOutFormatTarget.cpp
+@@ -80,7 +80,7 @@
+  */
+ 
+ #include <xercesc/framework/StdOutFormatTarget.hpp>
+-#include <iostream.h>
++#include <iostream>
+ 
+ XERCES_CPP_NAMESPACE_BEGIN
+ 
+@@ -92,7 +92,7 @@ StdOutFormatTarget::~StdOutFormatTarget(
+ 
+ void StdOutFormatTarget::flush()
+ {
+-    cout.flush();
++    std::cout.flush();
+ }
+ 
+ void StdOutFormatTarget::writeChars(const XMLByte* const  toWrite
+@@ -104,8 +104,8 @@ void StdOutFormatTarget::writeChars(cons
+         // Without the cast, it was printing the pointer value in hex.
+         // Quite annoying, considering every other platform printed
+         // the string with the explicit cast to char* below.
+-    cout.write((char *) toWrite, (int) count);
+-    cout.flush();
++    std::cout.write((char *) toWrite, (int) count);
++    std::cout.flush();
+ 
+ }
+ 
Index: patches/patch-ad
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xerces-c/patches/patch-ad,v
retrieving revision 1.2
diff -u -r1.2 patch-ad
--- patches/patch-ad	2003/06/23 07:52:41	1.2
+++ patches/patch-ad	2003/12/23 18:27:56
@@ -1,14 +1,21 @@
-$NetBSD: patch-ad,v 1.2 2003/06/23 07:52:41 jlam Exp $
+$NetBSD$
 
---- util/AutoSense.hpp.orig	Thu Mar  7 14:45:24 2002
-+++ util/AutoSense.hpp
-@@ -219,6 +219,9 @@
-     #define XML_MACOSX
- #elif defined(__alpha) && defined(__osf__)
-     #define XML_TRU64
-+#elif defined(__NetBSD__)
-+    #define XML_NETBSD
-+    #define XML_UNIX
- #else
-     #error Code requires port to host OS!
- #endif
+--- util/Makefile.in.orig	2003-05-27 10:04:49.000000000 -0500
++++ util/Makefile.in
+@@ -753,12 +753,12 @@ ifeq (${TRANSCODERMODULE},Uniconv390)
+ endif
+ 	${MAKE} -C MsgLoaders/$(MESSAGELOADERMODULE) $@
+ ifeq (${MESSAGELOADER},ICU)
+-	-mkdir -p ${DESTDIR}${PREFIX}/msg
+-	$(CP) ${MSG_DIR}/*.res ${DESTDIR}$(PREFIX)/msg
++	-mkdir -p ${DESTDIR}${PREFIX}/share/xerces-c/msg
++	$(CP) ${MSG_DIR}/*.res ${DESTDIR}$(PREFIX)/share/xerces-c/msg
+ endif
+ ifeq (${MESSAGELOADER},ICONV)
+-	-mkdir -p ${DESTDIR}${PREFIX}/msg
+-	$(CP) ${MSG_DIR}/XercesMessages_en_US.cat ${DESTDIR}$(PREFIX)/msg
++	-mkdir -p ${DESTDIR}${PREFIX}/share/xerces-c/msg
++	$(CP) ${MSG_DIR}/XercesMessages_en_US.cat ${DESTDIR}$(PREFIX)/share/xerces-c/msg
+ endif
+ ifneq (${NETACCESSORMODULE},FileOnly)
+ 	${MAKE} -C NetAccessors/$(NETACCESSORMODULE) $@
Index: patches/patch-ae
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xerces-c/patches/patch-ae,v
retrieving revision 1.2
diff -u -r1.2 patch-ae
--- patches/patch-ae	2003/06/23 07:52:41	1.2
+++ patches/patch-ae	2003/12/23 18:27:56
@@ -1,14 +0,0 @@
-$NetBSD: patch-ae,v 1.2 2003/06/23 07:52:41 jlam Exp $
-
---- util/Compilers/Makefile.in.orig	Fri Jun 20 05:37:23 2003
-+++ util/Compilers/Makefile.in
-@@ -135,6 +135,9 @@ ifeq (${CXX},c++)
-     ifeq (${PLATFORM},MACOSX)
-         CPP_OBJECTS = GCCDefs.$(TO)
-     endif
-+    ifeq (${PLATFORM},NETBSD)
-+        CPP_OBJECTS = GCCDefs.$(TO)
-+    endif
- endif
- ifeq (${CXX},cc)
-     ifeq (${PLATFORM},MACOSX)
Index: patches/patch-af
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xerces-c/patches/patch-af,v
retrieving revision 1.2
diff -u -r1.2 patch-af
--- patches/patch-af	2003/06/23 07:52:42	1.2
+++ patches/patch-af	2003/12/23 18:27:56
@@ -1,14 +0,0 @@
-$NetBSD: patch-af,v 1.2 2003/06/23 07:52:42 jlam Exp $
-
---- util/Platforms/Makefile.in.orig	Thu Mar  7 14:45:28 2002
-+++ util/Platforms/Makefile.in
-@@ -176,6 +176,9 @@ endif
- ifeq (${PLATFORM}, MACOSX)
-     SUBMODULE = MacOS
- endif
-+ifeq (${PLATFORM}, NETBSD)
-+    SUBMODULE = NetBSD
-+endif
- 
- includes::
- 	${MAKE} -C $(SUBMODULE) $@
Index: patches/patch-ag
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xerces-c/patches/patch-ag,v
retrieving revision 1.2
diff -u -r1.2 patch-ag
--- patches/patch-ag	2003/06/23 07:52:42	1.2
+++ patches/patch-ag	2003/12/23 18:27:56
@@ -1,49 +0,0 @@
-$NetBSD: patch-ag,v 1.2 2003/06/23 07:52:42 jlam Exp $
-
---- util/Transcoders/ICU/ICUTransService.cpp.orig	Thu Mar  7 14:45:34 2002
-+++ util/Transcoders/ICU/ICUTransService.cpp
-@@ -69,7 +69,7 @@
- #include "ICUTransService.hpp"
- #include <string.h>
- #include <unicode/uloc.h>
--#include <unicode/unicode.h>
-+#include <unicode/uchar.h>
- #include <unicode/ucnv.h>
- #include <unicode/ucnv_err.h>
- #include <unicode/ustring.h>
-@@ -188,7 +188,7 @@ int ICUTransService::compareIString(cons
-         //  larger than 0xFFFF, so our cast here will work for both possible
-         //  sizes of XMLCh.
-         //
--        if (Unicode::toUpperCase(UChar(*psz1)) != Unicode::toUpperCase(UChar(*psz2)))
-+        if (u_toupper(UChar(*psz1)) != u_toupper(UChar(*psz2)))
-             return int(*psz1) - int(*psz2);
- 
-         // If either has ended, then they both ended, so equal
-@@ -219,7 +219,7 @@ int ICUTransService::compareNIString(con
-         //  larger than 0xFFFF, so our cast here will work for both possible
-         //  sizes of XMLCh.
-         //
--        if (Unicode::toUpperCase(UChar(*psz1)) != Unicode::toUpperCase(UChar(*psz2)))
-+        if (u_toupper(UChar(*psz1)) != u_toupper(UChar(*psz2)))
-             return int(*psz1) - int(*psz2);
- 
-         // If either ended, then both ended, so equal
-@@ -263,7 +263,7 @@ bool ICUTransService::isSpace(const XMLC
-     {
-         return true;
-     }
--    return (Unicode::isSpaceChar(UChar(toCheck)) != 0);
-+    return (u_isspace(UChar(toCheck)) != 0);
- }
- 
- 
-@@ -296,7 +296,7 @@ void ICUTransService::upperCase(XMLCh* c
-     XMLCh* outPtr = toUpperCase;
-     while (*outPtr)
-     {
--        *outPtr = XMLCh(Unicode::toUpperCase(UChar(*outPtr)));
-+        *outPtr = XMLCh(u_toupper(UChar(*outPtr)));
-         outPtr++;
-     }
- }
Index: patches/patch-ah
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xerces-c/patches/patch-ah,v
retrieving revision 1.2
diff -u -r1.2 patch-ah
--- patches/patch-ah	2003/06/23 07:52:42	1.2
+++ patches/patch-ah	2003/12/23 18:27:56
@@ -1,15 +0,0 @@
-$NetBSD: patch-ah,v 1.2 2003/06/23 07:52:42 jlam Exp $
-
---- util/XercesDefs.hpp.orig	Thu Mar  7 14:45:34 2002
-+++ util/XercesDefs.hpp
-@@ -270,6 +270,10 @@ const unsigned int   gXercesRevision   =
- #include	<xercesc/util/Platforms/Tru64/Tru64Defs.hpp>
- #endif
- 
-+#if defined(XML_NETBSD)
-+#include    <xercesc/util/Platforms/NetBSD/NetBSDDefs.hpp>
-+#endif
-+
- 
- // ---------------------------------------------------------------------------
- //  And now we subinclude a header according to the development environment
Index: patches/patch-ai
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xerces-c/patches/patch-ai,v
retrieving revision 1.2
diff -u -r1.2 patch-ai
--- patches/patch-ai	2003/06/23 07:52:42	1.2
+++ patches/patch-ai	2003/12/23 18:27:56
@@ -1,22 +0,0 @@
-$NetBSD: patch-ai,v 1.2 2003/06/23 07:52:42 jlam Exp $
-
---- util/regx/XMLUniCharacter.cpp.orig	Thu Mar  7 14:45:32 2002
-+++ util/regx/XMLUniCharacter.cpp
-@@ -74,7 +74,7 @@
- #include <xercesc/util/regx/XMLUniCharacter.hpp>
- 
- #if defined (XML_USE_ICU_TRANSCODER)
--   #include <unicode/unicode.h>
-+   #include <unicode/uchar.h>
- #else
-    #include <xercesc/util/regx/UniCharTable.hpp>
- #endif
-@@ -85,7 +85,7 @@
- unsigned short XMLUniCharacter::getType(const XMLCh ch) {
- 
- #if defined (XML_USE_ICU_TRANSCODER)
--	return (unsigned short) Unicode::getType(ch);
-+	return (unsigned short) u_charType(ch);
- #else
- 	return (unsigned short) fgUniCharsTable[ch];
- #endif
>Release-Note:
>Audit-Trail:
>Unformatted: