Category: XMLDB

March 19

I was triggered by a presentation of Dominic Delmolino during Hotsos 2008. He demonstrated a cool way of applying DDL database change management while making use of the Oracle database audit functionality. I combined the idea with Laurent Schneiders “out of the XML box thinking“, like for instance, his alternative use of the XMLTABLE syntax creating a pivot table. So why not do it the same way, solving “relational” problems, via XML functionality.

As said, the idea came up during Dominic Delmolino Hotsos presentation. Since Oracle 11g, the XMLDB functionality has a build in function called XMLDIFF. In Oracle 10 only a Java and C API exists, but probably could be used in the same way as described here. The XMLDIFF function compares two XML documents and captures the differences in XML conforming to an Xdiff schema. The diff document is returned as an XMLType document. Playing with Dominico’s idea, I thought, why not try to use the DBMS_METADATA.GET_XML function, transform this to an XMLType and then process it via XMLDIFF, and see if this can be useful for database change management purposes. So I tried.

So here it goes.

An example script can be downloaded here

March 18

In the year that XML celebrates his 10th anniversary, Oracle announces to make the XQuilla XQuery engine available under the open source Apache 2.0 license. Via official sources, the following was stated:

  • Oracle is making the XQuilla XQuery engine available under the open source Apache 2.0 license – furthering the adoption of XQuery and XML for application areas including Service-Oriented Architecture (SOA) and Enterprise Content Management.
  • The XQilla XQuery engine, an implementation of the XQuery 1.0 standard published by the W3C, enables developers to query XML data, similar to SQL for relational data.
  • The XQilla project is hosted on SourceForge, where an active community collaborates to further the technology.

XQilla ProjectOracle is one of the contributors, developers, of the XQilla source base. Although XQilla has its source foundation in Pathan, XQilla has been developed and improved considerably from the Pathan code base. The XQuilla Engine 2.0 (and higher) will be available under the Apache license; XQuilla 1.1 is still under SleepyCat license.

What is XQilla? As stated here:

XQilla is an XQuery and XPath 2.0 implementation written in C++ and based on Xerces-C. It implements the DOM 3 XPath API, as well as having it’s own more powerful API. It conforms to the both the XQuery and Path 2.0 W3C recommendations.