Pre-existing C APIs were available through the oraxml
package. It had the following characteristics:
Specification is limited to a one-to-one mapping between the xml context (xmlctx
) and an xml document. Only one document can be accessed by DOM at any one time, however the data of multiple documents can be concurrent.
The APIs are not always consistent, and don't always follow the declarations of the xmlctx
.
In contrast, the new unified C APIs solve these problems:
Multiple independent documents share the xmlctx
.
All APIs conform to the declarations of the xmlctx
.
Each document can be accessed simultaneously by DOM until explicitly destroyed by an XmlDestroy()
call.