Migration

Migration Archive

For migration information to &XercesCName; 2.6.0 or earlier, please refer to Migration Archive.

Migrating from &XercesCName; 2.6.0 to &XercesCName; &XercesCVersion;

The following section is a discussion of the technical differences between &XercesCName; 2.6.0 code base and the &XercesCName; &XercesCVersion;.

Topics discussed are:

- New features in &XercesCName; &XercesCVersion;
- Public API Changes

- New Public API
- Modified Public API
- Deprecated/Removed Public API

New features in &XercesCName; &XercesCVersion;

- Feature to not generate XML Schema annotations. That is, not to add them to the grammar. If you don't need annotations you may want to turn on this feature to avoid memory bloat for XML Schemas that use annotations heavily.
- Option to skip regenerating the XML Schema annotations when deserializing a grammar. If you don't need annotations you may want to turn on this option to avoid memory bloat for XML Schemas that use annotations heavily.
- Feature to not perform default entity resolution. When the entityResolver returns NULL, the parser doesn’t try to resolve the entity externally.
- Feature to do schema-only validation even if there is a DTD.

Public API Changes

The following lists the public API changes between the &XercesCName; 2.6.0; and the &XercesCName; &XercesCVersion; releases of the parser.

New Public API

- XMLString: subString, compareIStringASCII, lowercaseASCII, uppercaseASCII
- RefHash2KeysTableOf: rehashing support
- XMemory: placement new and delete
- SAX2XMLFilter

Modified Public API

Deprecated/Removed Public API