The database format has changed due to the large number of new features and new storage and indexing options in in 2.0. These changes are incompatible with DB XML 1.2.1 databases. Consequently applications will need to manually dump any existing DB XML 1.2.1 databases and load them into a new DB XML 2.0 database or reload them from the source XML documents.
Support for XPath 2.0, including new data types.
Support for XQuery 1.0.
Support for additional index types.
Improved large document support.
Significant API improvement and extension to support new functions. Introduction of factory methods to create objects.
Support for fine grained document storage.
Naming and cross-container operation support.
Enhanced Metadata support.
Support for document loading. Documents can now be loaded from input streams (including local files and URLs) or raw memory locations.
Enhanced document update functionality.
Support for DOM-like navigation methods on XmlValue.
New classes for XmlInputStream
,
XmlData
,
XmlManager
,
XmlStatistics
,
XmlMetaDataIterator
and
XmlTransaction
.
Fix a bug where XmlContainer::getDocument()
was not passing in user supplied flags. [#9607]
Fix a bug where a Container::Close() did not reset ID members, so a re-create failed to write them to a new container. Fix a bug where open() and versionCheck() would attempt to write even when the flags specified DB_READONLY. [#9608]
Fix a bug where duplicate index keys were not sorted, causing poor performance for deleteDocument(). [#9737]
Fix a bug where adding an index to a container which contains documents in a CDS configured environment would cause the thread to self-deadlock. [#9925]
Fix a bug where documents weren't being returned for queries on the presence of metadata when the metadata was indexed. [#10487]
Fix a double-free bug in Node Storage for certain size/shaped documents. [#11641]
New classes for XmlInputStream
,
XmlData
,
XmlManager
,
XmlStatistics
,
XmlMetaDataIterator
and
XmlTransaction
.
Extensive changes to XmlModify
.
Add Environment
and
Transaction
objects.
Add
XmlManagerConfig
,
XmlContainerConfig
and
XmlDocumentConfig
objects.
Add a third party supported PHP API to the distribution, including enhanced support for Apache integration.
Add dbxml_shell utility to allow direct interaction with DB XML containers, indices and documents.
Add dbxml_load_container utility to facilitate initial loading of documents into a container.