http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Xerces Project

Overview
Charter
Release Info
Download

Xerces-C++ 3.1.1
Installation
Build Instructions

Programming
Samples
FAQs

API Reference
DOM C++ Binding
Migration Guide

Xerces-C++ 2.8.0
Installation
Build Instructions

Programming
Samples
FAQs

API Reference
DOM C++ Binding
Migration Guide

Feedback
Bug-Reporting
Mailing Lists

Source Repository
Applications

Migration Archive
 

For migration information to Xerces-C++ 2.7.0 or earlier, please refer to Migration Archive.


Migrating from Xerces-C++ 2.7.0 to Xerces-C++ 2.8.0
 

The following section is a discussion of the technical differences between Xerces-C++ 2.7.0 code base and the Xerces-C++ 2.8.0.

Topics discussed are:

New features in Xerces-C++ 2.8.0
 
  • Exponential growth of memory block (from 16KB to 128KB) that are allocated by the DOM heap.
  • The NODE_CLONED notification is now sent to each node's user data handler when cloning the entire DOMDocument.
  • On Windows extract the registry code page from MIME\Database\Charset\<encoding>\@InternetEncoding instead of MIME\Database\Charset\<encoding>\@Codepage.
  • Allow whitespace-only nodes to be added as children of a DOMDocument.
  • When a node is cloned or imported the type information (PSVI) is also copied.
  • When using SAX2, including XMLReaderFactory to use createXMLReader doesn't include xercesc/parsers/SAX2XMLReaderImpl.hpp anymore. If you need to cast the SAX2XMLReader to SAX2XMLReaderImpl, you need to include this header yourself.

Public API Changes
 

The following lists the public API changes between the Xerces-C++ 2.7.0; and the Xerces-C++ 2.8.0 releases of the parser.

New Public API
 
  • XMLBufferMgr: getBufferCount and getAvailableBufferCount

Modified Public API
 

Deprecated/Removed Public API
 




Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.