Xerces-C++ Documentation
Copyright 1999-2005 The Apache Software Foundation. All Rights Reserved.
Table of Contents
1. Xerces C++ Parser 7
Xerces-C++ Version 2.7.0 7
Applications of the Xerces Parser 7
Features 7
Platforms with Binaries 8
Other ports... 8
License Information 8
2. Xerces C++ Parser 9
Xerces Project Charter 9
1 INTRODUCTION 9
2 MISSION 9
3 HISTORY 9
4 TERMS 10
5 THE PROJECT MANAGEMENT COMMITTEE 10
6 SUBPROJECTS 11
7 CONTRIBUTORS 11
8 COMMITTERS 12
9 INFRASTRUCTURE 12
10 LICENSING 13
11 THE DEVELOPMENT PROCESS 13
12 SUBPROJECT REQUIREMENTS 13
13 RELATIONSHIP TO OTHER APACHE PROJECTS 13
3. Releases 14
Releases Plan 14
Releases Archive 14
Release Information of Xerces-C++ 2.7.0 14
4. Releases Archive 20
Release Information of earlier releases 20
Release Information of Xerces-C++ 2.6.0 20
Release Information of Xerces-C++ 2.5.0 26
Release Information of Xerces-C++ 2.4.0 Dec. 2, 2003 33
Release Information of Xerces-C++ 2.3.0: May 23, 2003 43
Release Information of Xerces-C++ 2.2.0: February 7, 2003 46
Release Information of Xerces-C++ 2.1.0: August 26, 2002 55
Release Information of Xerces-C++ 2.0.0: July 23, 2002 58
Release Information of Xerces-C++ 1.7.0: March 8, 2002 63
Release Information of Xerces-C++ 1.6.0: December 6, 2001 67
Release Information of Xerces-C++ 1.5.2: October 26, 2001 71
Release Information of Xerces-C++ 1.5.1: July 18, 2001 75
Release Information of Xerces-C++ 1.5.0: June 15, 2001 77
Release Information of Xerces-C++ 1.4.0: January 31, 2001 81
Release Information of Xerces-C++ 1.3.0: Sept 21, 2000 84
Release Information of Xerces-C++ 1.2.0: June 22, 2000 88
Release Information of Xerces-C++ 1.1.0: Feb 28, 2000 91
Xerces-C++ Documentation
Release Information of Xerces-C++ 1.0.1: December 15, 1999 92
Release Information of Xerces-C++ 1.0.0: December 7, 1999 93
Release Information of Xerces-C++ BETA: November 5, 1999 93
5. Installation 94
Windows NT/2000 94
UNIX 94
Cygwin 96
6. Build Instructions 97
Building on Windows and UNIX 97
Building on Other Platforms 97
Other Build Instructions 97
7. Building on Windows and UNIX 98
Building Xerces-C++ on Windows using Microsoft Visual C++ 98
Building Xerces-C++ 64 bit binary on Windows XP using Intel C++ Compiler 99
Building Xerces-C++ on Windows using Borland C++Builder 99
Building Xerces-C++ on Windows using Borland C++ Compiler 99
Building Xerces-C++ on Windows using Cygwin 100
Building Xerces-C++ on UNIX platforms 100
Building Xerces-C++ as a single-threaded library on Unix platforms 106
8. Building on Other Platforms 107
Building Xerces-C++ on iSeries (AS/400) 107
Building Xerces-C++ on Macintosh 112
9. Other Build Instructions 115
Building Xerces-C++ with ICU 115
Building Xerces-C++ using RPM on Linux 117
Building Xerces-C++ COM Wrapper on Windows 117
Building User Documentation 118
I wish to port Xerces to my favourite platform. Do you have any suggestions? 118
What should I define XMLCh to be? 118
Where can I look for more help? 119
10. FAQs 120
Building / Running FAQs 120
Programming/Parsing FAQs 124
Other Xerces-C++ Questions 134
11. Xerces-C++ Samples 137
Introduction 137
Building the Samples 137
Running the Samples 137
12. Sample: SAXCount 139
SAXCount 139
13. Sample: SAXPrint 141
SAXPrint 141
14. Sample: DOMCount 144
Xerces-C++ Documentation
DOMCount 144
15. Sample: DOMPrint 146
DOMPrint 146
16. Sample: MemParse 149
MemParse 149
17. Sample: Redirect 151
Redirect 151
18. Sample: PParse 152
PParse 152
19. Sample: StdInParse 154
StdInParse 154
20. Sample: EnumVal 156
EnumVal 156
21. Sample: CreateDOMDocument 158
CreateDOMDocument 158
22. Sample: SAX2Count 159
SAX2Count 159
23. Sample: SAX2Print 161
SAX2Print 161
24. Sample: SEnumVal 164
SEnumVal 164
25. Sample: PSVIWriter 167
PSVIWriter 167
26. Sample: SCMPrint 169
SCMPrint 169
27. API Documentation 172
API Docs for Xerces-C++ 172
28. Programming Guide 173
DOM Programming Guide 173
SAX Programming Guide 174
SAX2 Programming Guide 174
Other Features 174
29. SAX1 Programming Guide 176
Using the SAX API 176
SAXParser 177
30. SAX2 Programming Guide 186
Using the SAX2 API 186
SAX2XMLReader 187
31. DOM Programming Guide 197
Design Objectives 197
DOM Level 3 Support in Xerces-C++ 197
Xerces-C++ Documentation
Using DOM API 197
XercesDOMParser 201
DOMBuilder 210
DOMWriter 223
Deprecated - Java-like DOM 229
32. DOM Level 3 Support 230
Disclaimer 230
Introduction 230
Implementation of DOM Level 3 Core 230
Implementation of DOM Level 3 Load and Save 230
Implementation of DOM Level 3 Abstract Schemas 231
33. Deprecated - Java-like DOM 232
Deprecated - Java-like DOM 232
Using this set of deprecated API 232
DOMParser 235
34. Schema 243
Introduction 243
Limitations 243
Interpretation of Areas that are Unclear or Implementation-Dependent 243
Usage 244
Associating Schema Grammar with instance document 244
35. Programming Guide 247
Version Macro 247
Schema Support 247
Progressive Parsing 247
Preparsing Grammar and Grammar Caching 248
Loadable Message Text 250
Pluggable Transcoders 250
Porting Guidelines 251
Using C++ Namespace 252
Specify Locale for Message Loader 254
Specify Location for Message Loader 255
Pluggable Panic Handler 255
Pluggable Memory Manager 256
Managing Security Vulnerabilities 257
Use Specific Scanner 258
36. Migration 260
Migration Archive 260
Migrating from Xerces-C++ 2.6.0 to Xerces-C++ 2.7.0 260
37. Migration Archive 261
Migrating to earlier Releases 261
Migrating from Xerces-C++ 2.5.0 to Xerces-C++ 2.6.0 261
Migrating from Xerces-C++ 2.4.0 to Xerces-C++ 2.5.0 263
Migrating from Xerces-C++ 2.3.0 to Xerces-C++ 2.4.0 263
Migrating from Xerces-C++ 2.2.0 to Xerces-C++ 2.3.0 264
Xerces-C++ Documentation